Re: buildkernel failure



I saw the same error yesterday building generic on i386. I resync'd the
sources(RELENG_6) today and the everything built properly.
cr

On Tuesday 30 January 2007 1:52 pm, Eli Dart wrote:
I just saw the same thing under i386 when building GENERIC.

--eli

Alban Hertroys wrote:
Building a kernel of a freshly updated RELENG_6 source tree reveals the
following:

===> firmware (all)
cc -O2 -fno-strict-aliasing -pipe -march=athlon64 -Werror -D_KERNEL
-DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include
/build/obj/build/src/sys/BOLTTHROWER/opt_global.h -I. -I@
-I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common
-fno-omit-frame-pointer -I/build/obj/build/src/sys/BOLTTHROWER
-mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -std=c99 -c
/build/src/sys/modules/firmware/../../kern/subr_firmware.c
/build/src/sys/modules/firmware/../../kern/subr_firmware.c: In function
`firmware_get':
/build/src/sys/modules/firmware/../../kern/subr_firmware.c:192: warning:
implicit declaration of function `linker_release_module'
/build/src/sys/modules/firmware/../../kern/subr_firmware.c:192: warning:
nested extern declaration of `linker_release_module'
*** Error code 1

Stop in /build/src/sys/modules/firmware.
*** Error code 1

Stop in /build/src/sys/modules.
*** Error code 1

Stop in /build/obj/build/src/sys/BOLTTHROWER.
Exit 1

System is amd64 with a custom kernel. I don't know what might be
dependent on subr_firmware, but the error doesn't seem to point to a
missing kernel option or device.

In the CVS logs I can see that this function was added recently; maybe
something was forgotten in the MFC?

--
Alban Hertroys

"Memory expensive?!?
My computer has free memory!"



!DSPAM:74,45bf91649342038170548!


_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: buildkernel failure
    ... Alban Hertroys wrote: ... nested extern declaration of `linker_release_module' ... *** Error code 1 ... My computer has free memory!" ...
    (freebsd-stable)
  • Re: System Reboots
    ... I have tried different memory, 3 different hard drives, removing programs, ... Windows 2000 running on it and it appears to be stable. ... With this error code the value in parameter 2 (E1BF7D51 in your ... I hope you chose the option to report this error to Microsoft. ...
    (microsoft.public.windowsxp.basics)
  • Re: make foo failing on new 3.6 box
    ... > Bad memory usually causes problems at random places, ... icarus# cd dillo ... *** Error code 1 ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Fails to build new gcc
    ... You need more memory, the process gets killed since it used ... Also, changing gcc flags helps. ... When trying to migrate one of my freebsd servers to 7.0-RELEASE i hang ... *** Error code 1 ...
    (freebsd-stable)
  • Re: libXfont install problems from ports
    ... "FontEncPtr" ... fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' ... *** Error code 1 ...
    (freebsd-questions)