Search code examples
shared-librariescortex-mtoolchainuclinux

Could not build shared library using toolchain arm-uclinuxeabi


When i build the shared library with toolchain GNU toolchain for uClinux Cortex-M3/M4

The following error occurs:

/arm-2010q1/arm-uclinuxeabi/bin/ld.real: error: no memory region specified for loadable section `.dynsym'

Need help please !


Solution

  • Check for the GNU toolchain version properties. you can get this arm-uclinuxeabi-gcc -v in the command line.

    if the tool chain is builded with --disable-shared, you will not be able to create shared library.

    so when you build an utility you need to use same argument while configuring the build.