Discussion:
Q2 - build demo error
Philip Rhoades
2017-02-14 15:00:24 UTC
Permalink
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.
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: ***@pricom.com.au
Norman Feske
2017-02-14 14:58:31 UTC
Permalink
Hello,
Post by Philip Rhoades
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
--
Dr.-Ing. Norman Feske
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
Loading...