[oe] [PATCH 1/5] fltk: add -fPIC to compile flags
Andreas Müller
schnitzeltony at gmail.com
Thu Dec 14 21:42:20 UTC 2017
On Thu, Dec 14, 2017 at 10:31 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
> On Thu, Dec 14, 2017 at 2:09 AM, Andreas Müller <schnitzeltony at gmail.com>
> wrote:
> > Building yoshimi failes otherwise with many errors as:
> > | error: <sysroot>/usr/lib/libfltk.a(Fl_File_Browser.cxx.o): requires
> unsupported dynamic reloc R_ARM_THM_MOVW_ABS_NC; recompile with -fPIC
>
> From that error it looks more like a bug in whatever is trying to link
> a static library (libfltk.a) into something which expects to be
> linking with a shared library.
>
> If so, then forcing the fltk static libs to be PIC is just a
> workaround rather than a real fix.
>
> OK forget this patch. I will find another way to get yoshimi building.
Andreas
More information about the Openembedded-devel
mailing list