Subject: Problem compiling
To: None <current-users@NetBSD.ORG>
From: Brad Salai <bsalai@law.roc.servtech.com>
List: current-users
Date: 01/24/1998 18:25:44
Trying to build a new kernel from newly supped sources gives:

cc -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -mno-fpu -I/usr/src/sys/lib/libkern/arch/sparc -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DSUN4C -DRASTERCONSOLE -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_13 -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DNFSSERVER -DQUOTA -DFIFO -DINET -DGATEWAY -DPFIL_HOOKS -DNETATALK -DMAXUSERS=16 -D_KERNEL  -c -DSTRCHR /usr/src/sys/lib/libkern/index.c /usr/src/sys/lib/libkern/strchr.c ../../../../../../lib/libkern/libkern.h ../../../../../../sys/types.h ../.././machine/types.h ../../../../../../sys/cdefs.h ../.././machine/cdefs.h ../.././machine/ansi.h ../.././machine/endian.h -o strchr.o
/usr/src/sys/lib/libkern/strchr.c:47: warning: `STRCHR' redefined
*Initialization*:1: warning: this is the location of the previous definition
cc: Compilation of header file requested
cc: Compilation of header file requested
cc: Compilation of header file requested
cc: Compilation of header file requested
cc: Compilation of header file requested
cc: Compilation of header file requested
cc: Compilation of header file requested
*** Error code 1

Stop.
*** Error code 1

Stop.

Any ideas?

Brad