From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 22 08:36:42 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91038106566C for ; Tue, 22 Feb 2011 08:36:42 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2836B8FC13 for ; Tue, 22 Feb 2011 08:36:41 +0000 (UTC) Received: by bwz13 with SMTP id 13so3205706bwz.17 for ; Tue, 22 Feb 2011 00:36:41 -0800 (PST) Received: by 10.204.46.130 with SMTP id j2mr2259176bkf.169.1298363800494; Tue, 22 Feb 2011 00:36:40 -0800 (PST) Received: from [192.168.0.20] (paris.c-mal.com [88.170.200.60]) by mx.google.com with ESMTPS id v25sm4326486bkt.6.2011.02.22.00.36.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Feb 2011 00:36:39 -0800 (PST) References: <4D63661D.2090205@gmail.com> In-Reply-To: <4D63661D.2090205@gmail.com> Mime-Version: 1.0 (iPhone Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <9466185C-B180-408F-BE3F-85F29AECAA94@my.gd> X-Mailer: iPhone Mail (8A293) From: Damien Fleuriot Date: Tue, 22 Feb 2011 09:36:16 +0100 To: gnehzuil Cc: "freebsd-hackers@freebsd.org" Subject: Re: buildkernel error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 08:36:42 -0000 Rebuild the world first, then the kernel :) --- Fleuriot Damien On 22 Feb 2011, at 08:30, gnehzuil 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"=