Subject: Re: build fails in gnu/libexec/uucp/cu
To: Marko Sch?tz <MarkoSchuetz@web.de>
From: Mipam <mipam@ibb.net>
List: netbsd-help
Date: 12/17/2002 14:56:38
On Tue, Dec 17, 2002 at 01:34:16PM +0100, Marko Sch?tz wrote:

[SNIP]

> In /etc/mk.conf I have
> 
> BSDOBJDIR=/usr/nbtmp/bsdobj
> TOOLDIR=/usr/nbtmp/tools
> BSDSRCDIR=/usr/src
> COPT+=-O9 -march=i686 -mcpu=i686
> CXXFLAGS+= -O3 -mcpu=i686 -march=i686
> CFLAGS+= -O3 -mcpu=i686 -march=i686

Some things are overlapping in here.
Remove CFLAGS and CXXFLAGS and use
COPTS+= ....... instead of COPT.
And be ware about using -O3 I've had exeriences where I'd
run into unstable adventures after a build with -O3.

> MAKECONF=/etc/mk.conf
> MKCATPAGES=yes
> MKCRYPTO=yes
> MKDOC=yes
> MKINFO=yes
> MKLINT=yes
> MKMAN=yes
> MKOBJ=yes
> MKPIC=yes
> MKPICINSTALL=yes
> MKPROFILE=yes
> MKSHARE=yes
> MKOBJDIRS=yes
> OBJMACHINE=yes

A lot of these options are the default.
Basically when you wish to do a build from scretch and the build
fails .... clean out the mk.conf or even remove it
and see what happens then. I've experienced
build failures because of malformed mk.conf's
and I prolly will see it again. :-)
See now my mk.conf's are as bare as possible, containing only
the things I really need.
Regards,

Mipam.