Re: Undefined references when extending Child in repo "Base"

2020-07-06 Thread Sebastian Sumpf
Hi Simon, On 7/6/20 1:49 PM, Simon Himmelbauer wrote: > Hi Sebastian, > >> In case you want to call 'Child::test_print()' from outside of the base >> library (e.g., a dynamically linked program), you need to add the >> mangled 'Child::test_print' symbol to the Genode base library symbol >> file

Re: Undefined references when extending Child in repo "Base"

2020-07-06 Thread Simon Himmelbauer
Hi Sebastian, In case you want to call 'Child::test_print()' from outside of the base library (e.g., a dynamically linked program), you need to add the mangled 'Child::test_print' symbol to the Genode base library symbol file [1]. This way the dynamic linker can find and export the function.

Re: components sequence and libc

2020-07-06 Thread Alexander Tormasov via users
Hello, Christian, and thank you for answer! Seems that problem a bit deeper - I need to use complex application written on 4 languages (C, C++, golang and asm), each with own static objects constructors. Frankly speaking, seems that this bug was present even in 19.08/19.11 versions. I hit in in

Re: Undefined references when extending Child in repo "Base"

2020-07-06 Thread Sebastian Sumpf
Hi Simon, On 7/6/20 8:13 AM, Simon Himmelbauer wrote: > Hi Genodians, > > I am attempting to extend the class Child (base/include/base/child.h) > with an additional function. However, when compiling my test program, I > receive an undefined references error, even though I added the >

Re: Virtualbox recipe?

2020-07-06 Thread Alexander Boettcher
Hello, the Genodians article of Josef https://genodians.org/jws/2019-07-08-download_debian-guest-additions-reloaded gives you useful hints. Cheers, Alex. On 04.07.20 04:33, Lonnie Cumberland wrote: > Greetgins all, > > I am back at it to try and work with Genode and Sulpt OS 20.02 now and

Undefined references when extending Child in repo "Base"

2020-07-06 Thread Simon Himmelbauer
Hi Genodians, I am attempting to extend the class Child (base/include/base/child.h) with an additional function. However, when compiling my test program, I receive an undefined references error, even though I added the implementation to src/lib/base/child.cc. My observation seems to be that

Re: components sequence and libc

2020-07-06 Thread Christian Helmuth
Hello Alexander, it seems your component startup misses to initialize all modules correctly. While I have no idea where this stems from I have two options to proceed. First, I suggest a closer look into the changes in [1] that cleans up shared library initialization. The alternative is to use