From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 23:15:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B95E1065670 for ; Wed, 15 Sep 2010 23:15:56 +0000 (UTC) (envelope-from rbyrnes@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id ACF428FC08 for ; Wed, 15 Sep 2010 23:15:55 +0000 (UTC) Received: by bwz15 with SMTP id 15so1340002bwz.13 for ; Wed, 15 Sep 2010 16:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=1QN1HwYRwDeFizNwjnFurguEswkbkz/kEkGADjZ2tbE=; b=HKPmwGXLshYJaCN51JDdxNl/YFf6Fy4TLMFG9Zz7CLOgoEnEIsf6G0KQl44mAF2ftc CsKOC1uV50oUdslNeZok8oQVaCw9itT6CVy4ONWe3sEBe5QqRkoETsPwlpyRE/NsI/Yd JaB5qrjxB3UYqnX87cg0WvT0T+B3Ybz0O97QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=CHgNk5XvU1va0L7vcYnIWUlI4YdHywzCl4BYJbgXV5WGBhBjtgRiDjpTLwRmSER4LI sKNQVPeFcPHkO9Nz1gFz/laRXICJ+Tjf0YYpIcOvpyZa38KF3PlU8Fb6yod83gVKmcPm lz4aXh2gh5KJcV/YZSaBivsnbo0GvyjtN/1r4= Received: by 10.239.132.71 with SMTP id 7mr75969hbq.182.1284592554197; Wed, 15 Sep 2010 16:15:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.181.68 with HTTP; Wed, 15 Sep 2010 16:15:34 -0700 (PDT) In-Reply-To: <4C907918.7090609@gmail.com> References: <4C907918.7090609@gmail.com> From: Rob Byrnes Date: Thu, 16 Sep 2010 09:15:34 +1000 Message-ID: To: Gholam Mostafa Faridi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org Subject: Re: virtaullBox AMD64 32bit lib X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 23:15:56 -0000 On 15 September 2010 17:43, Gholam Mostafa Faridi wrote: > I want install virtualBox on AMD 64 and I use FreeBSD 8.1 and I have SRC > directory , but when I run make install clean I see this error > " Requires 32-bit libraries installed under /usr/lib32. > Do: cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32 " > and I run this command > "cd /usr/src; make build32 install32; ldconfig -v -m -R /usr/lib32" > =A0and after minutes I see this error > > "=3D=3D=3D> gnu/lib/csu (obj,depend,all,install) > sh /usr/src/tools/install.sh -o root -g wheel -m 444 =A0crtbegin.o > /usr/obj/usr/src/lib32/usr/lib32/crtbegin.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 =A0crtend.o > /usr/obj/usr/src/lib32/usr/lib32/crtend.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 =A0crtbeginT.o > /usr/obj/usr/src/lib32/usr/lib32/crtbeginT.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 =A0crtbegin.So > /usr/obj/usr/src/lib32/usr/lib32/crtbeginS.o > sh /usr/src/tools/install.sh -o root -g wheel -m 444 =A0crtend.So > /usr/obj/usr/src/lib32/usr/lib32/crtendS.o > =3D=3D=3D> lib/csu/i386-elf (obj,depend,all,install) > ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32 =A0-o gcrt1.o -= r > crt1_s.o gcrt1_c.o > ld: Relocatable linking with relocations from format elf64-x86-64 > (gcrt1_c.o) to format elf32-i386-freebsd (gcrt1.o) is not supported > *** Error code 1 > > Stop in /usr/src/lib/csu/i386-elf. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ldconfig: warning: /usr/lib32: No such file or directory " > > I make post about this error in =A0freebsdforums but they can not help me > please see link > > http://forums.freebsd.org/showthread.php?t=3D17607 > > they said problem is ccache and I disable and remove ccache =A0,but still= I > have that probelm > please help me I had a similar problem, and removing the contents of /usr/obj and then rebuilding world (cvsup'ed as of 15/09) with make -DNO_CCACHE seemed to work. This was on a real AMD64 machine too. Rob