gpgme compile problem (ld too old?)

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Wed Jun 2 03:29:12 CEST 2004


At Tue, 01 Jun 2004 16:43:02 +0200,
Bernhard Herzog wrote:
> I have a problem compiling the current CVS version of gpgme:
> 
> gcc -shared  .libs/ath-compat.o .libs/ath-pth-compat.o .libs/ath-pthread-compat.o .libs/funopen.o -Wl,--whole-archive ./.libs/libgpgme-real.a ../assuan/.libs/libassuan.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/local/aegypten/lib -Wl,--rpath -Wl,/usr/local/aegypten/lib -L/usr/local/aegypten/lib /usr/local/aegypten/lib/libgpg-error.so  -Wl,--version-script=./libgpgme.vers -Wl,-soname -Wl,libgpgme.so.11 -o .libs/libgpgme.so.11.2.2
> /usr/bin/ld:./libgpgme.vers:128: ignoring invalid character `/' in script
> /usr/bin/ld:./libgpgme.vers:128: parse error in VERSION script
> collect2: ld returned 1 exit status
> 
> 
> AFAICT, the problem is the c-style comment in gpgme/libgpgme.vers.  Is
> my ld version too old:
> 
> $ /usr/bin/ld --version
> GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux

It looks quite old to me, but if you can confirm that it works ok if
you remove the /* */ comment, then I will remove it from CVS, as it is
not really needed.

Thanks,
Marcus





More information about the Gnupg-devel mailing list