Yet another question

Florian Grätz florian.graetz at ...9...
Mon Dec 12 23:24:50 CET 2016


Hello, community,

first of all: let me express, how helpful and responsive this mailing list
is. I finally succeeded in running make for hw_rpi - still I have no idea
how to run it on my real hardware. make surely created many files, most of
them object files (.o), or object archives (.a). For running on my
hardware, I would need an image file, which I can write on an SD card,
though. How would I create one? Browsing through the .txt files didn't
yield to anything useful.

I also have another concern when making for target linux_x86 according to
section 'Quick start to build genode for linux'. make run/demo quits with
the following errors:
/usr/bin/ld: fb_sdl.o: relocation R_X86_64_32 agains symbol
'_ZTIN6Genode11Msgbuf_base13_Too_many_capsE' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: input.o: relocation R_X86_64_32S agains '.rodata' can not be
used when making a shared object recompile with -fPIC
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/6../../../x86_64-linux-gnu/crt1.o: relocation
R_X86_64_32S against symbol '__libc_csu_fini' can not be used when making
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/home/florian/genode/repos/base/mk/prg.mk:222: recipe for target 'fb_sdl'
failed

If I run make without any arguments, the adio_drv doesn't build. The linker
quits with the following messages:
/usr/bin/ld: alsa.o: relocation R_X86_64_32 agains '.bss' can not be used
when making a shared object; recompile with -fPIC
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/6../../../x86_64-linux-gnu/crt1.o: relocation
R_X86_64_32S against symbol '__libc_csu_fini' can not be used when making
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
/home/florian/genode/repos/base/mk/prg.mk:222: recipe for target
'audio_drv' failed

Any hints would be greatly appreciated.

All the best, Florian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20161212/fb284819/attachment.html>


More information about the users mailing list