Re: GnuPG 2.0 compilation fails with undefined reference to gpg_err_code_from_syserror

2006-11-29 Thread Werner Koch
On Tue, 28 Nov 2006 22:11, [EMAIL PROTECTED] said: ../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 -L/usr/lib -lpth -lnsl

Re: GnuPG 2.0 compilation fails with undefined reference to gpg_err_code_from_syserror

2006-11-29 Thread Ralph Seichter
Werner Koch wrote: I can mitigate the problem by changing the order. However, these kinds of problems are not completly solvable. Well, even though it is not a perfect solution, it might be a good idea to check the user-supplied library directories before /usr/lib. As a quick hack, I suggest

Re: GnuPG 2.0 compilation fails with undefined reference to gpg_err_code_from_syserror

2006-11-29 Thread Werner Koch
On Wed, 29 Nov 2006 15:10, [EMAIL PROTECTED] said: I'll attach a small patch for the configure script of GnuPG 2.0.1 which works for me. But only for you. As soon as --ldflags returns a non-standard directory it won't work. Shalom-Salam, Werner

GnuPG 2.0 compilation fails with undefined reference to gpg_err_code_from_syserror

2006-11-28 Thread Ralph Seichter
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

Re: GnuPG 2.0 compilation fails with undefined reference to gpg_err_code_from_syserror

2006-11-28 Thread Werner Koch
On Tue, 28 Nov 2006 17:09, [EMAIL PROTECTED] said: 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 try 2.0.1 which I released this evening. Salam-Shalom, Werner

Re: GnuPG 2.0 compilation fails with undefined reference to gpg_err_code_from_syserror

2006-11-28 Thread Ralph Seichter
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 gcc -I/usr/local/libgpg-error-1.4/include -g -O2 -Wall -Wno-pointer-sign -o gpg-agent