From owner-freebsd-stable Sat Apr 6 3:17:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gw.chrisland.net (cm61-10-73-208.hkcable.com.hk [61.10.73.208]) by hub.freebsd.org (Postfix) with ESMTP id D035A37B416 for ; Sat, 6 Apr 2002 03:17:04 -0800 (PST) Received: from chrisland.net (super.int.chrisland.net [192.168.10.2]) by gw.chrisland.net (8.11.6/8.11.6) with ESMTP id g36BGuZ00443 for ; Sat, 6 Apr 2002 19:16:57 +0800 (HKT) (envelope-from chris@chrisland.net) Message-ID: <3CAED928.1807C784@chrisland.net> Date: Sat, 06 Apr 2002 19:16:56 +0800 From: chris Organization: Chrisland X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,zh-TW,zh,pdf MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: /usr/libexec/elf/ld: cannot find -lc while buildworld Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, Few days ago I tried buildworld/installworld. However my disk containg /usr/obj was corrupted and I had to bring it offline. Now when I create /usr/obj in another disk and want to buildworld again, the following error is encountered: ==== quote ==== -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 DESTDIR= INSTALL="sh /usr/src/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-tools cd /usr/src/games/fortune/strfile; make obj; make depend; make all; make DESTDIR=/usr/obj/usr/src/i386 install /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile rm -f .depend mkdep -f .depend -a /usr/src/games/fortune/strfile/strfile.c cd /usr/src/games/fortune/strfile; make _EXTRADEPEND echo strfile: /usr/lib/libc.a >> .depend cc -O -pipe -march=pentium -Wall -c /usr/src/games/fortune/strfile/strfile.c cc -O -pipe -march=pentium -Wall -static -o strfile strfile.o /usr/libexec/elf/ld: cannot find -lc *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error ==== end of quote ===== I guess the error occurs as a result of my previouis buildworld/installworld. I look at libc.so.4 and it is a "new" one: === quote === gw# ll /usr/lib/libc.so.4 -r--r--r-- 1 root wheel 585668 Apr 6 17:57 /usr/lib/libc.so.4 === end of quote === My last successful installworld was in 16/2. How can I solve this problem and update my system? Thanks a lot. Regards, Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message