+ -
当前位置:首页 → 问答吧 → C compiler cannot create executables?

C compiler cannot create executables?

时间:2003-08-18

来源:互联网

我想在debian下装pure-ftpd,却遇到这个问题,顿时手足无措,
日志说是找不到ctr1.o,我在系统中也找不到它。
请前辈们讲讲可能是什么出了问题呢?应该怎么解决呢?
我是新手,请前辈说得详细一点

hayseed@develop:~/pure-ftpd-1.0.15$ ./configure \
> -prefix=/usr/local/pureftpd
--with-mysql \
--with-diraliases \
--with-ftpwho \
--with-throttling \
--without-inetd \
--without-shadow \
--with-quotaschecking 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)... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.



返回页首


hayseed




级别: 侠客
注册时间: 2003-01-30
最后登录: 2003-08-18
帖子总数: 16
精华帖子: 0
原创精华: 0

在线状态: ...在线...
发表于: 2003-08-18 17:08 发表主题:

--------------------------------------------------------------------------------

config.log中相应的内容:


## ----------- ##
## Core tests. ##
## ----------- ##
configure:1388: checking for a BSD-compatible install
configure:1442: result: /usr/bin/install -c
configure:1453: checking whether build environment is sane
configure:1496: result: yes
configure:1529: checking for gawk
configure:1558: result: no
configure:1529: checking for mawk
configure:1545: found /usr/bin/mawk
configure:1555: result: mawk
configure:1565: checking whether make sets $(MAKE)
configure:1589: result: no
configure:1758: checking for a BSD-compatible install
configure:1812: result: /usr/bin/install -c
configure:1864: checking for ranlib
configure:1880: found /usr/bin/ranlib
configure:1891: result: ranlib
configure:1949: checking for gcc
configure:1965: found /usr/bin/gcc
configure:1975: result: gcc
configure:2219: checking for C compiler version
configure:2222: gcc --version </dev/null >&5
2.95.4
configure:2225: $? = 0
configure:2227: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
configure:2230: $? = 0
configure:2232: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2235: $? = 1
configure:2259: checking for C compiler default output
configure:2262: gcc conftest.c >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure:2265: $? = 1
configure: failed program was:
| #line 2238 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "pure-ftpd"
| #define PACKAGE_TARNAME "pure-ftpd"
| #define PACKAGE_VERSION "1.0.15"
| #define PACKAGE_STRING "pure-ftpd 1.0.15"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "pure-ftpd"
| #define VERSION "1.0.15"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2304: error: C compiler cannot create executables
See `config.log' for more details.

作者: hayseed   发布时间: 2003-08-18

多装些开发环境的包

作者: gprotection   发布时间: 2003-08-18

热门下载

更多