buildkernel failure



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"



Relevant Pages

  • Re: libXfont install problems from ports
    ... "FontEncPtr" ... fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' ... *** Error code 1 ...
    (freebsd-questions)
  • libXfont not installing
    ... "FontEncPtr" ... fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' ... *** Error code 1 ...
    (freebsd-questions)
  • libXfont install problems from ports
    ... "FontEncPtr" ... fontencc.c:42: warning: implicit declaration of function `FontEncFromXLFD' ... fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' ... *** Error code 1 ...
    (freebsd-questions)
  • Re: network performance
    ... Kris Kennaway wrote: ... *** Error code 1 ... warning: ... nested extern declaration of 'PROC_UNLOCK' ...
    (freebsd-performance)
  • Re: network performance
    ... Kris Kennaway wrote: ... *** Error code 1 ... warning: ... nested extern declaration of 'PROC_UNLOCK' ...
    (freebsd-performance)