http://www.openbsd.org/faq/upgrade-old.html#20060113
after recompiling new GCC you'll probably get the same error during 'make depend'. Just remove working folder /usr/src/sys/arch/i386/compile/GENERIC, then # config GENERIC && cd ../compile/GENERIC && make depend ...... I had the same errors when following current drove me to changed types -- Best regards, Alexander mailto:[EMAIL PROTECTED] JM> First off why am I doing this? Because I use RaidFrame and the upgrade I JM> need the raid psuedo device compiled into the kernel. I have JM> successfully used this approach to move from 3.6->3.7->3.8. I was hoping JM> to use this to move to 3.9. JM> Yes I've searched the web for answers. I can't find anything obviously JM> wrong. JM> I've downloaded the 3.9 src.tar.gz and sys.tar.gz and expandeded them. JM> Anyway on to the problem. Any ideas why this is happening? Thanks in JM> advance. JM> #cd /usr/src/sys/arch/i386/compile/GENERIC JM> #make depend JM> . JM> . JM> . JM> cp /usr/src/sys/arch/i386/compile/GENERIC/../../../../conf/param.c . JM> sh JM> /usr/src/sys/arch/i386/compile/GENERIC/../../../../kern/genassym.sh JM> cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes JM> -Wno-uninitialized -Wno-format -Wno-main -fno-builtin-printf JM> -fno-builtin-log -O2 -pipe -nostdinc -I. JM> -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch JM> -I/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC JM> -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM JM> -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_35 -DCOMPAT_43 -DLKM -DFFS JM> -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DXFS -DTCP_SACK JM> -DTCP_ECN -DTCP_SIGNATURE -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF JM> -DMSDOSFS -DFIFO -DPORTAL -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP JM> -DPPP_DEFLATE -DMROUTING -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU JM> -DI686_CPU -DUSER_PCICONF -DUSER_LDT -DAPERTURE -DCOMPAT_SVR4 JM> -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS JM> -DCOMPAT_AOUT -DPROCFS -DACPIVERBOSE -DPCIVERBOSE -DEISAVERBOSE JM> -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD JM> -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DPCIAGP JM> -D_KERNEL -Di386 -DMAXUSERS=32 < JM> /usr/src/sys/arch/i386/compile/GENERIC/../../../../arch/i386/i386/genassym.cf >> assym.h.tmp && mv -f assym.h.tmp assym.h JM> In file included from /usr/src/sys/uvm/uvm_map.h:392, JM> from /usr/src/sys/uvm/uvm_extern.h:380, JM> from /usr/src/sys/sys/user.h:45, JM> from /tmp/genassym_c.UYmDD23251:9: JM> /usr/src/sys/sys/systm.h:163: warning: conflicting types for built-in JM> function `vsnprintf' JM> /usr/src/sys/sys/systm.h:165: warning: conflicting types for built-in JM> function `snprintf' JM> /usr/src/sys/sys/systm.h:190: warning: conflicting types for built-in JM> function `memcpy' JM> /usr/src/sys/sys/systm.h:195: warning: conflicting types for built-in JM> function `memset' JM> In file included from /usr/src/sys/sys/systm.h:303, JM> from /usr/src/sys/uvm/uvm_map.h:392, JM> from /usr/src/sys/uvm/uvm_extern.h:380, JM> from /usr/src/sys/sys/user.h:45, JM> from /tmp/genassym_c.UYmDD23251:9: JM> /usr/src/sys/lib/libkern/libkern.h:158: warning: conflicting types for JM> built-in function `memcmp' JM> /usr/src/sys/lib/libkern/libkern.h:165: warning: conflicting types for JM> built-in function `strncpy' JM> /usr/src/sys/lib/libkern/libkern.h:171: warning: conflicting types for JM> built-in function `strncmp' JM> *** Error code 1 JM> Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 691 of Makefile).

