I am working on making VirtualBox 3.1.6 after releasing FreeNAS 0.7.1.
I found VirtualBox 3.1.6 does not work under i386 kernel.
It seems PNG library is not used correctly in VBoxC.so.
However, I don't know how to correct it by smart way.
Also I cannot test it under X11.

Could you test my patch under X11 + i386 kernel?
Before patch, you will get like this:
----------------------------------------------------------------------
[aoy...@freenas225 ~]$ VBoxManage list vms
Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

ERROR: failed to create a session object!
ERROR: code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not
registered (extended info not available)
Most likely, the VirtualBox COM server is not running or failed to start.
----------------------------------------------------------------------

After patch, you should be able to use VirtualBox 3.1.6.

How to use the patch? Extract all of patches and make.

# cd /usr/ports/emulators/virtualbox-ose
# tar xvf /path/to/vboxvnc-20100211.tar.gz
# tar xvf /path/to/vboxint18-20100310.tar.gz
# tar xvf /path/to/vboxvnc-316-png-Makefile.tar.gz

Run make config, and make.

If you want my tested kernel/environment, you can get it from:
http://sourceforge.net/projects/freenas/files/stable/0.7.1/

Previous mails:
http://lists.freebsd.org/pipermail/freebsd-emulation/2010-February/007409.html
http://lists.freebsd.org/pipermail/freebsd-emulation/2010-March/007540.html
http://lists.freebsd.org/pipermail/freebsd-emulation/2010-April/007630.html

Thanks,
Daisuke Aoyama

Attachment: vboxvnc-316-png-Makefile.tar.gz
Description: Binary data

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to