From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 4 22:23:07 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB8E0106566B for ; Fri, 4 Sep 2009 22:23:07 +0000 (UTC) (envelope-from rondzierwa@comcast.net) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 706958FC12 for ; Fri, 4 Sep 2009 22:23:07 +0000 (UTC) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA03.westchester.pa.mail.comcast.net with comcast id cayy1c0041HzFnQ53mN9EZ; Fri, 04 Sep 2009 22:22:09 +0000 Received: from sz0128.wc.mail.comcast.net ([76.96.58.192]) by OMTA14.westchester.pa.mail.comcast.net with comcast id cmP71c00848qnZY3amP7fS; Fri, 04 Sep 2009 22:23:07 +0000 Date: Fri, 4 Sep 2009 22:23:07 +0000 (UTC) From: rondzierwa@comcast.net To: freebsd-emulation@freebsd.org Message-ID: <1636246179.7585961252102987506.JavaMail.root@sz0128a.westchester.pa.mail.comcast.net> MIME-Version: 1.0 X-Originating-IP: [76.111.0.24] X-Mailer: Zimbra 5.0.16_GA_2927.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/5.0.16_GA_2927.RHEL5_64) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: VirtualBox bridged adapter (vboxnetflt) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 22:23:08 -0000 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.