From: SungHyun Nam <hidden> Date: 2016-06-15 22:44:59
Hello,
If NO_SETENV is defined, git-shell cannot be built.
Simply adding the 'compat/setenv.o' to the make rule fixes the problem.
Regards,
[master] ~/srcs/git[30]$ LANG= make
LINK git-shell
Undefined first referenced
symbol in file
gitsetenv exec_cmd.o
ld: fatal: Symbol referencing errors. No output written to git-shell
collect2: ld returned 1 exit status
make: *** [git-shell] Error 1
From: Stephan Beyer <hidden> Date: 2016-06-15 22:44:59
If NO_SETENV is defined, git-shell could not be built.
Thanks to SungHyun Nam for the hint.
Signed-off-by: Stephan Beyer <redacted>
---
This was my mistake. I haven't tested with several build options.
Now I've tested with
NO_SETENV=1 NO_EXPAT=1 NO_MEMMEM=1 NO_STRTOUMAX=1 NO_MKDTEMP=1
NO_SYS_SELECT_H=1 NO_SYMLINK_HEAD=1
and compat/setenv.o seems to be the only one that was missing.
Regards.
Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
From: Johannes Schindelin <hidden> Date: 2016-06-15 22:44:59
Hi,
On Mon, 21 Jul 2008, Stephan Beyer wrote:
If NO_SETENV is defined, git-shell could not be built.
Thanks to SungHyun Nam for the hint.
Signed-off-by: Stephan Beyer <redacted>
---
This was my mistake. I haven't tested with several build options.
Now I've tested with
NO_SETENV=1 NO_EXPAT=1 NO_MEMMEM=1 NO_STRTOUMAX=1 NO_MKDTEMP=1
NO_SYS_SELECT_H=1 NO_SYMLINK_HEAD=1
and compat/setenv.o seems to be the only one that was missing.
Funny. It was not 24 hours ago that Hannes reported a related issue. And
he was testing with different options.
His fix to include COMPAT_OBJECTS made much more sense, too, than to pick
selectively a file here and a file there and then hoping that you catch
all.
Ciao,
Dscho
From: Stephan Beyer <hidden> Date: 2016-06-15 22:44:59
Johannes Schindelin wrote:
Funny. It was not 24 hours ago that Hannes reported a related issue. And
he was testing with different options.
Oh, seems that I have missed that topic. Gna :)
But fine if everything is working again then.
Regards.
--
Stephan Beyer [off-list ref], PGP 0x6EDDD207FCC5040F