Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 12:48:44 +0300
From:      "Sergey A. Osokin" <osa@freebsd.org.ru>
To:        Julien Bournelle <Julien.Bournelle@int-evry.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: 5.0-DP2 sparc64 buildworld problem
Message-ID:  <20030109094844.GA91034@freebsd.org.ru>
In-Reply-To: <20030109075517.GP14264@ipv6-5.int-evry.fr>
References:  <20030109075517.GP14264@ipv6-5.int-evry.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030109094844.GA91034>