buildkernel error

Damien Fleuriot ml at my.gd
Tue Feb 22 08:36:42 UTC 2011


Rebuild the world first, then the kernel :)

---
Fleuriot Damien

On 22 Feb 2011, at 08:30, gnehzuil <gnehzuil at gmail.com> wrote:

> Hi all,
> 
> I updated my kernel source code and try to make a new kernel using make buildkernel command. But I got an error as follow:
> 
> ------------------------
> :> hack.c
> cc -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC
> cc -c -O -pipe  -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/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -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 -msoft-float -ffreestanding -fstack-protector -Werror  vers.c
> linking kernel.debug
> ld:/usr/src/sys/conf/ldscript.i386:66: syntax error
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/MYKERNEL.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> gnehzuil-freebsd#
> --------------------------
> 
> I run a freebsd OS in virtualbox.
> 
> 
> Best regards,
> lz
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list