我正在尝试将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
但是没有成功。有人能给一些关于这个错误的提示吗?