From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 19 20:53:40 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 08FE21065675 for ; Sun, 19 Jul 2009 20:53:40 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 89FB78FC18 for ; Sun, 19 Jul 2009 20:53:39 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from daedalus.network.local (200-9.3-85.cust.bluewin.ch [85.3.9.200]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id n6JKaNOB019924 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 19 Jul 2009 20:36:23 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4A63840D.7050404@FreeBSD.org> Date: Sun, 19 Jul 2009 22:37:33 +0200 From: Beat Gaetzi User-Agent: Thunderbird 2.0.0.22 (X11/20090713) MIME-Version: 1.0 To: Boris References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: Compilation failure on SVN version of vbox port 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: Sun, 19 Jul 2009 20:53:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Boris wrote: > Hi all, > > I have tried the last version of vbox port : virtualbox-3.0.51r21573 > unfortunately I got compilation error: > I am running 8-BETA2 amd64 : > FreeBSD houdini 8.0-BETA2 FreeBSD 8.0-BETA2 #7: Sat Jul 18 22:42:20 BST > 2009 root@houdini:/usr/obj/usr/src/sys/CUSTGEN amd64 > [...] > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c: > In function 'RTR0MemUserCopyFrom': > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:43: > error: expected ')' before 'user_addr_t' > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:43: > warning: type defaults to 'int' in declaration of 'type name' > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:43: > warning: passing argument 1 of 'copyin' makes pointer from integer > without a cast > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c: > In function 'RTR0MemUserCopyTo': > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:52: > warning: passing argument 2 of 'copyout' makes pointer from integer > without a cast > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c: > In function 'RTR0MemKernelIsValidAddr': > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:67: > error: 'R3Ptr' undeclared (first use in this function) > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:67: > error: (Each undeclared identifier is reported only once > /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c:67: > error: for each function it appears in.) > kmk[2]: *** [/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r21573/out/freebsd.amd64/release/obj/RuntimeR0Drv/r0drv/freebsd/memuserkernel-r0drv-freebsd.o] > Error 1 Which SVN revision of the port do you use? This error should be fixed with SVN revision 414. Please note the SVN version of the virtualbox port is just for testing/development. So it is possible that the port does not compile, have a incorrect pkg-plist or crash your system. We also do not bump PORTREVISION in SVN if something was fixed/changed. Beat -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpjhA0ACgkQQMW893dCSdvuhwCfUDORy9U9MfiAH+pTa7Qvyojk 7h8An2Ic8hq2O/6ggsdDhrrZCQVBcDeq =NDuc -----END PGP SIGNATURE-----