Greetings All,
I have just been trying to compile Genode with NOVA and VirtualBox and ran into an error:
-----------------------------------------------
MERGE virtualbox-recompiler.lib.a Library virtualbox-runtime COMPILE Runtime/VBox/log-vbox.o COMPILE Runtime/common/alloc/memcache.o ASSEMBLE Runtime/common/asm/ASMAtomicCmpXchgU64.o ASSEMBLE Runtime/common/asm/ASMAtomicReadU64.o ASSEMBLE Runtime/common/asm/ASMAtomicUoReadU64.o ASSEMBLE Runtime/common/asm/ASMAtomicXchgU64.o COMPILE Runtime/common/checksum/md5.o COMPILE Runtime/common/err/RTErrConvertFromErrno.o CONVERT errmsgdata.h COMPILE Runtime/common/err/errmsg.o genode-x86-g++: error: Runtime/common/err/errmsg.cpp: No such file or directory genode-x86-g++: fatal error: no input files compilation terminated. make[2]: *** [Runtime/common/err/errmsg.o] Error 1 make[1]: *** [virtualbox-runtime.lib] Error 2 make: *** [gen_deps_and_build_targets] Error 2
----------------------------------------------
everything was proceeding well and I had completed all of the "make prepare" requirement and did the "make virtualbox"
I have the genode-toolchain-12.11-x86_64.tar.bz2 installed as well on my 64-bit Debian system which is running in VirtualBox on a test system for building as I want to generate an iso to boot into a machine to see how it works.
I would like to replicate the genode/nova/virtualbox demo done at FOSDEM to run some simple test OS's.
Kind Regards and have a great day, Lonnie
Hey,
this looks rather strange as RTErrConvertFromErrno.o and errmsgdata.h (which also depends on a file in Runtime/common/err) are generated successfully.
On Wed, Mar 05, 2014 at 09:56:37AM -0500, Lonnie Cumberland wrote:
COMPILE Runtime/common/err/errmsg.o
genode-x86-g++: error: Runtime/common/err/errmsg.cpp: No such file or directory genode-x86-g++: fatal error: no input files compilation terminated. make[2]: *** [Runtime/common/err/errmsg.o] Error 1 make[1]: *** [virtualbox-runtime.lib] Error 2
Could you please check if the file is indeed missing? If I do
ls -1 <genode dir>/ports/contrib/virtualbox-4.2.16/src/VBox/Runtime/common/err/
I get
Makefile.kup RTErrConvertFromErrno.cpp RTErrConvertToErrno.cpp errinfo.cpp errmsg.cpp errmsg.sed errmsgcom.sed errmsgxpcom.cpp
Regards
Hi Christian,
Yea, I also checked it as well and it is there.
lonnie@...223...:~/genode$ ls -1 ./ports/contrib/virtualbox-4.2.16/src/VBox/Runtime/common/err/ errinfo.cpp errmsgcom.sed errmsg.cpp errmsg.sed errmsgxpcom.cpp Makefile.kup RTErrConvertFromErrno.cpp RTErrConvertToErrno.cpp lonnie@...223...:~/genode$
very strange indeed.
Kind Regards and have a great day, Lonnie
On Wed, Mar 5, 2014 at 10:12 AM, Christian Helmuth < christian.helmuth@...1...> wrote:
Hey,
this looks rather strange as RTErrConvertFromErrno.o and errmsgdata.h (which also depends on a file in Runtime/common/err) are generated successfully.
On Wed, Mar 05, 2014 at 09:56:37AM -0500, Lonnie Cumberland wrote:
COMPILE Runtime/common/err/errmsg.o
genode-x86-g++: error: Runtime/common/err/errmsg.cpp: No such file or directory genode-x86-g++: fatal error: no input files compilation terminated. make[2]: *** [Runtime/common/err/errmsg.o] Error 1 make[1]: *** [virtualbox-runtime.lib] Error 2
Could you please check if the file is indeed missing? If I do
ls -1 <genode dir>/ports/contrib/virtualbox-4.2.16/src/VBox/Runtime/common/err/
I get
Makefile.kup RTErrConvertFromErrno.cpp RTErrConvertToErrno.cpp errinfo.cpp errmsg.cpp errmsg.sed errmsgcom.sed errmsgxpcom.cpp
Regards
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.cl... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi,
On 05.03.2014 15:56, Lonnie Cumberland wrote:
MERGE virtualbox-recompiler.lib.a Library virtualbox-runtime COMPILE Runtime/VBox/log-vbox.o COMPILE Runtime/common/alloc/memcache.o ASSEMBLE Runtime/common/asm/ASMAtomicCmpXchgU64.o ASSEMBLE Runtime/common/asm/ASMAtomicReadU64.o ASSEMBLE Runtime/common/asm/ASMAtomicUoReadU64.o ASSEMBLE Runtime/common/asm/ASMAtomicXchgU64.o COMPILE Runtime/common/checksum/md5.o COMPILE Runtime/common/err/RTErrConvertFromErrno.o CONVERT errmsgdata.h COMPILE Runtime/common/err/errmsg.o genode-x86-g++: error: Runtime/common/err/errmsg.cpp: No such file or directory genode-x86-g++: fatal error: no input files compilation terminated. make[2]: *** [Runtime/common/err/errmsg.o] Error 1 make[1]: *** [virtualbox-runtime.lib] Error 2 make: *** [gen_deps_and_build_targets] Error 2
Could it be that your ports/download folder is actual a symbolic link ? I remember have seen this for this case. Please try just to re-run your 'make' command as quick fix.
Hope it helps,
Alex.
Hello Lonnie,
you revealed a subtle bug in our library make files for virtualbox, which only emerges when doing non-parallel builds. Could you please give the attached patch a try - it worked for me pretty well and is on its way to origin/staging.
Happy hacking
I'll see if I can do a test with the patch in place.
Can you please also tell me what packages virtualbox needs in the libports?
Here is what I have so far, but am trying to keep the whole build to minimal sizes.
cd ../libports make prepare PKG="x86emu libc zlib sdl libpng stdcxxcd lwip"
Kind Regards and have a great day, Lonnie
On Wed, Mar 5, 2014 at 11:12 AM, Christian Helmuth < christian.helmuth@...1...> wrote:
Hello Lonnie,
you revealed a subtle bug in our library make files for virtualbox, which only emerges when doing non-parallel builds. Could you please give the attached patch a try - it worked for me pretty well and is on its way to origin/staging.
Happy hacking
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.cl... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Lonnie,
Can you please also tell me what packages virtualbox needs in the libports?
Here is what I have so far, but am trying to keep the whole build to minimal sizes.
cd ../libports make prepare PKG="x86emu libc zlib sdl libpng stdcxxcd lwip"
the minimal preparations are:
cd genode
make -C ports prepare PKG=virtualbox make -C libports prepare PKG="libc x86emu" make -C base-nova prepare
The x86emu package is solely needed for the VESA graphics driver.
You will also need to copy an ISO image named "test.iso" into your build directory's 'bin/' before executing 'make run/virtualbox'. Please take a look at 'ports/run/virtualbox.run' to look behind the scenes.
Cheers Norman
Hi Christian,
I think that I have not done this correctly as when I tried"
~/genode/patch -p0 < vbox-lib.patch
then I am asked about which file to patch.
Have not had much experience with patching in the past. Sorry.
I am going to start with a fresh genode source tree from GIT as well.
Kind Regards and have a great day, Lonnie
On Wed, Mar 5, 2014 at 11:12 AM, Christian Helmuth < christian.helmuth@...1...> wrote:
Hello Lonnie,
you revealed a subtle bug in our library make files for virtualbox, which only emerges when doing non-parallel builds. Could you please give the attached patch a try - it worked for me pretty well and is on its way to origin/staging.
Happy hacking
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.cl... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Lonnie,
On Wed, Mar 05, 2014 at 11:42:21AM -0500, Lonnie Cumberland wrote:
I think that I have not done this correctly as when I tried"
~/genode/patch -p0 < vbox-lib.patch
then I am asked about which file to patch.
It seems your command line is wrong. Please try
patch -p1 < vbox-lib.patch or patch -p1 -i vbox-lib.patch
Please also have a look at 'git help apply'.
Greets
Hi Christian,
I was able to get VirtualBox to compile and am working to see if I can test it as it does not look like it will work in Qemu. For this part, I think that I will just get the iso and boot it from a CDROM onto a test machine.
As it also seems that VirtualBox may not have all of the features implemented that would be in the normal VB 4.2.x release beyond the networking and SMP which Norman has already mentioned, I was wondering what else might be missing, or perhaps the converse as to what might be implemented like VB CDROM's etc....
My next goals are to get a bit more familiar with Genode + NOVA for the demo's and other things like the Nitpicker GUI, etc.... I want to compile up some other things that are in the current release and test them out to get more of a feel for how Genode does thing. I also was looking to see if Genode has some type of file explorer available. I guess that I could use a terminal and mount in a filesystem, or something.
I will also be exploring the older NOVA code as I want to find out how they did some of the things in the NOVA 0.3 demo like showing the "tutor" and switching between the VMM's via [win] + F1 - F12 or LArrow and RArrow into fullscreen for each VMM.
Anyway, it looks like I am off to a good start and I really appreciate all of your's and Normans help.
Cheers, Lonnie
-----Original Message----- From: Christian Helmuth [mailto:christian.helmuth@...1...] Sent: Wednesday, March 5, 2014 12:32 PM To: genode-main@lists.sourceforge.net Subject: Re: virtualbox compilation errors
Lonnie,
On Wed, Mar 05, 2014 at 11:42:21AM -0500, Lonnie Cumberland wrote:
I think that I have not done this correctly as when I tried"
~/genode/patch -p0 < vbox-lib.patch
then I am asked about which file to patch.
It seems your command line is wrong. Please try
patch -p1 < vbox-lib.patch or patch -p1 -i vbox-lib.patch
Please also have a look at 'git help apply'.
Greets -- Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.cl... _______________________________________________ Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main