From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 01:55:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5962A16A419 for ; Sun, 20 Jan 2008 01:55:16 +0000 (UTC) (envelope-from celso.vianna@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 970E013C45D for ; Sun, 20 Jan 2008 01:55:13 +0000 (UTC) (envelope-from celso.vianna@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1458661rvb.43 for ; Sat, 19 Jan 2008 17:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=fcOe2pQJYqi1hxXTfX50wM6PWA+zwa6cl6jVddsibyw=; b=TFxiDYkqsjQuFZhUDr8qYRZiAjovB+UF+C3Kftpjdig2XmxF7jKV5+N+jn8NINVDXk4pnCmIottWbae1Taog3VCXxVv3CsTcLNlk8R0nAAjl9oNx2jNcgRpJTb2LNeZF9mAyJgNdKhmXr4Uob72lcmdnD4kbFyQe3RPrpFwFZn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AoDxpDNX2CCIR8VULq/BgDYhRXMyuxRqvD9zUmI9DMb79jQ1NalGJJ6Zo313F05yfBKm0uNhJGTDtE2A7OmPwnUvNfK4r6KgdGkWmbxlqgCgWrK6tUJgKKr1/HnUWcXjwHurNHXVd4PT1WDk+rOIW4i6YtjlMxxUe/eSYHTPeEA= Received: by 10.143.17.13 with SMTP id u13mr2778057wfi.69.1200792474149; Sat, 19 Jan 2008 17:27:54 -0800 (PST) Received: by 10.142.104.18 with HTTP; Sat, 19 Jan 2008 17:27:54 -0800 (PST) Message-ID: <2b6bd2cc0801191727v6cfcd2c5scf5f7bb68abc0a89@mail.gmail.com> Date: Sat, 19 Jan 2008 22:27:54 -0300 From: "Celso Viana" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Failing to compile kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2008 01:55:16 -0000 Hi All, To compile the kernel of FreeBSD 7.0 RC1 and returned the error ... ===> zlib (all) cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/DRUFF/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/usr/obj/usr/src/sys/DRUFF -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/zlib/../../net/zlib.c ld -d -warn-common -r -d -o zlib.kld zlib.o :> export_syms awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld export_syms | xargs -J% objcopy % zlib.kld ld -Bshareable -d -warn-common -o zlib.ko zlib.kld objcopy --strip-debug zlib.ko ===> zyd (all) cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/DRUFF/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/usr/obj/usr/src/sys/DRUFF -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c ld -d -warn-common -r -d -o if_zyd.kld if_zyd.o :> export_syms awk -f /usr/src/sys/modules/zyd/../../conf/kmod_syms.awk if_zyd.kld export_syms | xargs -J% objcopy % if_zyd.kld ld -Bshareable -d -warn-common -o if_zyd.ko if_zyd.kld objcopy --strip-debug if_zyd.ko 1 error *** Error code 2 1 error *** Error code 2 ...What can be wrong? Thanks -- Celso Vianna BSD User: 51318 http://www.bsdcounter.org 63 8404-8559 Palmas/TO