rump files missing fatal error on virt qemu riscv
Sebastian Sumpf
Sebastian.Sumpf at genode-labs.com
Mon Mar 6 10:38:15 CET 2023
Hi Pranab,
On 3/5/23 18:30, Pranab Kumar Rout cs21m045 wrote:
> Hi genodians,
> Thanks Sebastian for the kind reply. I created this directory:
> "repos/dde_rump/lib/mk/spec/*riscv*/" and added two files inside it:
> *"rump_include.mk <http://rump_include.mk>"* and *"rump.mk <http://rump.mk>"
> *for riscv. After that, I updated this file:
> /genode/repos/dde_rump/lib/import/*import-rump.mk <http://import-rump.mk>*
> in order to consider riscv targets.
> Now, the missing rump.mk <http://rump.mk> error is not there but still the fatal
> error is there while building sculpt for riscv. Can you please suggest what else
> I need to do?
>
> Library rump
> COMPILE __main.o
> In file included from
> /genode/depot/genodelabs/src/rump/2023-03-02-b/src/lib/dde_rump/src/sys/lib/libkern/__main.c:33:
> /genode/depot/genodelabs/src/rump/2023-03-02-b/src/lib/dde_rump/src/sys/sys/types.h:45:10: *fatal error: machine/types.h:* /No such file or directory/
> * 45 | #include <machine/types.h>
> | ^~~~~~~~~~~~~~~~~*
> compilation terminated.
> make[7]: *** [/genode/repos/base/mk/generic.mk:58 <http://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-02-b.build/bin] Error 1
> make[3]: *** [/genode/depot/var/build.mk:264 <http://build.mk:264>:
> genodelabs/bin/riscv/rump/2023-03-02-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'
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.
Regards,
Sebastian
"
> genode/depot/genodelabs/src/rump/2022-11-28/src/lib/dde_rump/src/sys/sys/cdefs.h:58:10: fatal error: machine/cdefs.h: No such file or directory
> > 58 | #include <machine/cdefs.h>
> > | ^~~~~~~~~~~~~~~~~
> > compilation terminated.
> > make[7]: *** [/genode/repos/base/mk/generic.mk:58 <http://generic.mk:58>
> <http://generic.mk:58 <http://generic.mk:58>>:
> > autoconf.o] Error 1
> > make[6]: *** [var/libdeps:187: rump_fs.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/2022-11-28.build/bin] Error 1
> > make[3]: *** [/genode/depot/var/build.mk:264 <http://build.mk:264>
> <http://build.mk:264 <http://build.mk:264>>:
> > genodelabs/bin/riscv/rump/2022-11-28] 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'
> >
> > It seems some ports are not prepared for riscv. Kindly suggest what
> > files/directories are to be added and which files require changes.
> >
> > Thanks and regards,
> > Pranab
> >
> > _______________________________________________
> > Genode users mailing list
> > users at lists.genode.org <mailto:users at lists.genode.org>
> > https://lists.genode.org/listinfo/users
> <https://lists.genode.org/listinfo/users>
>
> --
> Sebastian Sumpf
> Genode Labs
>
> http://www.genode-labs.com <http://www.genode-labs.com> · http://genode.org
> <http://genode.org>
>
> Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
> Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
>
>
>
>
>
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org <mailto:users at lists.genode.org>
> https://lists.genode.org/listinfo/users
> <https://lists.genode.org/listinfo/users>
>
>
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users
--
Sebastian Sumpf
Genode Labs
http://www.genode-labs.com · http://genode.org
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