Date: Tue, 22 Feb 2011 09:36:16 +0100 From: Damien Fleuriot <ml@my.gd> To: gnehzuil <gnehzuil@gmail.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: buildkernel error Message-ID: <9466185C-B180-408F-BE3F-85F29AECAA94@my.gd> In-Reply-To: <4D63661D.2090205@gmail.com> References: <4D63661D.2090205@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Rebuild the world first, then the kernel :) --- Fleuriot Damien On 22 Feb 2011, at 08:30, gnehzuil <gnehzuil@gmail.com> wrote: > Hi all, >=20 > I updated my kernel source code and try to make a new kernel using make bu= ildkernel command. But I got an error as follow: >=20 > ------------------------ > :> hack.c > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh GENERIC > cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Ws= trict-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=3D8000 --param inline-unit-growth=3D= 100 --param large-function-growth=3D1000 -mno-align-long-strings -mpreferre= d-stack-boundary=3D2 -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 >=20 > Stop in /usr/obj/usr/src/sys/MYKERNEL. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > gnehzuil-freebsd# > -------------------------- >=20 > I run a freebsd OS in virtualbox. >=20 >=20 > Best regards, > lz >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9466185C-B180-408F-BE3F-85F29AECAA94>