Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't make build on /usr/src



> 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.

John Klos




Home | Main Index | Thread Index | Old Index