hi

after a rebuild of the gcc compiler with this instruction 
http://openbsd.org/faq/faq5.html#NewCompiler

a kernel build and a make build will be successful.

thanks to all for help.
holger
 
-----Urspr|ngliche Nachricht-----
Von: holger glaess <[EMAIL PROTECTED]>
Gesendet: 02.05.06 14:03:50
An: misc@openbsd.org
Betreff: build a kernel


hi

i did an cvsup from 38 to 3.9 then everthing was documented ( cd 
/usr/src/sys/arch/i386/conf ; config GENERIC ; cd ../compile/GENERIC ; make 
depend )
to make shure if i did somthing wrong i got the whole source by ftp (src.tar.gz 
and sys.tar.gz ) for 3.9

and get on both this error !
any clue for me ?

holger

# make depend
mkdir -p /usr/src/sys/arch/i386/compile/GENERIC/lib/kern
depending the kern library objects
depending the compat library objects
sh /usr/src/sys/arch/i386/compile/GENERIC/../../../../kern/genassym.sh cc  
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized 
-Wno-format -Wno-main  -fno-builtin-printf -fno-builtin-log -O2 -pipe -nostdinc 
-I. -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch 
-I/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC 
-DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM 
-DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_35 -DCOMPAT_43 -DLKM -DFFS 
-DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DXFS -DTCP_SACK 
-DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS 
-DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE 
-DMROUTING -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU 
-DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 
-DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DCOMPAT_AOUT -DPROCFS 
-DACPIVERBOSE -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISP!
 LAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" 
-DWSDISPLAY_COMPAT_PCVT -DPCIAGP -D_KERNEL -Di386  -DMAXUSERS=32 < 
/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch/i386/i386/genassym.cf > 
assym.h.tmp &&  mv -f assym.h.tmp assym.h
In file included from /usr/src/sys/uvm/uvm_map.h:392,
                 from /usr/src/sys/uvm/uvm_extern.h:380,
                 from /usr/src/sys/sys/user.h:45,
                 from /tmp/genassym_c.nXGRIw9116:9:
/usr/src/sys/sys/systm.h:163: warning: conflicting types for built-in function 
`vsnprintf'
/usr/src/sys/sys/systm.h:165: warning: conflicting types for built-in function 
`snprintf'
/usr/src/sys/sys/systm.h:190: warning: conflicting types for built-in function 
`memcpy'
/usr/src/sys/sys/systm.h:195: warning: conflicting types for built-in function 
`memset'
In file included from /usr/src/sys/sys/systm.h:303,
                 from /usr/src/sys/uvm/uvm_map.h:392,
                 from /usr/src/sys/uvm/uvm_extern.h:380,
                 from /usr/src/sys/sys/user.h:45,
                 from /tmp/genassym_c.nXGRIw9116:9:
/usr/src/sys/lib/libkern/libkern.h:158: warning: conflicting types for built-in 
function `memcmp'
/usr/src/sys/lib/libkern/libkern.h:165: warning: conflicting types for built-in 
function `strncpy'
/usr/src/sys/lib/libkern/libkern.h:171: warning: conflicting types for built-in 
function `strncmp'
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 691 of Makefile).
#                                                                             

Reply via email to