在armv7上编译示例-libtool错误:不支持的硬代码属性

时间:2018-11-17 09:02:57

标签: compiler-errors arm cross-compiling armv7 libtool

我正在尝试使用armv7在NAS系统上编译示例(https://github.com/hfiguiere/exempi)。编译似乎几乎成功了,然后我得到了

make[1]: Entering directory '/mnt/HD/HD_a2/Nas_Prog/exempi-2.4.5/exempi'
Making all in tests
make[2]: Entering directory '/mnt/HD/HD_a2/Nas_Prog/exempi-2.4.5/exempi/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/HD/HD_a2/Nas_Prog/exempi-2.4.5/exempi/tests'
make[2]: Entering directory '/mnt/HD/HD_a2/Nas_Prog/exempi-2.4.5/exempi'
CXXLD    exempi
libtool:   error: unsupported hardcode properties See the libtool documentation for more information. Fatal configuration error.
make[2]: *** [Makefile:598: exempi] Error 1

对于我从未遇到过这种情况之前编译过的其他库。

我知道这个问题相当模糊,我认为它与libtool的链接模式(--mode = link属性)有关,但是我真的不知道在Makefile tbh中要更改什么。

感谢您的帮助。

编辑: 因此,实际上是以下引发错误的链接命令:

/opt/bin/libtool --silent --tag=CXX   --mode=link g++  -g -O2   -o exempi exempi-main.o libexempi.la

0 个答案:

没有答案