[vbox-dev] Build fails with VBoxNetAdp-linux.o

Perry Halbert phalbert at cox.net
Mon Jul 2 10:12:49 PDT 2012


While trying to build todays release so I could test the Windows-8 
GAs.iso using a Linux host the build fails with kmk: *** 
[/trunk/out/linux.amd64/release/obj/VBoxNetAdp/linux/VBoxNetAdp-linux.o] 
Error 1


log of the failure attached.
Let me know if you want/need the complete build log.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120702/3d2eaac1/attachment-0001.html 
-------------- next part --------------
In file included from /trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c:26:0:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1150:15: error: missing binary operator before token "("
In file included from /trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c:24:0:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1150:15: error: missing binary operator before token "("
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function \u2018netdev_uses_dsa_tags\u2019:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1416:9: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1417:31: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function \u2018netdev_uses_trailer_tags\u2019:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1435:9: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1436:35: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function \u2018netdev_uses_dsa_tags\u2019:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1416:9: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1417:31: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function \u2018netdev_uses_trailer_tags\u2019:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1435:9: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1436:35: error: \u2018struct net_device\u2019 has no member named \u2018dsa_ptr\u2019
kmk: *** [/trunk/out/linux.amd64/release/obj/VBoxNetAdp/linux/VBoxNetAdp-linux.o] Error 1
The failing command:
@gcc -c -O2 -nostdinc -iwithprefix include -include /lib/modules/3.2.0-26-generic/build/include/generated/autoconf.h -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wstrict-prototypes -Wno-pointer-sign -Wno-sign-compare -fdiagnostics-show-option -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -include /trunk/include/VBox/SUPDrvMangling.h -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-reorder-blocks -ffreestanding -fno-asynchronous-unwind-tables -funit-at-a-time -Wno-sign-compare -Wdeclaration-after-statement -I/trunk/src/VBox/Runtime/r0drv/linux -I/trunk/src/VBox/HostDrivers/VBoxNetAdp -I/lib/modules/3.2.0-26-generic/build/include -I/lib/modules/3.2.0-26-generic/build/include/asm-i386/mach-default -I/lib/modules/3.2.0-26-generic/build/include/asm-x86/mach-default -I/lib/modules/3.2.0-26-generic/build/arch/x86/include -I/lib/modules/3.2.0-26-generic/build/arch/x86/include/asm/mach-default -I/lib/modules/3.2.0-26-generic/build/arch/x86/include/generated -I/lib/modules/3.2.0-26-generic/build/include -I/trunk/out/linux.amd64/release/obj/VBoxNetAdp/dtrace -I/trunk/include -I/trunk/out/linux.amd64/release -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D__KERNEL__ -DMODULE -DIN_RT_R0 -DVBOX_SVN_REV=41982 -DIN_SUP_STATIC -DKBUILD_MODNAME=KBUILD_STR\(vboxnetadp\) -DKBUILD_BASENAME=KBUILD_STR\(vboxnetadp\) -DMODULE -Wp,-MD,/trunk/out/linux.amd64/release/obj/VBoxNetAdp/linux/VBoxNetAdp-linux.o.dep -Wp,-MT,/trunk/out/linux.amd64/release/obj/VBoxNetAdp/linux/VBoxNetAdp-linux.o -Wp,-MP -o /trunk/out/linux.amd64/release/obj/VBoxNetAdp/linux/VBoxNetAdp-linux.o /trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
kmk: *** Waiting for unfinished jobs....
kmk: *** [/trunk/out/linux.amd64/release/obj/vboxnetflt/linux/VBoxNetFlt-linux.o] Error 1
The failing command:
@gcc -c -O2 -nostdinc -iwithprefix include -include /lib/modules/3.2.0-26-generic/build/include/generated/autoconf.h -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wstrict-prototypes -Wno-pointer-sign -Wno-sign-compare -fdiagnostics-show-option -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -include /trunk/include/VBox/SUPDrvMangling.h -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-reorder-blocks -ffreestanding -fno-asynchronous-unwind-tables -funit-at-a-time -Wno-sign-compare -Wdeclaration-after-statement -I/trunk/src/VBox/Runtime/r0drv/linux -I/trunk/src/VBox/HostDrivers/VBoxNetFlt -I/lib/modules/3.2.0-26-generic/build/include -I/lib/modules/3.2.0-26-generic/build/include/asm-i386/mach-default -I/lib/modules/3.2.0-26-generic/build/include/asm-x86/mach-default -I/lib/modules/3.2.0-26-generic/build/arch/x86/include -I/lib/modules/3.2.0-26-generic/build/arch/x86/include/asm/mach-default -I/lib/modules/3.2.0-26-generic/build/arch/x86/include/generated -I/lib/modules/3.2.0-26-generic/build/include -I/trunk/out/linux.amd64/release/obj/vboxnetflt/dtrace -I/trunk/include -I/trunk/out/linux.amd64/release -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D__KERNEL__ -DMODULE -DIN_RT_R0 -DKBUILD_MODNAME=KBUILD_STR\(vboxnetflt\) -DKBUILD_BASENAME=KBUILD_STR\(vboxnetflt\) -DMODULE -Wp,-MD,/trunk/out/linux.amd64/release/obj/vboxnetflt/linux/VBoxNetFlt-linux.o.dep -Wp,-MT,/trunk/out/linux.amd64/release/obj/vboxnetflt/linux/VBoxNetFlt-linux.o -Wp,-MP -o /trunk/out/linux.amd64/release/obj/vboxnetflt/linux/VBoxNetFlt-linux.o /trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
kmk: *** Exiting with status 2



More information about the vbox-dev mailing list