GnuPG 2.0 compilation fails with "undefined reference to gpg_err_code_from_syserror"

Ralph Seichter gnupg-ml at seichter.de
Tue Nov 28 22:11:58 CET 2006


Werner Koch wrote:

> Please try 2.0.1 which I released this evening.

I tried, but unfortunately version 2.0.1 won't compile either.

-- 
Mit freundlichen Grüßen / Sincerely
Dipl. Inform. Ralph Seichter

-------------- next part --------------
gcc -I/usr/local/libgpg-error-1.4/include -g -O2 -Wall -Wno-pointer-sign -o gpg-agent gpg_agent-gpg-agent.o gpg_agent-command.o gpg_agent-command-ssh.o gpg_agent-call-pinentry.o gpg_agent-cache.o gpg_agent-trans.o gpg_agent-findkey.o gpg_agent-pksign.o gpg_agent-pkdecrypt.o gpg_agent-genkey.o gpg_agent-protect.o gpg_agent-trustlist.o gpg_agent-divert-scd.o gpg_agent-call-scd.o gpg_agent-learncard.o ../jnlib/libjnlib.a ../common/libcommonpth.a ../gl/libgnu.a -lgcrypt -lgpg-error -L/usr/local/libassuan-1.0.1/lib -lassuan-pth -L/usr/lib -lpth -lnsl -L/usr/local/libgpg-error-1.4/lib -lgpg-error -ldl
gpg_agent-command.o: In function `gpg_error_from_syserror':
/usr/local/libgpg-error-1.4/include/gpg-error.h:640: undefined reference to `gpg_err_code_from_syserror'
/usr/local/libgpg-error-1.4/include/gpg-error.h:640: undefined reference to `gpg_err_code_from_syserror'
/usr/local/libgpg-error-1.4/include/gpg-error.h:640: undefined reference to `gpg_err_code_from_syserror'
gpg_agent-command.o: In function `write_and_clear_outbuf':
/usr/local/libgpg-error-1.4/include/gpg-error.h:640: undefined reference to `gpg_err_code_from_syserror'
gpg_agent-command.o: In function `gpg_error_from_syserror':
/usr/local/libgpg-error-1.4/include/gpg-error.h:640: undefined reference to `gpg_err_code_from_syserror'
gpg_agent-command.o:/usr/local/libgpg-error-1.4/include/gpg-error.h:640: more undefined references to `gpg_err_code_from_syserror' follow
collect2: ld returned 1 exit status
make[2]: *** [gpg-agent] Error 1
make[2]: Leaving directory `gnupg-2.0.1/agent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `gnupg-2.0.1'
make: *** [all] Error 2



More information about the Gnupg-users mailing list