Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 1996 12:26:55 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        fyeung@netific.com (francis yeung)
Cc:        questions@FreeBSD.ORG
Subject:   Re: bsd-current: make world error
Message-ID:  <199608071026.MAA13140@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199608061750.RAA22822@fyeung5.netific.com> from francis yeung at "Aug 6, 96 05:50:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Greetings,
> 
> 	The latest version of FreeBSD-current gives 
> 
> 
> 	cc -O -c libmain.c -o libmain.o
> 	ld: invalid command option `-O'
> 	*** Error code 1
> 
> 	Stop.
> 	*** Error code 1
> 
> 	Stop.
> 	*** Error code 1
> 
> 	Stop.
> 	*** Error code 1
> 
> 	Stop.
> 
> 	during make world. Why ?
> 
> 	In addition, I have to do 
> 
> 	make -DNOCLEANDIR world 
> 
> 		because of cleandir error.
> 
> 
> 	Why ?

Try make -i cleandir once. From then on it should work as it should.
Some other gotchas were:

make bootstrap     first.
cd /usr/src
make mk
cd /usr/src/usr.bin/make ; make depend all install 
rebuild ld first

> 
> 	Thank you for your help.
> 
> 	Francis
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608071026.MAA13140>