Problems building 1.4.1 on HP-UX 10.20 with gcc-3.4.3
Albert Chin
kerberos at mlists.thewrittenword.com
Tue Jul 26 22:43:28 EDT 2005
On Tue, Jul 26, 2005 at 04:59:47PM -0500, Albert Chin wrote:
> $ ./configure CC=gcc CFLAGS="-O2 -march=1.1" --enable-shared \
> --enable-static --without-tcl --localstatedir=/var/opt/TWWfsw/krb5141 \
> --sysconfdir=/etc/opt/TWWfsw/krb5141 --disable-thread-support \
> --prefix=/opt/TWWfsw/krb5141
> ...
> gmake[3]: Entering directory `/opt/build/krb5-1.4.1/src/lib/rpc/unit-test'
> gcc -L../../../lib -Wl,+s -Wl,+b,/opt/TWWfsw/krb5141/lib -O2
> -march=1.1 -o client client.o rpc_test_clnt.o \
> -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support
> /usr/ccs/bin/ld: Unsatisfied symbols:
> _GLOBAL__FI_libkrb5_3_2 (code)
> _GLOBAL__FD_libcom_err_3_0 (code)
> _GLOBAL__FD_libk5crypto_3_0 (code)
> _GLOBAL__FI_libgssrpc_4_0 (code)
> _GLOBAL__FI_libk5crypto_3_0 (code)
> _GLOBAL__FD_libgssrpc_4_0 (code)
> _GLOBAL__FD_libkrb5support_0_0 (code)
> _GLOBAL__FD_libgssapi_krb5_2_2 (code)
> _GLOBAL__FD_libkrb5_3_2 (code)
> _GLOBAL__FI_libkrb5support_0_0 (code)
> _GLOBAL__FI_libgssapi_krb5_2_2 (code)
> _GLOBAL__FI_libcom_err_3_0 (code)
> collect2: ld returned 1 exit status
> gmake[3]: *** [client] Error 1
> gmake[3]: Leaving directory
> `/opt/build/krb5-1.4.1/src/lib/rpc/unit-test'
The attached patch gets it to build (haven't tested).
--
albert chin (china at thewrittenword.com)
-------------- next part --------------
--- src/config/lib.in.orig Tue Jul 26 17:58:55 2005
+++ src/config/lib.in Tue Jul 26 18:17:27 2005
@@ -82,6 +82,8 @@
else :; fi; \
done; echo "$$a" >> hpux10.tmp
echo "+e errno" >> hpux10.tmp
+ echo "+e _GLOBAL__FD_lib$(LIBBASE)_$(LIBMAJOR)_$(LIBMINOR)" >> hpux10.tmp
+ echo "+e _GLOBAL__FI_lib$(LIBBASE)_$(LIBMAJOR)_$(LIBMINOR)" >> hpux10.tmp
mv -f hpux10.tmp hpux10.exports
lib$(LIBBASE)$(PFLIBEXT): $(PFOBJLISTS)
More information about the Kerberos
mailing list