Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - how to solve ?

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

I'm trying to crosscompile MQTT client for ARM platform. At the final step, creation of binaries, the system reports errors below.

I guess that I overlooked something...

What could be the reason ? I'm not sure whether this is the problem of program I compile, or toolchain or any setting ?

Thanks in advance, regards, R.

Log :
....
...
arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: reloc type R_ARM_ABS32 is not supported for PIC
arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: reloc type R_ARM_ABS32 is not supported for PIC
arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: reloc type R_ARM_ABS32 is not supported for PIC
arm-2010q1/arm-uclinuxeabi/bin/elf2flt: error: 6402 bad relocs
collect2: ld returned 1 exit status
make[1]: *** [Makefile:26: static_pub] Error 1
make[1]: Leaving directory 'mosquitto-1.6.12/client'
make: *** [Makefile:59: mosquitto] Error 2

Site Timeline