Hello,

I am trying to migrate my project to the Goa build system. However, when I try 
running Genode throws 'Genode::Xml_node::Nonexistent_sub_node'. Below I have 
provided a simplified file containing the isolated code from where the error is 
thrown along with the full runtime file. Line 13 is the where the error is 
thrown from.

I cannot figure out why this is not working, since it works just fine with the 
traditional build system (i.e. with make).

Any help will be greatly appreciated!

Best,
Rumen




Attachment: runtime
Description: runtime

#include <base/component.h>
#include <os/vfs.h>
#include <base/heap.h>
#include <base/attached_rom_dataspace.h>

void
Component::construct(Genode::Env& env)
{
    try {
	Genode::Heap _heap{ env.ram(), env.rm() };
        Genode::Attached_rom_dataspace _config{ env, "config" };

        // this is the problematic line
        Vfs::Simple_env _vfs_env{ env, _heap, _config.xml().sub_node("vfs") };
    } catch (...) {
        Genode::error("vfs sub_node not found!");
    }
}

_______________________________________________
users mailing list -- users@lists.genode.org
To unsubscribe send an email to users-le...@lists.genode.org
Archived at 
https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/5TNIDQ6X2VRGRIYR3WXNC7WWUYCUH2OT/

Reply via email to