BuildWorld Compile Errors

Kent Stewart kstewart at owt.com
Mon Aug 9 18:41:24 PDT 2004


On Monday 09 August 2004 06:29 pm, Ryan wrote:
> Well for what its worth thanks..lol
>
> I didnt know it was cause of make.conf
>
> It was a empty file with just use port perl stuff.
> I've take the example make file and customized it.
> If it dont work i atlest know what the cause is.
>
> ----- Original Message -----
> From: "Kent Stewart" <kstewart at owt.com>
> To: <freebsd-stable at freebsd.org>
> Cc: "Ryan" <bw2003 at shaw.ca>
> Sent: Monday, August 09, 2004 9:25 PM
> Subject: Re: BuildWorld Compile Errors
>
> > On Monday 09 August 2004 05:26 pm, Ryan wrote:
> > > ===> gnu/usr.bin/binutils
> > > ===> gnu/usr.bin/binutils/libiberty
> > > cc -O -pipe -march=pentiumpro -D_GNU_SOURCE -I.
> > > -I/usr/src/gnu/usr.bin/binutils/libiberty
> > > -I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
> > > -I/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/bin
> > >util s/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
> > > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror 
> > > -c
> > > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binut
> > >ils/ libiberty/argv.c -o argv.o cc -O -pipe -march=pentiumpro
> > > -D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils/libiberty
> > > -I/usr/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
> > > -I/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/bin
> > >util s/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
> > > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror 
> > > -c
> > > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binut
> > >ils/ libiberty/choose-temp.c -o choose-temp.o cc1: warnings being
> > > treated as errors

The compiler didn't like the -Werror. That usually has been added 
into /etc/make.conf by the user.

Which OS version are you running?

Kent

Kent

> > > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binut
> > >ils/ libiberty/choose-temp.c: In function `choose_temp_base':
> > > /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binut
> > >ils/ libiberty/choose-temp.c:68: warning: implicit declaration of
> > > function `mktemp' *** Error code 1
> >
> > This is the kind of thing that happens when you tinker with the
> > flags in make.conf.
> >
> > Kent
> >
> > --
> > Kent Stewart
> > Richland, WA
> >
> > http://users.owt.com/kstewart/index.html

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


More information about the freebsd-stable mailing list