Subject: Can't make build on /usr/src
To: None <port-amiga@netbsd.org>
From: John Klos <john@klos.com>
List: port-amiga
Date: 08/10/2000 03:56:14
Hello,
I've tried to do a make build on the root level of /usr/src; it runs
for an hour or so, then I get:
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'
mount_ados.c:82: `optarg' undeclared (first use in this function)
mount_ados.c:82: (Each undeclared identifier is reported only once
mount_ados.c:82: for each function it appears in.)
mount_ados.c:103: `optind' undeclared (first use in this function)
mount_ados.c:110: warning: implicit declaration of function `getcwd'
mount_ados.c: In function `a_mask':
mount_ados.c:193: `optarg' undeclared (first use in this function)
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
My mk.conf is:
LOCALBASE=/usr/local
USE_RSAREF2=YES
USA_RESIDENT=YES
M68060=YES
COPTS+=-O2
CFLAGS+=-m68060
I've started building my second 68060 server, so I'm using 1.4.2 and
I wanted to make everything '060 optimised. Anyone know why I'm
getting stuck? Is this something I can skip, since I don't need to
use AmigaDOS partitions? How would I skip it if I wanted to?
Thanks,
John Klos