On Thu, Jan 09, 2003 at 08:55:17AM +0100, Julien Bournelle wrote: > Hi all, > > I try to compile a kernel for a sparc64 on my FreeBSD 4.5 box. > Then I cd to /usr/src and run: > > make TARGET_ARCH=sparc64 buildworld > > and I have the following error: > > " > ===> usr.bin/xargs > /usr/obj/sparc64/usr/src/i386/usr/src/usr.bin/xargs created for >/usr/src/usr.bin/xargs > rm -f .depend > mkdep -f .depend -a /usr/src/usr.bin/xargs/xargs.c >/usr/src/usr.bin/xargs/strnsubst.c > echo xargs: /usr/lib/libc.a >> .depend > cc -O -pipe -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes >-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow >-Wcast-align -Wno-uninitialized -c /usr/src/usr.bin/xargs/xargs.c > cc -O -pipe -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes >-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow >-Wcast-align -Wno-uninitialized -c /usr/src/usr.bin/xargs/strnsubst.c > cc -O -pipe -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes >-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow >-Wcast-align -Wno-uninitialized -static -o xargs xargs.o strnsubst.o > xargs.o: In function `prompt': > xargs.o(.text+0xd15): undefined reference to `nl_langinfo' > *** Error code 1 > > Stop in /usr/src/usr.bin/xargs. > *** Error code 1 > > but still have the same error. > I guess that it isn't specific to TARGET_ARCH option because I tried to run the >command > without it and I still have this error.
I think you must upgrade your box into 4.7-RELEASE (or RELENG_4_) at first, then one more time try build world for sparc64. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message