Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 18:16:29 -0700
From:      walt <w41ter@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: compile error while building kernel
Message-ID:  <alpine.BSF.1.10.0803271807340.48020@x9.ybpnyarg>
In-Reply-To: <845c0f80803271452v1e08b9e0u35d16ca9d3b270c4@mail.gmail.com>
References:  <845c0f80803261123j6e18e611r7b481fabb2f11ecf@mail.gmail.com> <fseprb$s9u$1@ger.gmane.org> <845c0f80803261848h7dd72076n40ff9cc1ffd5cb4c@mail.gmail.com> <845c0f80803270359m63b2ae7dw48fa7b967ef23f2e@mail.gmail.com> <fsg85s$33j$1@ger.gmane.org> <845c0f80803271452v1e08b9e0u35d16ca9d3b270c4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 27 Mar 2008, Rance Hall wrote:

> On 3/27/08, walt <w41ter@gmail.com> 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
genassym.sh right at the beginning:

root@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
../../../i386/i386/genassym.c
NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s

Do you see something different at your end?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0803271807340.48020>