无法使用工具链 arm-uclinuxeabi 构建共享库 [英] Could not build shared library using toolchain arm-uclinuxeabi

查看:131
本文介绍了无法使用工具链 arm-uclinuxeabi 构建共享库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用工具链 GNU 工具链为 uClinux Cortex-M3/M4 构建共享库时

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

出现以下错误:

/arm-2010q1/arm-uclinuxeabi/bin/ld.real: 错误:没有为可加载部分.dynsym"指定内存区域

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

需要帮助请!

推荐答案

检查 GNU 工具链版本属性.你可以在命令行中得到这个 arm-uclinuxeabi-gcc -v.

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

如果工具链是使用--disable-shared 构建的,您将无法创建共享库.

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.

这篇关于无法使用工具链 arm-uclinuxeabi 构建共享库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆