Subject: Current Kernel build fails on IPX
To: None <port-sparc@netbsd.org>
From: Peter Yoo <pyoo@mipos2.intel.com>
List: port-sparc
Date: 06/16/1999 17:48:17
Hello,

I recently install 1.4 on my IPX box and build new kernel with RAID support.  
The src tar files that I used from ftp, compiled fine with no errors.  Now, 
I've been trying to use current on this machine and I'm having some 
problems....

I've been supping sources for last 5 days and new kernel build fails with the 
same error message.  I try to search mail-index web page but no luck.

Maybe I need to do something else before I actually make new kernel.  
1.4-generic kernel builds fine on the system - like I mentioned above.

Can anyone please tell me what I need to do to build current kernel?

And this would be my next question, but after I successfully build current 
kernel, is there special order I need to compile the source in order to make 
the user-land to be current?

Thank you.

	Peter.

orange# make
cc -x assembler-with-cpp -traditional-cpp -D_LOCORE -I. -I../../../../arch 
-I../../../.. -nostdinc -DSUN4C -DSUN4M -DRASTERCONSOLE 
-DRASTERCONSOLE_FGCOL="WSCOL_BLACK" -DRASTERCONSOLE_BGCOL="WSCOL_WHITE" -DLKM 
-DNS -DMAXUSERS=64 -D_KERNEL -c ../../../../arch/sparc/sparc/locore.s
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  
-Wpointer-arith -Wno-main -mno-fpu -I. -I../../../../arch -I../../../.. 
-nostdinc -DSUN4C -DSUN4M -DRASTERCONSOLE -DRASTERCONSOLE_FGCOL="WSCOL_BLACK" 
-DRASTERCONSOLE_BGCOL="WSCOL_WHITE" -DLKM -DNS -DMAXUSERS=64 -D_KERNEL  -c 
param.c
cc1: warnings being treated as errors
In file included from param.c:48:
../../../../sys/systm.h:196: warning: conflicting types for built-in function 
`memcmp'
../../../../sys/systm.h:197: warning: conflicting types for built-in function 
`memcpy'
../../../../sys/systm.h:199: warning: conflicting types for built-in function 
`memset'
*** Error code 1

Stop.