can't compile lsh 1.5.3

[email protected]
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
Hi,

I've tried to upgrade from lsh 1.5.2 to 1.5.3, but I can't compile the 
new version. 1.5.2 compiles fine.

Here's the output from make (after a plain ./configure):

gcc  -O2 -march=i386 -mcpu=i686 -fPIC -Wall -W   -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith 
-Wbad-function-cast -Wnested-externs -L..  -o rsa-test  rsa-test.o 
testutils.o -lnettle ../libnettle.a -lgmp
if gcc -DHAVE_CONFIG_H -I. 
-I/usr/local/src/lsh-1.5.3/src/nettle/testsuite -I..  
-I/usr/local/src/lsh-1.5.3/src/nettle   -O2 -march=i386 -mcpu=i686 -fPIC 
-Wall -W   -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast 
-Wnested-externs -MT rsa-encrypt-test.o -MD -MP -MF 
".deps/rsa-encrypt-test.Tpo" \
  -c -o rsa-encrypt-test.o `test -f 'rsa-encrypt-test.c' || echo 
'/usr/local/src/lsh-1.5.3/src/nettle/testsuite/'`rsa-encrypt-test.c; \
then mv ".deps/rsa-encrypt-test.Tpo" ".deps/rsa-encrypt-test.Po"; \
else rm -f ".deps/rsa-encrypt-test.Tpo"; exit 1; \
fi
rsa-encrypt-test.c: In function `test_main':
rsa-encrypt-test.c:41: warning: implicit declaration of function 
`gmp_fprintf'
gcc  -O2 -march=i386 -mcpu=i686 -fPIC -Wall -W   -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith 
-Wbad-function-cast -Wnested-externs -L..  -o rsa-encrypt-test  
rsa-encrypt-test.o testutils.o -lnettle ../libnettle.a -lgmp
rsa-encrypt-test.o: In function `test_main':
rsa-encrypt-test.o(.text+0x121): undefined reference to `gmp_fprintf'
collect2: ld returned 1 exit status
make[6]: *** [rsa-encrypt-test] Error 1
make[6]: Leaving directory `/usr/local/src/lsh-1.5.3/src/nettle/testsuite'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/local/src/lsh-1.5.3/src/nettle'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/lsh-1.5.3/src/nettle'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/lsh-1.5.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/lsh-1.5.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/lsh-1.5.3'
make: *** [all] Error 2


Tried 1.4.3, too - doesn't work either:

if gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/lsh-1.4.3/src/argp -I.   
-D_GNU_SOURCE -I/usr/local/src/lsh-1.4.3/src/argp  -O2 -march=i386 
-mcpu=i686 -fPIC -ggdb3 -Wall -W  -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Waggregate-return  
-Wpointer-arith -Wbad-function-cast -Wnested-externs -MT 
argp-fmtstream.o -MD -MP -MF ".deps/argp-fmtstream.Tpo" \
  -c -o argp-fmtstream.o `test -f 'argp-fmtstream.c' || echo 
'/usr/local/src/lsh-1.4.3/src/argp/'`argp-fmtstream.c; \
then mv ".deps/argp-fmtstream.Tpo" ".deps/argp-fmtstream.Po"; \
else rm -f ".deps/argp-fmtstream.Tpo"; exit 1; \
fi
argp-fmtstream.c: In function `argp_fmtstream_free':
argp-fmtstream.c:97: warning: signed and unsigned type in conditional 
expression
argp-fmtstream.c: In function `_argp_fmtstream_update':
argp-fmtstream.c:271: warning: signed and unsigned type in conditional 
expression
argp-fmtstream.c: In function `_argp_fmtstream_ensure':
argp-fmtstream.c:326: warning: signed and unsigned type in conditional 
expression
if gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/lsh-1.4.3/src/argp -I.   
-D_GNU_SOURCE -I/usr/local/src/lsh-1.4.3/src/argp  -O2 -march=i386 
-mcpu=i686 -fPIC -ggdb3 -Wall -W  -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Waggregate-return  
-Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-help.o -MD 
-MP -MF ".deps/argp-help.Tpo" \
  -c -o argp-help.o `test -f 'argp-help.c' || echo 
'/usr/local/src/lsh-1.4.3/src/argp/'`argp-help.c; \
then mv ".deps/argp-help.Tpo" ".deps/argp-help.Po"; \
else rm -f ".deps/argp-help.Tpo"; exit 1; \
fi
argp-help.c:199: warning: missing initializer
argp-help.c:199: warning: (near initialization for 
`uparam_names[9].is_bool')
if gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/lsh-1.4.3/src/argp -I.   
-D_GNU_SOURCE -I/usr/local/src/lsh-1.4.3/src/argp  -O2 -march=i386 
-mcpu=i686 -fPIC -ggdb3 -Wall -W  -Wmissing-prototypes 
-Wmissing-declarations -Wstrict-prototypes  -Waggregate-return  
-Wpointer-arith -Wbad-function-cast -Wnested-externs -MT argp-parse.o 
-MD -MP -MF ".deps/argp-parse.Tpo" \
  -c -o argp-parse.o `test -f 'argp-parse.c' || echo 
'/usr/local/src/lsh-1.4.3/src/argp/'`argp-parse.c; \
then mv ".deps/argp-parse.Tpo" ".deps/argp-parse.Po"; \
else rm -f ".deps/argp-parse.Tpo"; exit 1; \
fi
argp-parse.c:96: warning: missing initializer
argp-parse.c:96: warning: (near initialization for 
`argp_default_options[1].group')
argp-parse.c:97: warning: missing initializer
argp-parse.c:97: warning: (near initialization for 
`argp_default_options[2].group')
argp-parse.c:99: warning: missing initializer
argp-parse.c:99: warning: (near initialization for 
`argp_default_options[3].group')
argp-parse.c:100: warning: missing initializer
argp-parse.c:100: warning: (near initialization for 
`argp_default_options[4].arg')
argp-parse.c:160: warning: missing initializer
argp-parse.c:160: warning: (near initialization for 
`argp_version_options[1].arg')
argp-parse.c: In function `_option_is_short':
argp-parse.c:1294: Internal compiler error in 
add_abstract_origin_attribute, at dwarf2out.c:7985
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[3]: *** [argp-parse.o] Error 1
make[3]: Leaving directory `/usr/local/src/lsh-1.4.3/src/argp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/lsh-1.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/lsh-1.4.3'
make: *** [all] Error 2


Any ideas what's going wrong here?

Thanks
Jochen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.