Re: compile error while building kernel
- From: "Rance Hall" <ranceh@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 21:19:24 -0500
On Thu, Mar 27, 2008 at 8:16 PM, walt <w41ter@xxxxxxxxx> wrote:
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?
I never noticed before but since you have mentioned that the values
are supposed to be set in assym.s in the step right before my failure
I went back and looked and I get this:
[/usr/src/sys/i386/compile/GENERIC] root@rance-freebsd# make
cc -c -o -pipe -march=athlon-mp -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
nm: 'genassym.o': No such file
which must be the problem. If there is no genassym.o file then
assym.s doesnt get created.
Then when assym.s doesnt get created the rest of the build will fail miserably
ok, so I know what the problem is. Wonder what to do about it?
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: compile error while building kernel
- From: walt
- Re: compile error while building kernel
- From: Jeremy Chadwick
- Re: compile error while building kernel
- References:
- compile error while building kernel
- From: Rance Hall
- Re: compile error while building kernel
- From: walt
- Re: compile error while building kernel
- From: Rance Hall
- Re: compile error while building kernel
- From: walt
- Re: compile error while building kernel
- From: Rance Hall
- Re: compile error while building kernel
- From: walt
- compile error while building kernel
- Prev by Date: Re: "s/stable/broken/g"
- Next by Date: Re: mouse issue
- Previous by thread: Re: compile error while building kernel
- Next by thread: Re: compile error while building kernel
- Index(es):