Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18049 - compilation problems with libgcrypt
Summary: compilation problems with libgcrypt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-23 13:28 UTC by Akif Dinc
Modified: 2003-07-24 11:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akif Dinc 2003-03-23 13:28:58 UTC
During emerging libgcrypt (version 1.1.12) I had trouble compiling it. It ended up with 
failure: 
 
/usr/i686-pc-linux-gnu/bin/ld:./libgcrypt.vers:23: parse error in VERSION script 
collect2: ld returned 1 exit status 
make[2]: *** [libgcrypt.la] Error 1 
 
I need to say, that this is not a gentoo problem. I've tested 1.1.10 and 1.1.11 from the 
hosted site. The problem occurs from the linker script "libgcrypt.vers" 
I found out that the following change in ./libgcrypt-1.1.12/src/libgcrypt.vers fixes the 
problem. 
 
---- CUT --- 
 # WARNING: _gcry_generate_elg_prime is only a temporary solution for 
 # GNUTLS and should not be used by any otehr program.  A new interface 
 # for prime generation will be available RSN (wk 2003-01-02) 
-{ 
+VERSION { 
   global: gcry*; _gcry_generate_elg_prime; 
   local: *; 
 }; 
--- CUT --- 
 
conditions: 
gcc --version: 2.95.3 
glibc version: 2.2.5-r7 
 
dependend trouble: 
newpg wants libgcrypt 
kmail and gnupg plugin needs libgcrypt 
 
todo: 
maybe there is a kind maintainer who could make additional changes to the ebuildscript. 
 
akif
Comment 1 J Robert Ray 2003-05-10 22:40:28 UTC
Does this error only pop up when using gcc 2.95?
Comment 2 Akif Dinc 2003-05-11 04:10:52 UTC
I used to have gcc 2.95 when this error occured. Meanwhile I updated my system to 
gcc 3.2 and libgcryp does compile errorless. 
 
Comment 3 J Robert Ray 2003-06-26 00:13:11 UTC
Reassigning bugs due to lack of time.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-07-24 11:45:07 UTC
works here fine on my gentoo-1.2 system