[vbox-dev] VirtualBox bridged adapter (vboxnetflt)

rondzierwa at comcast.net rondzierwa at comcast.net
Sun Aug 30 19:09:13 PDT 2009


I am running FreeBSD 7.2-RELEASE-p2 on i386. I fetched the virtualbox-3.0.51r22226 port and 
followed your directions in your posting to the emulators mailing list i found on 22-aug. 

i did a "make clean patch", then applied the two patches 
http://www.shapeshifter.se/pub/patches/vbox-freebsd-network.patch 
http://www.shapeshifter.se/pub/patches/virtualbox-Makefile.patch 

did a make install and got compile errors: 

kBuild: Compiling vboxdrv - /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/Suppor 
t/freebsd/SUPDrv-freebsd.c 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c: In function 'vboxNetFltOsInitInstance': 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:330: warning: implicit declaration of function 'ifunit_ref' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:330: warning: nested extern declaration of 'ifunit_ref' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:330: warning: assignment makes pointer from integer without a cast 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:337: error: 'struct ifnet' has no member named 'if_transmit' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c: In function 'vboxNetFltOsMaybeRediscovered': 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:357: error: 'struct ifnet' has no member named 'if_transmit' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:359: warning: implicit declaration of function 'if_rele' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:359: warning: nested extern declaration of 'if_rele' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c: In function 'vboxNetFltOsDeleteInstance': 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:374: error: 'struct ifnet' has no member named 'if_transmit' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c: In function 'vboxNetFltPortOsSetActive': 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:402: error: 'struct ifnet' has no member named 'if_transmit' 
/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22226/src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-free 
bsd.c:410: error: 'struct ifnet' has no member named 'if_transmit' 


which version do these patches work with? 

thanks, 
ron. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090831/a09fe169/attachment-0001.html 


More information about the vbox-dev mailing list