Summary: | app-emulation/virtualbox-modules-2.2.4 compile failed with sys-kernel/gentoo-sources-2.6.30-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oschtan <dawnstyle> |
Component: | [OLD] Core system | Assignee: | Markus Ullmann (RETIRED) <jokey> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, bertrand, rahul, swapon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
kernel-config |
Description
Oschtan
2009-06-12 06:56:21 UTC
Created attachment 194340 [details]
build.log
Created attachment 194342 [details]
kernel-config
confirmed, I think it fails since git-sources-2.6.30_rc8-something... Ok, imo this is NOT 2.6.30 related. Now virtualbox-modules-2.2.4 also fails building against rc8 although I had it working before. Difference: glibc-2.10.1! Can someone confirm this? This is the exact error: *** Building 'vboxnetflt' module *** make[1]: Entering directory `/var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt' make KBUILD_VERBOSE= -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt SRCROOT=/var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt modules make[2]: Entering directory `/usr/src/linux-2.6.30-git3' CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/VBoxNetFlt.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/SUPR0IdcClient.o In file included from /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/include/VBox/intnet.h:34, from /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/VBoxNetFltInternal.h:26, from /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/VBoxNetFlt.c:218: /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/include/VBox/stam.h:69:7: warning: "_MSC_VER" is not defined CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/SUPR0IdcClientComponent.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/SUPR0IdcClient-linux.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/r0drv/alloc-r0drv.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/r0drv/initterm-r0drv.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/r0drv/memobj-r0drv.o CC [M] /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/r0drv/mpnotification-r0drv.o In file included from /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/include/VBox/intnet.h:34, from /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/../VBoxNetFltInternal.h:26, from /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.c:47: /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/include/VBox/stam.h:69:7: warning: "_MSC_VER" is not defined /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.c: In function ‘vboxNetAdpNetDevInit’: /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.c:225: error: ‘struct net_device’ has no member named ‘open’ /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.c:226: error: ‘struct net_device’ has no member named ‘stop’ /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.c:227: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ /var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.c:228: error: ‘struct net_device’ has no member named ‘get_stats’ make[3]: *** [/var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt/linux/VBoxNetFlt-linux.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [_module_/var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.30-git3' make[1]: *** [vboxnetflt] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-modules-2.2.4/work/vboxnetflt' cp: cannot stat `vboxnetflt/vboxnetflt.ko': No such file or directory (In reply to comment #4) > Ok, imo this is NOT 2.6.30 related. Now virtualbox-modules-2.2.4 also fails > building against rc8 although I had it working before. Difference: > glibc-2.10.1! > > Can someone confirm this? > No. virtualbox-modules-2.2.4 with glibc-2.10.1 and gentoo-sources-2.6.29-r5 compile successfull! It is 2.6.30... (In reply to comment #6) > (In reply to comment #4) > > Ok, imo this is NOT 2.6.30 related. Now virtualbox-modules-2.2.4 also fails > > building against rc8 although I had it working before. Difference: > > glibc-2.10.1! > > > > Can someone confirm this? > > > > No. virtualbox-modules-2.2.4 with glibc-2.10.1 and gentoo-sources-2.6.29-r5 > compile successfull! It is 2.6.30... > Hmmm. But I had it compiling successfully once with rc8... so there has to be some other variable involved... Ok. I successfully compiled it against git-sources-2.6.30-r5 now and I'm sure it would also work with rc8 and stable final release. I simply took an old .config (from _rc4) and migrated it. I got the idea from here: http://forums.virtualbox.org/viewtopic.php?f=7&t=17447 I did some .config stripping after my first build of rc8 and must have killed an option vital to virtualbox-modules. Got it! You need to set COMPAT_NET_DEV_OPS=y Location: -> Device Drivers -> Network device support (NETDEVICES [=y]) [*] Enable older network device API compatibility "This option enables kernel compatibility with older network devices that do not use net_device_ops interface." (In reply to comment #9) > Got it! You need to set COMPAT_NET_DEV_OPS=y > > Location: > -> Device Drivers > -> Network device support (NETDEVICES [=y]) > [*] Enable older network device API compatibility > > "This option enables kernel compatibility with older network devices that do > not use net_device_ops interface." > It's work. Thanks! (In reply to comment #9) > Got it! You need to set COMPAT_NET_DEV_OPS=y > > Location: > -> Device Drivers > -> Network device support (NETDEVICES [=y]) > [*] Enable older network device API compatibility > > "This option enables kernel compatibility with older network devices that do > not use net_device_ops interface." > I am experiencing the same problem with 2.6.31_rc1 and somehow I do not have the above mentioned option in my configuration. Can anyone please tell me why this is so? (In reply to comment #11) > (In reply to comment #9) > > Got it! You need to set COMPAT_NET_DEV_OPS=y > > > > Location: > > -> Device Drivers > > -> Network device support (NETDEVICES [=y]) > > [*] Enable older network device API compatibility > > > > "This option enables kernel compatibility with older network devices that do > > not use net_device_ops interface." > > > > I am experiencing the same problem with 2.6.31_rc1 and somehow I do not have > the above mentioned option in my configuration. Can anyone please tell me why > this is so? > Me too, it seems this option has been removed. Yes, COMPAT_NET_DEV_OPS has been removed. Source: http://lwn.net/Articles/336953/ Further: http://patchwork.ozlabs.org/patch/27566/ Might I suggest updating to virtualbox-3-beta2 which solves this issue. The ebuilds can be obtained from here: http://github.com/drescherjm/jmdgentoooverlay/tree/master |