lxip echo not working

Christian Helmuth christian.helmuth at ...1...
Mon Mar 13 10:53:17 CET 2017

Hello Boris,

On Mon, Mar 13, 2017 at 10:07:57AM +0100, Boris Mulder wrote:
> Well, the socket() call seems to work now, but somewhere within bind()
> it gives the following errors:
> [init -> echo] Warning: getnameinfo: getnameinfo not implemented
> [init -> echo] Error: Uncaught exception of type '(anonymous
> namespace)::Address_conversion_failed'
> it seems that inside libports/src/lib/libc/socket_fs_plugin.cc, it tries
> to call an unimplemented function getnameinfo() and throws an exception
> when that fails.
> Just to make sure, I attached the code I copied from the echo test and
> wrapped in the Component api.

You're missing the libc_resolv libc plugin in your scenario. We intend to
merge this library back into the libc in the future but for historical
reasons it is currently a separate binary libc_resolv.lib.so. Please
refer to repos/libports/run/echo_udp.run for an example integrating
the plugin into the boot modules.

Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://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

More information about the users mailing list