People,
Using Fedora 25 x86_64 I get:
Program drivers/framebuffer/spec/sdl/fb_sdl COMPILE fb_sdl.o COMPILE input.o LINK fb_sdl /usr/bin/ld: cannot find -lsupc++ collect2: error: ld returned 1 exit status /root/genode/repos/base/mk/prg.mk:174: recipe for target 'fb_sdl' failed make[3]: *** [fb_sdl] Error 1 var/libdeps:375: recipe for target 'fb_sdl.prg' failed make[2]: *** [fb_sdl.prg] Error 2 Makefile:270: recipe for target 'gen_deps_and_build_targets' failed make[1]: *** [gen_deps_and_build_targets] Error 2 make[1]: Leaving directory '/root/genode/build.lx' Error: Genode build failed Makefile:307: recipe for target 'run/demo' failed make: *** [run/demo] Error 252
The only relevant Google result taslked about static linking . . but I thought it better to ask here first . .
Thanks,
Phil.
Hello,
On 14.02.2017 16:00, Philip Rhoades wrote:
LINK fb_sdl
/usr/bin/ld: cannot find -lsupc++ collect2: error: ld returned 1 exit status /root/genode/repos/base/mk/prg.mk:174: recipe for target 'fb_sdl' failed ...
The only relevant Google result taslked about static linking . . but I thought it better to ask here first . .
your host system misses a proper C++ compiler, which is needed to build the "hybrid" fb_sdl component (hybrid means that it is both a regular Linux program that is linked against the glibc and interacts with the Linux world, as well a Genode component that interacts with the Genode world). The sup++ library is normally part of the 'g++' package.
To avoid stumbling blocks like this, please revisit the prerequisites listed here:
http://genode.org/documentation/developer-resources/getting_started
Cheers Norman