[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel build fails in pf.c



-----BEGIN PGP SIGNED MESSAGE-----

Hello,

(Please let me know if you would prefer more detail)

After grabbing the src.tar.gz and srcsys.tar.gz files from
ftp1.usa.openbsd.org, I applied all generic and i386 patches listed on
the errata page. I then successfully built a custom kernel, and proceeded
to the binary rebuild. When the binary build choked on an install from
somewhere in /usr/src/sys/gnu/usr.bin/cvs/ I decided to run CVS to ensure
I had everything needed for the source tree. So, I grabbed the patch
branch from anoncvs6.usa.openbsd.org. (cvs up -rOPENBSD_3_0 -Pd)

It updated a few files, so I then went back to rebuilding the kernel,
which choked - - below is the error I encountered in /usr/src/sys/net/pf.c

Thanks for all your hard work!

- -Josh

#####################

cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
- -Wno-uninitialized -Wno-format -Wno-main -march=i486  -nostdinc
- -I. -I/usr/src/sys/arch/i386/compile/nyfix_fw-v3.0/../../../../arch
- -I/usr/src/sys/arch/i386/compile/nyfix_fw-v3.0/../../../.. -DNTP -DDDB
- -DDIAGNOSTIC -DKTRACE -DKMEMSTATS -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM
- -DUVM_SWAP_ENCRYPT -DCOMPAT_25 -DCOMPAT_43 -DLKM -DFFS -DFFS_SOFTUPDATES
- -DQUOTA -DEXT2FS -DMFS -DTCP_SACK -DCD9660 -DMSDOSFS -DFDESC -DFIFO
- -DKERNFS -DNULLFS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DGATEWAY -DINET
- -DALTQ -DINET6 -DPULLDOWN_TEST -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE
- -DBOOT_CONFIG -DI686_CPU -DGPL_MATH_EMULATE -DUSER_PCICONF -DXSERVER
- -DAPERTURE -DDUMMY_NOPS -DCOMPAT_SVR4 -DCOMPAT_LINUX -DCOMPAT_FREEBSD
- -DCOMPAT_BSDOS -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE
- -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
- -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -D_KERNEL -Di386
- -c /usr/src/sys/arch/i386/compile/nyfix_fw-v3.0/../../../../net/pf.c
/usr/src/sys/arch/i386/compile/nyfix_fw-v3.0/../../../../net/pf.c:1: syntax
error before `<'
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/nyfix_fw-v3.0 (line 654 of
Makefile).


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBPBZyvtUsFSiHm9qJAQEnggP9FcCbsncvjyEY0WiER0Puz/1DzZckwL8o
JYzA9lmrmyMaUlzOfmGLrs9TEwqFFasv5iAHAsPlm5UE48nuW5fZq4NcjcA+DZpz
a5iVcUm5T+ghHnMpL7PSfQ+xR/0dfLEUAZW0tMAqwPHgN/KV7+FXASFyl+AR2FqP
mvDTkpVjOY4=
=N5Sn
-----END PGP SIGNATURE-----