[Olsr-dev] cannot compile on ARM Arch Linux

Saverio Proto (spam-protected)
Thu Jul 25 15:36:41 CEST 2013


Hello,

I wanted to compile olsrd for my cubieboard. I am compiling directly
on the ARM board. Compiling the core is fine. When I go for make libs
I get the following problem:

ake[1]: Entering directory `/usr/src/olsrd/lib/httpinfo'
make[1]: Leaving directory `/usr/src/olsrd/lib/httpinfo'
make[1]: Entering directory `/usr/src/olsrd/lib/httpinfo'
[CC] src/olsrd_plugin.c
[CC] src/olsrd_httpinfo.c
[CC] src/admin_interface.c
[LD] olsrd_httpinfo.so.0.1
/usr/bin/ld: ../../src/cfgparser/cfgfile_gen.o: relocation
R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making
a shared object; recompile with -fPIC
../../src/cfgparser/cfgfile_gen.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [olsrd_httpinfo.so.0.1] Error 1
make[1]: Leaving directory `/usr/src/olsrd/lib/httpinfo'
make: *** [libs] Error 2

any hint how to fix the Makefile ?

Saverio




More information about the Olsr-dev mailing list