From owner-freebsd-questions Tue Sep 25 9:18:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gridley.ACNS.Carleton.edu (Gridley.ACNS.Carleton.edu [137.22.96.1]) by hub.freebsd.org (Postfix) with ESMTP id E168C37B53A for ; Tue, 25 Sep 2001 09:15:39 -0700 (PDT) Received: by gridley.ACNS.Carleton.edu (Postfix, from userid 1075) id 581FE5A15; Tue, 25 Sep 2001 10:42:35 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by gridley.ACNS.Carleton.edu (Postfix) with ESMTP id 45B061686A for ; Tue, 25 Sep 2001 10:42:35 -0500 (CDT) Date: Tue, 25 Sep 2001 10:42:35 -0500 (CDT) From: Ben Luey To: freebsd-questions@FreeBSD.ORG Subject: can't buildworld to 3.5 (strlcpy) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a freebsd box running freebsd 3.2. I ran cvsup to get release 4.3 and tried to run a buildworld on it, but got the error message: main.o: In function `main': main.o(.text+0x12a): undefined reference to `strlcpy' main.o(.text+0x234): undefined reference to `strlcpy' main.o(.text+0x249): undefined reference to `strlcat' mkoptions.o: In function `tooption': mkoptions.o(.text+0x540): undefined reference to `strlcpy' mkoptions.o(.text+0x573): undefined reference to `strlcpy' mkoptions.o(.text+0x59e): undefined reference to `strlcpy' *** Error code 1 I read about problems upgrading for old 3.x to 4.x, so I ran cvsup to get the 3.5 release of freebsd. Tried make buildworld and I get the same problem: main.o: In function `main': main.o(.text+0x5e): undefined reference to `strlcpy' main.o(.text+0x130): undefined reference to `strlcpy' main.o(.text+0x145): undefined reference to `strlcat' mkoptions.o: In function `tooption': mkoptions.o(.text+0x540): undefined reference to `strlcpy' mkoptions.o(.text+0x573): undefined reference to `strlcpy' mkoptions.o(.text+0x59e): undefined reference to `strlcpy' I'm not sure, but I think the strlcpy is part of the libc or the program cc package, so I tred to just compile that. cd /src/gnu/usr.bin/cc make compiles stuff for a while then I get make: don't know how to make cpp0.1. Stop *** Error code 2 I get the same program when I try to compile anything that I got from cvsup : don't know how to make xxx.1 Stop I'm pretty lost now, Thanks for your help, Ben lueyb@gridley.acns.carleton.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message