GnuPG 2.0 compilation fails with "undefined reference to gpg_err_code_from_syserror"

Ralph Seichter gnupg-ml at seichter.de
Tue Nov 28 17:09:01 CET 2006


Hi list,

I'm having trouble compiling the "agent" component of GnuPG 2.0 on a
Gentoo-based machine. I could not find anything about the error message
(please see attachment) in the FAQ or by searching the Net, so I hope
that the members of this mailing list are able to help.

If you need any information about the machine on which I am trying to
build GnuPG 2.0, please let me know. As a preparation, I have built and
installed libgpg-error 1.4, libassuan 1.0.1 and libksba 1.0.0, but
perhaps there is still something missing?

Your help is appreciated.

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

-------------- next part --------------
Making all in agent
make[2]: Entering directory `gnupg-2.0.0/agent'
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.0/agent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `gnupg-2.0.0'
make: *** [all] Error 2



More information about the Gnupg-users mailing list