Building Genode on Fiasco.OC - problem

Stefan Kalkowski stefan.kalkowski at ...1...
Wed Apr 13 13:26:16 CEST 2011


Hello,

it seems to me, that the path to the kernel bindings (which fall into
the L4Re build-directory) is missing or wrong.

Please make sure to assign the right L4Re build-directory to the
'L4_DIR' variable in 'etc/foc.conf' in Genode's build-directory. If that
value is correct from your point of view, please post all files located
underneath the 'etc' directory and post the complete output, after doing:

  make VERBOSE=

Regards
Stefan

On 04/13/2011 12:36 PM, Guess Who? wrote:
> Stefan,
> 
> I did the "genode-toolchain" thing and got compile errors in malloc_free
> (which I display below). I've been following the instructions in "Genode
> on Fiasco.OC" religiously, so I must be missing something. Can you tell
> me what it is?
> 
> Peace,
> Chance
> 
> .....
> COMPILE guard.o
> COMPILE malloc_free.o
> In file included from
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/capability.h:18,
> from
> /home/wegrzyn/Fiasco/src/genode/base/include/base/typed_capability.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/parent/capability.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/base/env.h:20,
> from /home/wegrzyn/Fiasco/src/genode/base/src/base/cxx/malloc_free.cc:17:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:5:27:
> warning: l4/sys/consts.h: No such file or directory
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:6:26:
> warning: l4/sys/types.h: No such file or directory
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:7:25:
> warning: l4/sys/utcb.h: No such file or directory
> In file included from
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/capability.h:18,
> from
> /home/wegrzyn/Fiasco/src/genode/base/include/base/typed_capability.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/parent/capability.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/base/env.h:20,
> from /home/wegrzyn/Fiasco/src/genode/base/src/base/cxx/malloc_free.cc:17:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:14:
> error: ‘l4_cap_idx_t’ does not name a type
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:19:
> error: ‘L4_INVALID_CAP’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:20:
> error: ‘L4_BASE_TASK_CAP’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:21:
> error: ‘L4_CAP_SHIFT’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:22:
> error: ‘L4_CAP_SHIFT’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:23:
> error: ‘L4_CAP_SHIFT’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:25:
> error: ‘L4_CAP_SHIFT’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:26:
> error: ‘L4_CAP_SHIFT’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:27:
> error: ‘L4_CAP_SIZE’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:30:
> error: expected ‘)’ before ‘cap’
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:39:
> error: expected type-specifier before ‘l4_cap_idx_t’
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h: In
> constructor ‘Fiasco::Fiasco_capability::Fiasco_capability(void*)’:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:34:
> error: class ‘Fiasco::Fiasco_capability’ does not have any field named
> ‘_cap_idx’
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:34:
> error: ‘l4_cap_idx_t’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h: In
> member function ‘bool Fiasco::Fiasco_capability::valid() const’:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:36:
> error: ‘_cap_idx’ was not declared in this scope
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:36:
> error: ‘L4_INVALID_CAP_BIT’ is not a member of ‘Fiasco’
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h: At
> global scope:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:50:
> error: expected initializer before ‘*’ token
> In file included from
> /home/wegrzyn/Fiasco/src/genode/base/include/base/typed_capability.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/parent/capability.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/base/env.h:20,
> from /home/wegrzyn/Fiasco/src/genode/base/src/base/cxx/malloc_free.cc:17:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/capability.h: In
> constructor ‘Genode::Capability::Capability()’:
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/capability.h:34:
> error: no matching function for call to
> ‘Fiasco::Fiasco_capability::Fiasco_capability()’
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:33:
> note: candidates are: Fiasco::Fiasco_capability::Fiasco_capability(void*)
> /home/wegrzyn/Fiasco/src/genode/base-foc/include/base/native_types.h:10:
> note: Fiasco::Fiasco_capability::Fiasco_capability(const
> Fiasco::Fiasco_capability&)
> In file included from
> /home/wegrzyn/Fiasco/src/genode/base/include/base/lock.h:17,
> from /home/wegrzyn/Fiasco/src/genode/base/include/base/semaphore.h:18,
> from /home/wegrzyn/Fiasco/src/genode/base/include/base/signal.h:20,
> from
> /home/wegrzyn/Fiasco/src/genode/base/include/rm_session/rm_session.h:19,
> from /home/wegrzyn/Fiasco/src/genode/base/include/base/env.h:22,
> from /home/wegrzyn/Fiasco/src/genode/base/src/base/cxx/malloc_free.cc:17:
> /home/wegrzyn/Fiasco/src/genode/base/include/base/cancelable_lock.h: In
> member function ‘bool
> Genode::Cancelable_lock::Applicant::operator==(Genode::Cancelable_lock::Applicant&)’:
> 
> /home/wegrzyn/Fiasco/src/genode/base/include/base/cancelable_lock.h:51:
> error: no match for ‘operator==’ in
> ‘((Genode::Cancelable_lock::Applicant*)this)->Genode::Cancelable_lock::Applicant::_tid
> ==
> ((Genode::Cancelable_lock::Applicant*)a)->Genode::Cancelable_lock::Applicant::tid()’
> 
> /home/wegrzyn/Fiasco/src/genode/base/include/base/cancelable_lock.h: In
> member function ‘bool
> Genode::Cancelable_lock::Applicant::operator!=(Genode::Cancelable_lock::Applicant&)’:
> 
> /home/wegrzyn/Fiasco/src/genode/base/include/base/cancelable_lock.h:52:
> error: no match for ‘operator!=’ in
> ‘((Genode::Cancelable_lock::Applicant*)this)->Genode::Cancelable_lock::Applicant::_tid
> !=
> ((Genode::Cancelable_lock::Applicant*)a)->Genode::Cancelable_lock::Applicant::tid()’
> 
> make[2]: *** [malloc_free.o] Error 1
> make[1]: *** [cxx.lib] Error 2
> make: *** [gen_deps_and_build_targets] Error 2
> 

-- 
Stefan Kalkowski
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




More information about the users mailing list