Libtool: link: 无法推断标记的配置

10

我正在尝试将Linphone交叉编译为ARM架构。我使用以下方式进行配置:

./configure --host=arm-linux-gnueabi --with-gnu-ld --disable-static --disable-glib --with-osip=/home/user/linphone_wheezy --with-readline=/home/user/linphone_wheezy SPEEX_CFLAGS="-I/home/user/linphone_wheezy/include" SPEEX_LIBS="-L/home/user/linphone_wheezy/lib -lspeex" SPEEXDSP_CFLAGS="-I/home/user/linphone_wheezy/include" SPEEXDSP_LIBS="-L/home/user/linphone_wheezy/lib -lspeexdsp" CC=$CROSS_TOOLCHAIN/bin/arm-linux-gnueabi-gcc --disable-video --enable-gtk_ui=no

配置脚本执行成功,但在运行make时,在链接时出现以下错误:
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'

我已经尝试添加。

--tag=CC and --tag=LD

但是没有成功。有人能给一些关于这个错误的提示吗?


使用相同的命令,但更改交叉编译工具链导致出现此错误:“/usr/bin/ld:.libs/mscommon.o:在通用ELF(EM:40)中的重定位”。为什么它要使用主机链接器而不是交叉编译工具链的链接器? - Arshan
1个回答

0

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接