make kernel error
Odhiambo Washington
odhiambo at gmail.com
Mon Oct 8 19:50:39 UTC 2018
SOLVED:
I ran the command manually:
sh /usr/src/sys/dev/bhnd/tools/nvram_map_gen.sh
/usr/src/sys/dev/bhnd/nvram/nvram_map -h
and then did a successful make kernel and I don't know why!
On Mon, 8 Oct 2018 at 22:07, Odhiambo Washington <odhiambo at gmail.com> wrote:
> I am trying to update an 11.1 to 11.2 using source.
> I am getting the following error during 'make kernel' (never had that
> error in 20180315 when I successfully compiled the kernel) so I am asking
> for clues on how to overcome this.
>
> ===> bge (all)
> machine -> /usr/src/sys/amd64/include
> x86 -> /usr/src/sys/x86/include
> awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/mii/miibus_if.m
> -h
> awk -f /usr/src/sys/tools/miidevs2h.awk /usr/src/sys/dev/mii/miidevs
> awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
> awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
> awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
> clang -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
> -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/BEASTIE-11.x/opt_global.h -I. -I/usr/src/sys
> -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -I/usr/obj/usr/src/sys/BEASTIE-11.x -MD -MF.depend.if_bge.o -MTif_bge.o
> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
> -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
> -fdiagnostics-show-option -Wno-unknown-pragmas
> -Wno-error-tautological-compare -Wno-error-empty-body
> -Wno-error-parentheses-equality -Wno-error-unused-function
> -Wno-error-pointer-sign -Wno-error-shift-negative-value
> -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999
> -c /usr/src/sys/dev/bge/if_bge.c -o if_bge.o
> ld -d -warn-common -r -d -o if_bge.ko if_bge.o
> :> export_syms
> awk -f /usr/src/sys/conf/kmod_syms.awk if_bge.ko export_syms | xargs -J%
> objcopy % if_bge.ko
> objcopy --strip-debug if_bge.ko
> ===> bhnd (all)
> machine -> /usr/src/sys/amd64/include
> x86 -> /usr/src/sys/x86/include
> sh /usr/src/sys/dev/bhnd/tools/nvram_map_gen.sh
> /usr/src/sys/dev/bhnd/nvram/nvram_map -h
> *** Error code 2
>
> Stop.
> make[4]: stopped in /usr/src/sys/modules/bhnd
> *** Error code 1
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft."
>
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."
More information about the freebsd-questions
mailing list