Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2001 10:42:35 -0500 (CDT)
From:      Ben Luey <lueyb@gridley.ACNS.Carleton.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   can't buildworld to 3.5 (strlcpy)
Message-ID:  <Pine.BSF.4.05.10109251033540.86842-100000@gridley.ACNS.Carleton.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10109251033540.86842-100000>