Subject: Re: Can't make build on /usr/src
To: John Klos <john@sixgirls.org>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: port-amiga
Date: 08/14/2000 22:17:30
On Mon, Aug 14, 2000 at 02:05:59PM -0400, John Klos wrote:
> > On Thu, Aug 10, 2000 at 03:56:14AM -0400, John Klos wrote:
> > > all ===> sbin/mount_ados
> > > cc -O2 -m68060 -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes 
> > > -Wpointer-arith -Werror   -I/usr/src/sbin/mount_ados/../../sys 
> > > -I/usr/src/sbin/mount_ados/../mount -c mount_ados.c
> > > cc1: warnings being treated as errors
> > > mount_ados.c: In function `main':
> > > mount_ados.c:79: warning: implicit declaration of function `getopt'
> > 
> > I did a 1.4.3_ALPHA build recently... it should just work.
> > 
> > Maybe you are using sources of different versions?
> 
> I got all of the sets in
> ftp://ftp.NetBSD.ORG/pub/NetBSD/NetBSD-1.4.2/source/sets/
> 
> I untarred them, went to /usr/src, did a make build, and that error came
> up.
> 
> After I changed the Makefile to not compile all of the mount commands, I
> got this error:
> 
> all ===> usr.sbin/ipf/ipf
> cc -O2 -m68060 -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Werror   -I/usr/src/usr.sbin/ipf/ipf/../../../sys
> -I/usr/src/usr.sbin/ipf/ipf/../../../sys/netinet -c
> /usr/src/usr.sbin/ipf/ipf/../../../dist/ipf/ipf.c
> cc1: warnings being treated as errors
> /usr/src/usr.sbin/ipf/ipf/../../../dist/ipf/ipf.c: In function `main':
> /usr/src/usr.sbin/ipf/ipf/../../../dist/ipf/ipf.c:94: warning: implicit
> declaration of function `getopt'
> 
> So I modified the Makefile to skip that; then it went all the way through.

still shouldn't happen. I mean, if it wouldn't work, I wouldn't have been
able to build the 1.4.2 binary sets.

You obviously did install the 1.4.2 binary sets for "comp", right?

Regards,
	-is