Kompilieren von GnuPG 2.0.5 schlägt fehl

Alexander Dahl post at lespocky.de
So Jul 8 10:02:09 CEST 2007


Hallo zusammen,

ich betreue für Eisfair [1] die GnuPG-Pakete. Bisher hatte ich nie
Probleme mit dem Kompilieren. Die Releases der letzten Tage von libksba,
libassuan und pinentry ließen sich wie gewohnt übersetzen und sind
ebenso wie alle anderen benötigten Bibliotheken in aktueller Version
installiert: libgcrypt 1.2.4, libgpg-error 1.5, libbz2 1.0.3, pth 2.0.7,
libksba 1.0.2, libcurl 7.14.0, libssl 0.9.8e, libcares 1.2.1, libldap
2.2.29 und libsasl 2.1.22.

Kompilieren von gnupg 2.0.5 scheitert. ./configure benutze ich so:

  ./configure     --prefix=/usr \
                  --sysconfdir=/etc \
                  --localstatedir=/var/lib \
                  --libdir=/usr/lib \
                  --libexecdir=/usr/local/gnupg2 \
                  --build=i386-pc-linux-gnu

`make` zeigt dann folgendes:

gcc    -g -O2 -Wall -Wpointer-arith   -o gpg2 gpg.o server.o
build-packet.o compress.o compress-bz2.o free-packet.o getkey.o keydb.o
keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o textfilter.o
progress.o misc.o openfile.o keyid.o parse-packet.o status.o plaintext.o
sig-check.o keylist.o pkglue.o pkclist.o skclist.o pubkey-enc.o
passphrase.o seckey-cert.o encr-data.o cipher.o encode.o sign.o verify.o
revoke.o decrypt.o keyedit.o dearmor.o import.o export.o trustdb.o
tdbdump.o tdbio.o delkey.o keygen.o helptext.o keyserver.o photoid.o
call-agent.o card-util.o exec.o ../common/libcommon.a
../jnlib/libjnlib.a ../gl/libgnu.a  ../common/libgpgrl.a -lz -lbz2
-lresolv      -lgcrypt -lgpg-error -lassuan -lgpg-error
gpg.o(.text+0x1b3a): In function `main':
/home/alex/src/gnupg-2.0.5/g10/gpg.c:1944: undefined reference to
`assuan_set_malloc_hooks'
gpg.o(.text+0x1b46):/home/alex/src/gnupg-2.0.5/g10/gpg.c:1945: undefined
reference to `assuan_set_assuan_err_source'
server.o(.text+0xdc): In function `reset_notify':
/home/alex/src/gnupg-2.0.5/g10/server.c:103: undefined reference to
`assuan_get_pointer'
server.o(.text+0xe9):/home/alex/src/gnupg-2.0.5/g10/server.c:106:
undefined reference to `assuan_close_input_fd'
server.o(.text+0x1fe): In function `cmd_verify':
/home/alex/src/gnupg-2.0.5/g10/server.c:231: undefined reference to
`assuan_get_pointer'

[snipped]

../common/libcommon.a(libcommon_a-asshelp.o)(.text+0x47f): In function
`start_new_gpg_agent':
/home/alex/src/gnupg-2.0.5/common/asshelp.c:205: undefined reference to
`assuan_socket_connect'
../common/libcommon.a(libcommon_a-asshelp.o)(.text+0x558):/home/alex/src/gnupg-2.0.5/common/asshelp.c:278:
undefined reference to `assuan_pipe_connect'
../common/libcommon.a(libcommon_a-asshelp.o)(.text+0x596):/home/alex/src/gnupg-2.0.5/common/asshelp.c:331:
undefined reference to `assuan_transact'
../common/libcommon.a(libcommon_a-asshelp.o)(.text+0x5da):/home/alex/src/gnupg-2.0.5/common/asshelp.c:339:
undefined reference to `assuan_disconnect'
../common/libcommon.a(libcommon_a-asshelp.o)(.text+0x62e):/home/alex/src/gnupg-2.0.5/common/asshelp.c:312:
undefined reference to `assuan_socket_connect'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [gpg2] Fehler 1
make[2]: Leaving directory `/home/alex/src/gnupg-2.0.5/g10'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/alex/src/gnupg-2.0.5'
make: *** [all] Fehler 2


Ich kann diese Fehler leider nicht soweit deuten, dass ich das Problem
lösen und gnupg 2.0.5 kompilieren kann. Compiler ist gcc 3.4.5, glibc
noch 2.2, wenn weitere Infos benötigt werden, such ich die gern raus.

Gruß
Alex

-- 
***** http://www.lespocky.de *******************************************
"Der Mensch, der bereit ist, seine Freiheit aufzugeben um Sicherheit zu
gewinnen, wird beides verlieren."                  /Benjamin Franklin/

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigröße  : 250 bytes
Beschreibung: OpenPGP digital signature
URL         : /pipermail/attachments/20070708/f809a1ce/attachment.pgp