From owner-freebsd-questions@FreeBSD.ORG Wed Mar 13 21:49:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 036CC888 for ; Wed, 13 Mar 2013 21:49:14 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id 94F55EC0 for ; Wed, 13 Mar 2013 21:49:13 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id ds1so465566wgb.4 for ; Wed, 13 Mar 2013 14:49:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:x-mailer:from:subject:date :to:x-gm-message-state; bh=/x4G+Zfdka1SUijOrkRIe4eHwMfKiXsR/YsmVYUZqVU=; b=GgSzTNVlzREzCNr3lIWwhDer7pPSTFnaKABERrHJZYdMrH/ADV6eSCPmmOtjXhR+sq NOYppx70NrEK34ZHKRA2mihJralXiMC7SFop4skB0P0cASS2RmFAmuVZ45X3yO+Xz1iN BGbcN/yTzqjUU1aI4dV1u1uXBjuYKVtB6Higzh5cq1ZGf7H7veJW7hIYGxXi+DR/aFw+ aqJ0lQG6ViWEmF6bGlMyHnkW1TdUsOEGveK3+3Euj/gVV9v4Kj61GGiuUjMAHcmQ/gGa f9LWbFEBfbbF81E7BzHWWtIUIVzsuWI745kb/p+OMGMig0IX27jxjQ7p2lvMp48tyf0g V/0w== X-Received: by 10.180.91.106 with SMTP id cd10mr19654wib.6.1363211346333; Wed, 13 Mar 2013 14:49:06 -0700 (PDT) Received: from [10.41.32.4] ([92.90.16.94]) by mx.google.com with ESMTPS id du2sm5473924wib.0.2013.03.13.14.49.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Mar 2013 14:49:04 -0700 (PDT) References: Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (10B144) From: Damien Fleuriot Subject: Re: Issue with building custom kernel Date: Wed, 13 Mar 2013 22:43:40 +0100 To: Andre Goree X-Gm-Message-State: ALoCoQlK8qPsALsXOpuDk2kJHuEJD1xSQk/cilgN6tkPWNs/63lwUXVeKwBa7t37AwHwUc+SvqMu Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 21:49:14 -0000 On 13 Mar 2013, at 22:26, "Andre Goree" wrote: > I seem to be having trouble building my custom kernel. I've removed sever= al things that I believe were unnecessary, and added Linux support, but I do= n't think I'm missing anything that is very important. Here is the last few= lines of the build: >=20 > =3D=3D=3D> zlib (all) > /usr/local/libexec/ccache/world/cc -O2 -pipe -fno-strict-aliasing -Werror -= D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr= /obj/usr/src/sys/BUILD130313/opt_global.h -I. -I@ -I@/contrib/altq -finline-= limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D= 1000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/BUILD1303= 13 -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asy= nchronous-unwind-tables -ffreestanding -fstack-protector -std=3Diso9899:1999= -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno= -pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show= -option -c /usr/src/sys/modules/zlib/../../net/zlib.c > ld -d -warn-common -r -d -o zlib.ko.debug zlib.o > :> export_syms > awk -f /usr/src/sys/conf/kmod_syms.awk zlib.ko.debug export_syms | xargs -= J% objcopy % zlib.ko.debug > objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols > objcopy --strip-debug --add-gnu-debuglink=3Dzlib.ko.symbols zlib.ko.debug z= lib.ko > 1 error > *** [buildkernel] Error code 2 > 1 error > *** [buildkernel] Error code 2 > 1 error >=20 > Here is my KERNCONF: > http://www.drenet.net/BUILD130313 >=20 > I've also created a diff of what's missing from my configuration compared t= o GENERIC: > http://www.drenet.net/kern_diff.txt >=20 > Thanks in advance for any guidance you can provide! >=20 > --=20 > Andre Goree > andre@drenet.info > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" Nothing in your diff shocks me. Wanna re SVN up your sources, rebuild your kernel-toolchain and try again ?=