-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant compile #52
Comments
How did you install libUMP? |
i installed it following this guide. belowe the output of the install
|
Was it libUMP that you recompiled with -fPIC? |
But your libUMP seems to be getting installed into /usr/local/lib, is this correct? |
I guess its installed there i did not compiled libump with -fPIC ( atm trying) |
But GCC seems to be complaining about |
that can be but if it is taking it from /usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libUMP.a it is using the ubuntu gcc package |
Compiling libump with -fPIC fixed the problem Tnx for your help |
CCLD fbturbo_drv.la
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libUMP.a(ump_arch.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/arm-linux-gnueabihf/5/../../../arm-linux-gnueabihf/libUMP.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:484: recipe for target 'fbturbo_drv.la' failed
make[2]: *** [fbturbo_drv.la] Error 1
compling on arm using Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2
YES i tried compiling using -fPIC
The text was updated successfully, but these errors were encountered: