LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 985|回复: 1

高手们救救我吧!!!!~~~~~~Debian 下的 ./configure --host=mipsel-linux编译错误

[复制链接]
发表于 2006-8-23 15:27:21 | 显示全部楼层 |阅读模式
debian:/dictionary/stardict-2.4.3# ./configure --host=mipsel-linux
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-strip... mipsel-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gconftool-2... /usr/bin/gconftool-2
checking for intltool >= 0.22... 0.27.2 found
checking for perl... /usr/bin/perl
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking for style of include used by make... GNU
checking for mipsel-linux-gcc... mipsel-linux-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
发表于 2006-8-23 19:50:22 | 显示全部楼层
请注意这两句提示:

configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
你的主机是mipsel-linux吗?
猜想你是想在x86主机上做交叉编译,应该指定
./configure --target=mipsel-linux
你那样做是在把主机设置为mipsel-linux,而不是做cross compile。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表