Compilation failure on SVN version of vbox port

Beat Gaetzi beat at FreeBSD.org
Sun Jul 19 20:53:40 UTC 2009


-----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 at 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-----


More information about the freebsd-emulation mailing list