From owner-freebsd-current Fri Sep 14 8:15:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.mccons.net (adsl-65-64-105-41.dsl.kscymo.swbell.net [65.64.105.41]) by hub.freebsd.org (Postfix) with ESMTP id 5588537B40A for ; Fri, 14 Sep 2001 08:15:04 -0700 (PDT) Received: (from root@localhost) by fw.mccons.net (8.11.3/8.11.4) id f8EFF3Q94236 for freebsd-current@freebsd.org; Fri, 14 Sep 2001 10:15:03 -0500 (CDT) (envelope-from root@mccons.net) Received: from localhost (root@localhost) by fw.mccons.net (8.11.3/8.11.4av) with ESMTP id f8EFF1U94227 for ; Fri, 14 Sep 2001 10:15:01 -0500 (CDT) (envelope-from root@mccons.net) Date: Fri, 14 Sep 2001 10:15:00 -0500 (CDT) From: Wm Brian McCane To: Subject: Buildworld problems Message-ID: <20010914100423.M93244-100000@fw.mccons.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am having problems doing a buildworld. When I run it, I get the following error: cd /home/src/usr.bin/xinstall; make obj; make depend; make all; make install cc -O -pipe -I/usr/obj/home/src/i386/usr/include -static -o xinstall xinstall.o xinstall.o: In function `main': xinstall.o(.text+0x8f): undefined reference to `strtofflags' I checked in /usr/lib/libc.a and got: root@china (/usr/src)> nm /usr/lib/libc.a | grep strtofflags strtofflags.o: 00000088 T strtofflags So I know it exists. I did a 'ranlib /usr/lib/libc.a', and also did an 'ar s /usr/lib/libc.a', neither seemed to help. I did an upgrade from install floppies to the 20010909 snapshot from current.freebsd.org, and I still get the same error. I was able to rebuild my kernel successfully after I updated, so I know the compiler and linker are mostly working. I tried to rebuild some out of date utilites (zip-5.40 upgrade to zip-5.42), as another experiment and I get: cc -o zip -s zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o crctab.o deflate.o trees.o match.o crc_i386.o fileio.o: In function `tempname': fileio.o(.text+0xc8e): warning: mktemp() possibly used unsafely; consider using mkstemp() unix.o: In function `version_local': unix.o(.text+0x8a2): undefined reference to `__xuname' Once again I checked with 'nm' and I got: root@china (/usr/ports/archivers/zip)> nm /usr/lib/libc.a | grep __xuname U __xuname U __xuname __xuname.o: 00000000 T __xuname So it also exists. Then, out of boredom/desperation, I did: root@china (/tmp)> ar x /usr/lib/libc.a __xuname.o root@china (/tmp)> ar ruv /usr/lib/libc.a __xuname.o r - __xuname.o root@china (/tmp)> ranlib /usr/lib/libc.a And I still get the same results from the make in zip. Anybody else have another suggestion? - brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message