Re: can't compile lsh 1.5.3

[email protected]
Newsgroups gmane.network.lsh.bugs
Message-ID <[email protected]>
Niels Möller wrote:

>[email protected] writes:
>  
>
>>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
>>    
>>
>
>Oh, I'm not sure in which version of GMP the function gmp_printf was
>introduced. It's included in 4.1.2 which is what I'm running at the
>moment.
>  
>
My RedHat 7.1 has gmp-3.1.1-3 installed, seems it's not included in this 
version.

>I've checked in a patch to use the older mpz_out_str function instead,
>see below.
>  
>
Thanks, that solved the compile error of lsh-1.5.3 :)

>>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.
>>    
>>
>>Any ideas what's going wrong here?
>>    
>>
>
>As the message says, you have found a gcc bug. Please follow the
>bug-reporting instructions in the gcc manual or at the mentioned URL.
>  
>
Ok, will do so. Just for the records, lsh-1.4.2 doesn't build either. 
Same error occurs.

>You don't say which versions of gcc you are using, perhaps upgrading
>solves this problem.
>
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1)

I'm not too happy with the idea of upgrading gcc (I don't have physical 
access to the box, so I'm a bit cautious here). This is the latest 
version that's available from RedHat for this (pretty old) distribution.

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.