Subject: -current kernel sources do not build with DEBUG
To: None <port-mac68k@NetBSD.ORG>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 05/20/1998 21:44:26
cc  -O2 -pipe -m68040 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DFPSP -DFPU_EMULATE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DLKM -DBUFPAGES="0x3e8" -DKTRACE -DDDB -DDDB_HISTORY_SIZE="0x32" -DDIAGNOSTIC -DDEBUG -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_13 -DNFSSERVER -DFIFO -DINET -DNETATALK -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k  -c ../../../../arch/mac68k/mac68k/pmap.c
../../../../arch/mac68k/mac68k/pmap.c: In function `pmap_enter_ptpage':
../../../../arch/mac68k/mac68k/pmap.c:2460: `PG_PTPAGE' undeclared (first use this function)
../../../../arch/mac68k/mac68k/pmap.c:2460: (Each undeclared identifier is reported only once
../../../../arch/mac68k/mac68k/pmap.c:2460: for each function it appears in.)
*** Error code 1

Stop.

(I sent-pr'ed that one a few days ago.)

... and ...


cc  -O2 -pipe -m68040 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DFPSP -DFPU_EMULATE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DSHMMAXPGS="0x400" -DLKM -DBUFPAGES="0x3e8" -DKTRACE -DDDB -DDDB_HISTORY_SIZE="0x32" -DDIAGNOSTIC -DDEBUG -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_13 -DNFSSERVER -DFIFO -DINET -DNETATALK -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k  -c ../../../../arch/mac68k/mac68k/trap.c
cc1: warnings being treated as errors
../../../../arch/mac68k/mac68k/trap.c: In function `trap':
../../../../arch/mac68k/mac68k/trap.c:313: warning: implicit declaration of function `cngetc'
*** Error code 1

Stop.


[hauke@q700] /<1>arch/mac68k > grep cngetc `find . -name "*.[ch]" -print `
./mac68k/machdep.c:             (void)cngetc();
./mac68k/trap.c:                        printf("(press a key)\n"); (void)cngetc();
./dev/ite.c:itecngetc(dev_t dev)
./dev/itevar.h:int      itecngetc __P((dev_t dev));
./dev/zs.c:zscngetc(dev)


	hauke

-- 
"If the designers of X built cars, there would be no fewer than five 
steering wheels hidden about the cockpit, none of which follow the same 
principles - but you'd be able to shift gears with your car stereo.  
Useful feature, that."    (js@cs.vu.nl in de.talk.sex)