Hello everyone
"I think your should do basically the same as in "lib/mk/spec/arm_64/
rump_include.mk". There "evbarm64/include" is linked to "include/machine". You should probably link "riscv/include" to include/machine for RISC-V."
Thank you for pointing out, I had missed adding the statement in "lib/mk/spec/riscv/
rump_include.mk".
Also I had forgotten to mention in the previous mail that, I had also updated file ("
content.mk") in "/genode/repos/dde_rump/recipes/src/rump/" to consider for riscv.
Now I am getting a new fatal error, tried to find the cause but couldn't. If you find this familiar, kindly help:
checking library dependencies...
Library ldso_so_support
COMPILE so_support.o
MERGE ldso_so_support.lib.a
Library ld
CONVERT ld.symbols.s
ASSEMBLE ld.symbols.o
MERGE ld.abi.so
Library base
MERGE base.lib.a
Library block_session
MERGE block_session.lib.a
Library config
MERGE config.lib.a
Library file_system
MERGE file_system.lib.a
Library file_system_session
MERGE file_system_session.lib.a
Library os
MERGE os.lib.a
Library rump_include
MERGE rump_include.lib.a
Library rump
COMPILE __main.o
In file included from /genode/depot/genodelabs/src/rump/2023-03-07-b/src/lib/dde_rump/src/sys/sys/types.h:47,
from /genode/depot/genodelabs/src/rump/2023-03-07-b/src/lib/dde_rump/src/sys/lib/libkern/__main.c:33:
/genode/depot/genodelabs/bin/riscv/rump/2023-03-07-b.build/var/libcache/rump/include/machine/ansi.h:3:10: fatal error: sys/common_ansi.h: No such file or directory
3 | #include <sys/common_ansi.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[7]: *** [/genode/repos/base/mk/generic.mk:58: __main.o] Error 1
make[6]: *** [var/libdeps:184: rump.lib] Error 2
make[5]: *** [Makefile:336: gen_deps_and_build_targets] Error 2
make[4]: *** [/genode/tool/depot/mk/build_bin_archive:208: /genode/depot/genodelabs/bin/riscv/rump/2023-03-07-b.build/bin] Error 1
make[3]: *** [/genode/depot/var/build.mk:264: genodelabs/bin/riscv/rump/2023-03-07-b] Error 2
make[2]: *** [/genode/tool/depot/build:136: execute_generated_build_mk_file] Error 2
make[1]: *** [/genode/tool/depot/create:59: build] Error 2
make[1]: Leaving directory '/genode/build/riscv'
Thanks & regards,
Pranab