From owner-freebsd-current@FreeBSD.ORG Tue Jul 19 08:25:09 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A994D16A41C for ; Tue, 19 Jul 2005 08:25:09 +0000 (GMT) (envelope-from opal@mmu.edu.my) Received: from mailstaff.cyber.mmu.edu.my (mailstaff.mmu.edu.my [203.106.62.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A0243D46 for ; Tue, 19 Jul 2005 08:25:08 +0000 (GMT) (envelope-from opal@mmu.edu.my) Received: from kav.cyber.mmu.edu.my (localhost [127.0.0.1]) by mailstaff.cyber.mmu.edu.my (Postfix) with ESMTP id AFBEC318A0; Tue, 19 Jul 2005 16:24:56 +0800 (MYT) Received: from kav.cyber.mmu.edu.my (unknown [127.0.0.1]) by kav.cyber.mmu.edu.my (Postfix) with SMTP id 9A49E95C54; Tue, 19 Jul 2005 16:24:56 +0800 (MYT) Received: from opal (mailstaff.cyber.mmu.edu.my [10.100.3.1]) by kav.cyber.mmu.edu.my (Postfix) with ESMTP id 7515195C53; Tue, 19 Jul 2005 16:24:56 +0800 (MYT) From: Nawfal bin Mohmad Rouyan To: Joseph Koshy In-Reply-To: <84dead72050718234954080359@mail.gmail.com> References: <1121755552.66019.17.camel@opal> <84dead72050718234954080359@mail.gmail.com> Content-Type: text/plain Organization: Multimedia University Date: Tue, 19 Jul 2005 16:24:56 +0800 Message-Id: <1121761496.66019.26.camel@opal> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Kernel Compile Error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 08:25:09 -0000 On Tue, 2005-07-19 at 12:19 +0530, Joseph Koshy wrote: > > export_syms | xargs -J% objcopy % if_xl.kld > > ld -Bshareable -d -warn-common -o if_xl.ko if_xl.kld > > objcopy --strip-debug if_xl.ko > > 1 error > > *** Error code 2 > > 1 error > > *** Error code 2 > > 1 error > > The real error was somewhere earlier on. Retry the build > without a -jN option? > Without -jN option, the compile stopped below: cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -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 -ffreestanding -Werror /usr/src/sys/i386/isa/clock.c /usr/src/sys/i386/isa/clock.c: In function `rtcin': /usr/src/sys/i386/isa/clock.c:424: error: `IO_RTC' undeclared (first use in this function) /usr/src/sys/i386/isa/clock.c:424: error: (Each undeclared identifier is reported only once /usr/src/sys/i386/isa/clock.c:424: error: for each function it appears in.) /usr/src/sys/i386/isa/clock.c: In function `writertc': /usr/src/sys/i386/isa/clock.c:438: error: `IO_RTC' undeclared (first use in this function) *** Error code 1 Stop in /usr/obj/usr/src/sys/WIKI. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.