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

Unable to build i386 profile kernel



To all and sundry,

I have recently been trying to compile a profiled GENERIC kernel from 
the -current files, but have not been successful so far.  I have tried 
the 'config -p GENERIC' method.  But the make failed with the following 
error:

mkdir -p /usr/src/sys/arch/i386/compile/GENERIC.PROF/lib/kern
making sure the profiled kern library is up to date...
`libkern.po' is up to date.
making sure the profiled compat library is up to date...
`libcompat_p.a' is up to date.
sh /usr/src/sys/arch/i386/compile/GENERIC.PROF/../../../../conf/newvers.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.PROF/../../../../arch 
-I/usr/src/sys/arch/i386/compile/GENERIC.PROF/../../../.. -DGPROF -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 
-DMSDOSFS -DFDESC -DFIFO -DPORTAL -DPROCFS -DINET -DALTQ -DINET6 -DIPSEC 
-DPPP_BSDCOMP -DPPP_DEFLATE -DBOOT_CONFIG -DI386_CPU -DI486_CPU 
-DI586_CPU -DI686_CPU -DGPL_MATH_EMULATE -DUSER_PCICONF -DUSER_LDT 
-DAPERTURE -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD 
-DCOMPAT_BSDOS -DCOMPAT_AOUT -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE 
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD 
-DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DPCIAGP 
-D_KERNEL -Di386 -pg -c vers.c
rm -f bsd
ld -Ttext 0xD0100120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o
machdep.o(.text+0x3788): In function `splx':
: multiple definition of `splx'
locore.o(.text+0x1e64): first defined here
*** Error code 1

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

So, I would like  to ask, am I doing something wrong?  Should I use the 
-stable or -release files instead?  Thanks.

David