Hi,

On 10/29/2013 07:47 PM, Reinier Millo Sánchez wrote:
> Hello
> 
> I'm trying to compile Genode+Fiasco.OC for ARM.
> I have downloaded the Genode latest revision from:
>   https://github.com/genodelabs/genode
> and the Fiasco.OC+L4RE latest revision (r59) from:
>   http://svn.tudos.org/repos/oc/tudos/trunk/

I would not recommend to checkout Fiasco and L4RE by hand, instead I
would suggest do go to the 'base-foc' directory and enter 'make prepare'
there. This will checkout the kernel and other parts needed by Genode.
Currently this checkout will match SVN revision 56. So, if you have any
urgent reason to use r59, take a look in 'base-foc/contrib' and try to
checkout the same things for r59. The problem is, that we apply some
patches to Fiasco/L4RE, so things might not work correctly.

> I have copied the Fiasco.OC+L4RE to <genode>/base-foc/contrib folder.
> I have created my build directory and tried to compile it
> 
>   ./tool/create_builddir foc_pbxa9 BUILD_DIR=build_arm
>   cd build_arm
>   make -j2 run/demo
> 
> In this case, when it's trying to compile the moe server got this error, but 
> when compiling the same sample for i386 don't use moe and compile without 
> errors.
>   ...
>   Building 
> /home/millo/Work/Compiling/genode-master/build_arm/l4/pkg/moe/server/src/.general.d
>   make2: Leaving directory 
> `/home/millo/Work/Compiling/genode-master/base-foc/contrib/l4/pkg/moe/server/src'
>   make2: Entering directory 
> `/home/millo/Work/Compiling/genode-master/base-foc/contrib/l4/pkg/moe/server/src'
>   Library dependencies missing: libkproxy libloader l4re-util cxx_libc_io 
> libc_be_minimal_log_io libsupc++_minimal in directory 
> '/home/millo/Work/Compiling/genode-master/base-foc/contrib/l4/pkg/moe/server/src';
>  aborting.
>   make3: Entering directory 
> `/home/millo/Work/Compiling/genode-master/build_arm/l4/pkg/moe/server/src/OBJ-arm_armv7a-l4f'
>   
> /home/millo/Work/Compiling/genode-master/base-foc/contrib/l4/mk/binary.inc:341:
>  *** Cflags dependencies missing: libkproxy libloader l4re-util cxx_libc_io 
> libc_be_minimal_log_io libsupc++_minimal in directory 
> '/home/millo/Work/Compiling/genode-master/base-foc/contrib/l4/pkg/moe/server/src';
>  aborting.. Stop.

There is no need to build 'moe' for Genode. All that is required is the
kernel, 'bootstrap', and 'sigma0'. You could try to remove it from the
build system (see attached patch).

Greetings,

Sebastian
-- 
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth



commit 300faf9de768e81fb319d05dfef0e8666c083e35
Author: Sebastian Sumpf <[email protected]>
Date:   Wed Feb 20 12:30:53 2013 +0100

    L4RE: Remove 'moe' from 'switch_ram_base' target

diff --git a/l4/Makefile b/l4/Makefile
index 16cf140..0d4bef4 100644
--- a/l4/Makefile
+++ b/l4/Makefile
@@ -393,7 +393,6 @@ define switch_ram_base_func
 	echo "# File semi-automatically generated by 'make switch_ram_base'" > $(OBJ_BASE)/Makeconf.ram_base; \
 	echo "RAM_BASE := $(1)"                                             >> $(OBJ_BASE)/Makeconf.ram_base; \
 	PWD=$(PWD)/pkg/sigma0/server/src $(MAKE) RAM_BASE=$(1) -C pkg/sigma0/server/src;                      \
-	PWD=$(PWD)/pkg/moe/server/src    $(MAKE) RAM_BASE=$(1) -C pkg/moe/server/src;                         \
 	echo "RAM_BASE_SWITCH_OK := yes"                                    >> $(OBJ_BASE)/Makeconf.ram_base
 endef
 
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to