From owner-freebsd-hackers Thu Jan 9 1:48: 1 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81E4937B401 for ; Thu, 9 Jan 2003 01:47:59 -0800 (PST) Received: from freebsd.org.ru (sweet.etrust.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7624F43F1E for ; Thu, 9 Jan 2003 01:47:58 -0800 (PST) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 0EAFCB; Thu, 9 Jan 2003 12:48:45 +0300 (MSK) Date: Thu, 9 Jan 2003 12:48:44 +0300 From: "Sergey A. Osokin" To: Julien Bournelle Cc: freebsd-hackers@freebsd.org Subject: Re: 5.0-DP2 sparc64 buildworld problem Message-ID: <20030109094844.GA91034@freebsd.org.ru> References: <20030109075517.GP14264@ipv6-5.int-evry.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030109075517.GP14264@ipv6-5.int-evry.fr> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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