Menu

Genode compilation for nova_x86_64

janardhan
2017-04-19
2017-04-19
  • janardhan

    janardhan - 2017-04-19

    Hi,
    I am going to compile genode for nova_x86_64 by using following steps

    1) Downloaded source code of the NOVA microhypervisor by using below command in genode directory
    ./tool/ports/prepare_port nova

    2)Downloaded the 3rd-party source code of the x86emu library:
    ./tool/ports/prepare_port x86emu

    3)Created a build directory for the nova_x86_64 platform:
    ./tool/create_builddir nova_x86_64

    4)After that i run below command in nova_x86_64 directory
    make run/demo

    But While compiling i am getting below error
    COMPILE vmx.o
    COMPILE vtlb.o
    LINK hypervisor
    make[1]: Leaving directory `/home/janardhan/genode/build/nova_x86_64'
    genode build completed
    using 'ld-nova.lib.so' as 'ld.lib.so'
    using 'nova_timer_drv' as 'timer'
    cp: cannot stat ‘bin/fb_drv’: No such file or directory
    while executing
    "exec cp bin/[kernel_specific_binary $binary] [run_dir]/genode/$binary"
    (procedure "copy_and_strip_genode_binaries_to_run_dir" line 4)
    invoked from within
    "copy_and_strip_genode_binaries_to_run_dir $modules"
    (procedure "build_core_image" line 8)
    invoked from within
    "build_core_image $binaries"
    (procedure "run_boot_dir" line 12)
    invoked from within
    "run_boot_dir $binaries"
    (procedure "build_boot_image" line 2)
    invoked from within
    "build_boot_image $boot_modules"
    (file "/home/janardhan/genode/repos/os/run/demo.run" line 267)
    invoked from within
    "source $include_name"
    ("foreach" body line 6)
    invoked from within
    "foreach include_name [get_cmd_arg --include ""] {
    # first check if the include name is absolute
    if {[string first "/" $include_name] == 0} {
    puts ..."
    (file "/home/janardhan/genode/tool/run/run" line 809)
    make: *** [run/demo] Error 1

    Can anyone help?

     
  • Christian Helmuth

    Hello,
    please let me first inform you that very few people frequent this forum and most Genode discussion happens on the mailing list

    http://genode.org/community/mailing-lists

    If you subscribe to the list and post there, I expect that you get profound tips from the community.

    Regarding your question it seems you missed to adapt build/nova_x86_64/etc/build.conf like described here

    https://genode.org/documentation/developer-resources/getting_started#Using_platforms_other_than_Linux

    The reason is that the x86emu library is in the libports repository, which is not enabled by default.

    Regards
    Christian

     
  • janardhan

    janardhan - 2017-04-20

    Hi Christian Helmuth,

    I registered as a member but still i did not received conformation mail.

     
  • Christian Helmuth

    I subscribed you manually with the address you used for posting on the list. Did you receive the confirmation now?

     

Log in to post a comment.