When I make my own component that uses libc sockets, whenever I call socket(), I get a segmentation fault.
If I edit the echo test and make it use Libc::Component::construct instead of posix libc 'int main()' (and adding the right dependencies to the makefiles), the same thing happens.
So it seems the libc sockets are only working under the posix libc API.
How can I make my own Genode component that uses both the genode Component API and the linux tcp/ip stack with sockets?
On 09-03-17 12:14, Christian Helmuth wrote:
Hello Boris,
On Thu, Mar 09, 2017 at 12:00:23PM +0100, Boris Mulder wrote:
I'm trying to play around with the new lxip vfs plugin. First, I tried running the echo_udp.run test (on linux), but when I run the echo component it exits with the following error message:
"Error: no plugin found for socket()"
Unfortunately, a small bug slipped into the release which is already fixed in our staging branch
https://github.com/genodelabs/genode/commit/72d59719409070684d267487e8c3e048...
Greets