soup4you2
August 13th, 2003, 10:54
I keep getting the following errors while trying to compile a kernel...

os is OpenBSD 3.3 GENERIC#44 i386

i goto /usr/src/sys/arch/i386/conf

run config GENERIC
cd ../compile/GENERIC

make

and i get this error

[code:1:13d5162692]
$ make
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-stack-protector -O2 -nostdinc -I. -I/usr/src/sys/arch/i386/compile/GENERIC/../../../../arch -I/usr/src/sys/arch/i386/compile/GENERIC/../../../.. -DDDB -DDIAGNOSTIC -DKTRACE -DKMEMSTATS -DPTRACE -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_25 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES -DQUOTA -DEXT2FS -DMFS -DTCP_SACK -DTCP_ECN -DNFSCLIENT -DNFSSERVER -DCD9660 -DMSDOSFS -DFDESC -DFIFO -DKERNFS -DPORTAL -DPROCFS -DINET -DALTQ -DINET6 -DPULLDOWN_TEST -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DBOOT_CONFIG -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DGPL_MATH_EMULATE -DUSER_PCICONF -DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DCOMPAT_BSDOS -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_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
Abort
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 629 of Makefile).
[/code:1:13d5162692]

Vile
October 2nd, 2003, 03:32
Try doing this

#cd /usr/src/sys/arch/i386/conf
#/usr/sbin/config GENERIC
#cd /usr/src/sys/arch/i386/compile/GENERIC
#make clean && make depend && make

with the last line being the important one in your case.
Are you upgrading -stable or -current?