Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 16:24:56 +0800
From:      Nawfal bin Mohmad Rouyan <opal@mmu.edu.my>
To:        Joseph Koshy <joseph.koshy@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Kernel Compile Error
Message-ID:  <1121761496.66019.26.camel@opal>
In-Reply-To: <84dead72050718234954080359@mail.gmail.com>
References:  <1121755552.66019.17.camel@opal> <84dead72050718234954080359@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121761496.66019.26.camel>