On Thu, Aug 04, 2005 at 11:42:22AM -0700, Pascal Hofstee wrote:
> I have tried a buildworld for 7.0-CURRENT/amd64 for two days straight
> now .. and it keeps bailing out with the following error.
>
> It looks like somehow "MACHINE=i386 MACHINE_ARCH=i386" are not getting
> properly set during the building of these lib32 bits. Can somebody
> please confirm this breakage ... as i haven't seen the tinderboxes
> complain yet. (I have no NO_* settings or TARGET_ARCH specifications in
> my make.conf).
>
>
> ===> kerberos5/lib/libasn1 (depend,all,install)
> building shared library libasn1.so.8
> /usr/obj/usr/src/tmp/usr/bin/ld: warning: i386 architecture of input
> file `asn1_err.So' is incompatible with i386:x86-64 output
> asn1_err.So(.text+0x33): In function `initialize_asn1_error_table_r':
> /usr/obj/lib32/usr/src/kerberos5/lib/libasn1/asn1_err.c:26: undefined
> reference to `initialize_error_table_r'
> asn1_err.So(.text+0x6c): In function `initialize_asn1_error_table':
> /usr/obj/lib32/usr/src/kerberos5/lib/libasn1/asn1_err.c:31: undefined
> reference to `init_error_table'
> *** Error code 1
>
> Stop in /usr/src/kerberos5/lib/libasn1.
> *** Error code 1
>
Works for me, with latest sources. Do you by chance have MACHINE_ARCH
set somewhere, e.g. in /etc/make.conf?
Cheers,
--
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFC8/XjqRfpzJluFF4RApwvAJ0dnYPx1yHQLuQPsh/xux3WEzFV+wCdFT+t
7lUKzl1l5iRV9neUklynpm4=
=rJX6
-----END PGP SIGNATURE-----