[24346] in Kerberos
Re: Problems building 1.4.1 on HP-UX 10.20 with gcc-3.4.3
daemon@ATHENA.MIT.EDU (Albert Chin)
Tue Jul 26 22:45:12 2005
Date: Tue, 26 Jul 2005 21:43:28 -0500
From: Albert Chin <kerberos@mlists.thewrittenword.com>
To: kerberos@mit.edu
Message-ID: <20050727024327.GA92023@mail1.thewrittenword.com>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="1yeeQ81UyVL57Vl7"
Content-Disposition: inline
In-Reply-To: <20050726215947.GF65587@mail1.thewrittenword.com>
Reply-To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@thewrittenword.com)
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Description: patch
Content-Disposition: attachment; filename="a.rNq9Ys"
--- 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)
--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos
--1yeeQ81UyVL57Vl7--