Re: compile error while building kernel





On Thu, 27 Mar 2008, Rance Hall wrote:

On 3/27/08, walt <w41ter@xxxxxxxxx> 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?


_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Minimalist FreeBSD 4.8
    ... the FreeBSD source tree as shipped isn't configured ... have to do with compile flags on -CURRENT: ... #NO_OPENSSH= true # do not build OpenSSH ...
    (freebsd-hackers)
  • Re: LinkLib Issues In freebsd Lazarus
    ... He had problems installing fpc because of library ... To compile Lazarus, you need FPC-2.0.2 source tree, ... since I need a good source tree. ... I will submit a port if I can get Lazarus to compile. ...
    (freebsd-hackers)
  • compiling a source tree
    ... I have stared at the options, but I can see no way to get plain old ... Javac.exe to compile a source tree without you explicitly listing all ...
    (comp.lang.java.programmer)
  • NetBeans: Single file compilation doesnt work
    ... I am trying to compile and run a single test-file in NetBeans 5. ... The file is located in a separate test-tree, and has references to two other classes located in the main source tree. ... When I try "Compile file" on the file, the compiler insists on compiling not just my test file, but all files in the project- Why is this? ... I couldn't find anything on the NetBeans fora ...
    (comp.lang.java.programmer)
  • Re: How to use kernel modules from CURRENT on STABLE
    ... the backup copy of the source tree and reinstall the STABLE modules. ... How to use kernel modules from CURRENT on STABLE ... I compile just the module in question? ...
    (freebsd-questions)