On Mon, Nov 10, 2008 at 7:47 AM, Lukas Oboril <oboril.lukas at gmail.com> wrote: > Ben, > > thank you for detailer spec files, it will be useful. The problem in gnutls > is here... > > pkgbuild: /opt/SUNWspro/bin/cc -Xc -xc99=%all -errshort=full -errfmt=error > -errwarn=%none -s -xcsi -xustr=ascii_utf16_ushort -features=extinl > -xalias_level=std -mt -xF=%none -xbuiltin=%all -xinline=%auto > -xprefetch=auto -xprefetch_auto_type=indirect_array_access > -xprefetch_level=3 -xthreadvar=%all -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 > -KPIC -xrestrict=%all -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 > -xcache=8/64/4:256/128/8 -D_REENTRANT -D_THREAD_SAFE -I/opt/foss/include > -m32 -s -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib -R/usr/lib -z combreloc > -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec > -xldscope=symbolic -xlibmil -s -lc -lm -ldl -lpthread -lposix4 -lrt -mt > -L/usr/sfw/lib -R/usr/sfw/lib -L/opt/foss/lib -R/opt/foss/lib -lgcrypt -lz > -G -z defs -z now -h libgnutls-extra.so.13 -o > .libs/libgnutls-extra.so.13.0.10 .libs/gnutls_extra.o > .libs/gnutls_openpgp.o .libs/gnutls_ia.o -z allextract > openpgp/.libs/libgnutls_openpgp.a ../gl/.libs/libgnu.a -z defaultextract > -R/opt/foss/lib -R/usr/lib -R/usr/sfw/lib -L/opt/foss/lib -L/usr/lib > -L/usr/sfw/lib -lopencdk -llzo2 > -L/var/tmp/pkgbuild-bent/FOSSgnutls-1.4.5-build/opt/foss/lib -lgnutls -lc > -lm -ldl -lpthread -lposix4 -lrt -lgcrypt -lz -lgpg-error -lnsl -lsocket > -lc -xc99=%all -s -xcsi -xustr=ascii_utf16_ushort -features=extinl > -xalias_level=std -mt -xF=%none -xbuiltin=%all -xinline=%auto > -xprefetch=auto -xprefetch_auto_type=indirect_array_access > -xprefetch_level=3 -xthreadvar=%all -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 > -xrestrict=%all -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 > -xcache=8/64/4:256/128/8 -m32 -s -z combreloc -z redlocsym -z nodefaultlib > -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -mt > pkgbuild: Undefined first referenced > pkgbuild: symbol in file > pkgbuild: _E_gnutls_openpgp_raw_privkey_to_gkey .libs/gnutls_extra.o > pkgbuild: _E_gnutls_openpgp_privkey_deinit .libs/gnutls_extra.o > pkgbuild: _E_gnutls_openpgp_privkey_to_gkey .libs/gnutls_extra.o > pkgbuild: _E_gnutls_openpgp_get_raw_key_expiration_time .libs/gnutls_extra.o > pkgbuild: _E_gnutls_openpgp_key_deinit .libs/gnutls_extra.o > pkgbuild: _gnutls_strfile_free .libs/gnutls_openpgp.o > pkgbuild: _gnutls_hostname_compare > openpgp/.libs/libgnutls_openpgp.a(pgp.o) > pkgbuild: _gnutls_gkey_deinit > openpgp/.libs/libgnutls_openpgp.a(privkey.o) > pkgbuild: _E_gnutls_openpgp_get_raw_key_creation_time .libs/gnutls_extra.o > pkgbuild: _E_gnutls_openpgp_raw_key_to_gcert .libs/gnutls_extra.o > pkgbuild: _E_gnutls_openpgp_key_to_gcert .libs/gnutls_extra.o > pkgbuild: ld: fatal: Symbol referencing errors. No output written to > .libs/libgnutls-extra.so.13.0.10 > pkgbuild: libtool: install: error: relink `libgnutls-extra.la' with the > above command before installing it
Yes, I see this too. as well as the relink for libgnutls-openssl.so > We have to find why these symbols are missing ... I don;t think this related > to some specific flags settings. I think it has to be. The 64-bit section builds correctly. and the code builds cleanly from Dude on both 32-bit and 64-bit hosts. It's only the 32-bit subsection of the 64-bit host, or 32-bit hosts that don't build from hg. It's only really ugly on a 32-bit system because in addition to the libraries and tools not building, the locale and man pages don't get built either. I'm trying to build on the 32-bit host with the old flags.inc to see if that fixes anything. I checked the source trees and they're the same. Ditto for Solaris/ Ben
