Skip to content
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

compile error #263

Open
barrymac opened this issue Dec 11, 2020 · 0 comments
Open

compile error #263

barrymac opened this issue Dec 11, 2020 · 0 comments

Comments

@barrymac
Copy link

I'm trying to compile this on an ARM platform (Odroid XU3) running Ubuntu Bionic and I get the following error:

/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(julian_day.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(solar.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(earth.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/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(lunar.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(utility.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/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(rise_set.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(dynamical_time.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/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(sidereal_time.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(transform.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(nutation.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/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/7/../../../arm-linux-gnueabihf/libnova.a(julian_day.o)(.text+0x8): unresolvable R_ARM_THM_MOVW_ABS_NC relocation against symbol `__stack_chk_guard@@GLIBC_2.4'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
src/CMakeFiles/XyGrib.dir/build.make:2736: recipe for target 'src/XyGrib' failed
make[2]: *** [src/XyGrib] Error 1

I will post more information if and when I discover more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant