compile error while building kernel

walt w41ter at
Thu Mar 27 18:16:49 PDT 2008

On Thu, 27 Mar 2008, Rance Hall wrote:

> On 3/27/08, walt <w41ter at> wrote:
> >
> > You might try searching your source tree for .depend and .o files and
> >  delete any you find.  Also, you could try building the old way:
> >
> >  #cd /usr/src/sys/i386/conf
> >  #config GENERIC
> >  #cd ../compile/GENERIC
> >  #make all install
> >
> >  If that works then you must have some funny files in your source tree
> >  that don't belong there.
> searched for *.depend and *.o files, (none found) used find /usr/src
> -name "*.depend" -print to get a list of files that needed to be
> deleted.
> then tried the compile the old way as suggested, that fails too, with
> the same errors and same files.

Hm.  Well, I just compiled GENERIC using the 'old' method.  Your missing
symbols are defined in assym.s, which is generated during the compile by right at the beginning:

root at k9/usr/src/sys/i386/compile/GENERIC #make
cc -c -O -pipe -march=athlon-xp -std=c99 -g -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I.
-I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
NM='nm' sh ../../../kern/ genassym.o > assym.s

Do you see something different at your end?

More information about the freebsd-stable mailing list