Hi,
Here is another patch for FreeBSD users:

- Fixes XCursor library detection in configure
- Fixes XCursor library dependancy for VBoxBFE
- Enable VBOX_WITH_MAIN VBOX_WITH_VBOXSDL VBOX_WITH_QTGUI compilation
on FreeBSD OS(Config.kmk)
- Mark TAP device as unsupported in "src/VBox/Main/ConsoleImpl.cpp"

With svn trunk + the patch, you can build VirtualBox's full GUI:

http://www.aixmarseille.com/pub/VirtualBox_FreeBSD2.png

* Compilation:
-svn checkout
-patch -./configure
- source ./env.sh
- kmk

* Run
- cd out/freebsd.x86/release/bin
- export LD_LIBRARY_PATH=.
- export VBOX_SUPLIB_FAKE=fake
- ./VirtualBox

Enjoy !
Olivier Fauchon

Hi,

when trying to build any svn revision I get the following (attached) error message and I can't figure out a solution myself.

It's FreeBSD 6.2-RELEASE-p4 i386 and gcc version 3.4.6 [FreeBSD] 20060305.

Sorry for any trivial information.

Regards
   Fabian

In file included from /usr/src/sys/sys/pcpu.h:46,
                 from 
/usr/home/abber/src/vbox/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:46,
                 from 
/usr/home/abber/src/vbox/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c:34:
/usr/include/machine/pcpu.h:171:2: #error this file needs to be ported to your 
compiler
In file included from 
/usr/home/abber/src/vbox/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:53,
                 from 
/usr/home/abber/src/vbox/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c:34:
/usr/src/sys/sys/sched.h: In function `sched_pin':
/usr/src/sys/sys/sched.h:100: warning: implicit declaration of function 
`PCPU_GET'
/usr/src/sys/sys/sched.h:100: warning: nested extern declaration of `PCPU_GET'
/usr/src/sys/sys/sched.h:100: error: `curthread' undeclared (first use in this 
function)
/usr/src/sys/sys/sched.h:100: error: (Each undeclared identifier is reported 
only once
/usr/src/sys/sys/sched.h:100: error: for each function it appears in.)
/usr/src/sys/sys/sched.h:100: error: invalid type argument of `->'
/usr/src/sys/sys/sched.h: In function `sched_unpin':
/usr/src/sys/sys/sched.h:106: warning: nested extern declaration of `PCPU_GET'
/usr/src/sys/sys/sched.h:106: error: `curthread' undeclared (first use in this 
function)
/usr/src/sys/sys/sched.h:106: error: invalid type argument of `->'
kmk[3]: *** 
[/usr/home/abber/src/vbox/out/freebsd.x86/release/obj/src/VBox/Runtime/RuntimeR0Drv/r0drv/freebsd/alloc-r0drv-freebsd.o]
 Error 1
kmk[2]: *** [pass_libraries_before] Error 2
kmk[1]: *** [pass_libraries_before] Error 2
kmk: *** [pass_libraries_before] Error 2
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to