Page MenuHome GnuPG

Building 2.0.10 on Solaris8 sparc and x86 fails
Closed, ResolvedPublic

Description

DEPDIR=.deps depmode=none /bin/bash ../scripts/depcomp \
/opt/studio/SOS11/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. -
I/opt/csw/include -I../gl -I../common -I../intl -DLOCALEDIR=\"/opt/csw/
share/locale\" -DGNUPG_BINDIR="\"/opt/csw/bin\"" -
DGNUPG_LIBEXECDIR="\"/opt/csw/libexec\"" -DGNUPG_LIBDIR="\"/opt/csw/
lib/gnupg\"" -DGNUPG_DATADIR="\"/opt/csw/share/gnupg\"" -
DGNUPG_SYSCONFDIR="\"/opt/csw/etc/gnupg\"" -I/opt/csw/include -I/
opt/csw/include -I/opt/csw/include -xO3 -xarch=v8 -I/opt/csw/include -
c -o gpg2keys_hkp-no-libgcrypt.o `test -f 'no-libgcrypt.c' || echo
'./'`no-libgcrypt.c
/opt/studio/SOS11/SUNWspro/bin/cc -I/opt/csw/include -I/opt/csw/
include -xO3 -xarch=v8 -I/opt/csw/include -xarch=v8 -L/opt/csw/lib -R/
opt/csw/lib/\\\$ISALIST -R/opt/csw/lib -lgpg-error -lrt -o
gpg2keys_hkp gpg2keys_hkp-gpgkeys_hkp.o gpg2keys_hkp-ksutil.o
gpg2keys_hkp-no-libgcrypt.o -L/opt/csw/lib -lcurl -L/opt/csw/lib -L/
opt/csw/lib -lidn -lssl -lcrypto -llber -lldap -lsocket -lnsl -lssl -
lcrypto -lsocket -lnsl -ldl -lz
Undefined first referenced
symbol in file
bug_at gpg2keys_hkp-no-libgcrypt.o
ld: fatal: Symbol referencing errors. No output written to gpg2keys_hkp
gmake[4]: *** [gpg2keys_hkp] Error 1

I have attached a patch for Makefile.in for pkg-base/keyserver and pkg-base/sm
that allows the compile and test to run successfully

Details

Version
2.0.10

Related Objects

Event Timeline

This has already been fixed on 2009-01-22 in the SVN for keyserver/.

I am not sure why you added $(NETLIBS) to sm/Makefile.in.

To further explain the problem:

  1. Note that we need to include all other libs here as well because
  2. some compilers don't care about inline functions and insert
  3. references to symbols used in unused inline functions.

2.0.11 released. No further response, thus closing.

werner claimed this task.
werner removed a project: Restricted Project.

Tetsing on Solaris showed the problem. Now fixed in SVN.