Hi Genodians,
After downgrading the bison to 2.7, I was able to overcome that error. Now while executing this,

I am getting a new fatal error. Please look into it and suggest something. I am unable identify the problem:

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 jitterentropy
    MERGE    jitterentropy.lib.a
  Library os
    MERGE    os.lib.a
  Program app/gpt_write/gpt_write
    COMPILE  main.o
    COMPILE  util.o
In file included from /home/pranab/MTP/r5/genode/depot/genodelabs/api/jitterentropy/2022-11-16/include/jitterentropy/jitterentropy.h:46,
                 from /home/pranab/MTP/r5/genode/depot/genodelabs/src/gpt_write/2022-11-28/src/app/gpt_write/util.cc:21:
/home/pranab/MTP/r5/genode/depot/genodelabs/api/jitterentropy/2022-11-16/src/lib/jitterentropy/jitterentropy-base-genode.h:42:10: fatal error: jitterentropy-base-genode-nstime.h: No such file or directory
   42 | #include <jitterentropy-base-genode-nstime.h>
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[7]: *** [/home/pranab/MTP/r5/genode/repos/base/mk/generic.mk:62: util.o] Error 1
make[6]: *** [var/libdeps:151: gpt_write.prg] Error 2
make[5]: *** [Makefile:336: gen_deps_and_build_targets] Error 2
make[4]: *** [/home/pranab/MTP/r5/genode/tool/depot/mk/build_bin_archive:208: /home/pranab/MTP/r5/genode/depot/genodelabs/bin/riscv/gpt_write/2022-11-28.build/bin] Error 1
make[3]: *** [/home/pranab/MTP/r5/genode/depot/var/build.mk:264: genodelabs/bin/riscv/gpt_write/2022-11-28] Error 2
make[2]: *** [/home/pranab/MTP/r5/genode/tool/depot/build:136: execute_generated_build_mk_file] Error 2
make[1]: *** [/home/pranab/MTP/r5/genode/tool/depot/create:59: build] Error 2

Thanks & Regards,
Pranab

On Sat, Feb 18, 2023 at 3:57 PM Alexander Tormasov via users <users@lists.genode.org> wrote:
>
> Thanks a million for this tip, Alexander!  I am using Debian unstable, and this has prevented me from building for months.

I spend couple days to fight with bison3 and fail finally…
so, this trick is a workaround, not a solution
probably original of bash distro in genode should be updated to newer version

>
> Now I am getting stopped by another error altogether:
>
>  ...
>  [Linux] /home/mainuser/Devel/genode_main/genode/depot/genodelabs/api/pc_linux/2023-01-23/src/linux/scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
>  [Linux]     21 | #include <openssl/bio.h>
>  [Linux]        |          ^~~~~~~~~~~~~~~
>  [Linux]  compilation terminated.
>  …

never saw this - while seems that this is related to too new version of libssl-dev package.
try to downgrade them as well
in stack overflow I saw same problem and recommendation to downgrade to 1.1.1b-1ubuntu2 from …2.1



_______________________________________________
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users