• Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC

    From Prijazen Dom@21:1/5 to All on Sun Nov 15 08:33:38 2020
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)