QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 691|回复: 1

哪位大侠帮我看看,什么毛病?怎么解决?

[复制链接]
发表于 2005-12-26 10:29:45 | 显示全部楼层 |阅读模式
哪位帮我看看,什么毛病?怎么解决?

[root@jp wu-ftpd-2.6.1]# make
(cd support ; make all)
make[1]: Entering directory `/home/wu-ftp/wu-ftpd-2.6.1/support'
rm -f libsupport.a
ar cq libsupport.a authuser.o
ranlib libsupport.a
make[1]: Leaving directory `/home/wu-ftp/wu-ftpd-2.6.1/support'
(cd util/privatepw ; make all)
make[1]: Entering directory `/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw'
gcc  -g -O2 -L../../support -lcrypt -lnsl -lresolv -lsupport -o privatepw privatepw.c ../../src/COPYRIGHT.c vers.c
privatepw.c: In function `main':
privatepw.c:297: warning: assignment makes pointer from integer without a cast
/tmp/ccbHpWQ6.o(.text+0x6a4): In function `main':
/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw/privatepw.c:297: the use of `tmpnam' is dangerous, better use `mkstemp'
/tmp/ccbHpWQ6.o(.text+0x3a0): In function `list_privatefile':
/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw/privatepw.c:174: undefined reference to `__fopen'
/tmp/ccbHpWQ6.o(.text+0x5d3): In function `main':
/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw/privatepw.c:276: undefined reference to `__dv32_stat'
/tmp/ccbHpWQ6.o(.text+0x61c):/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw/privatepw.c:282: undefined reference to `__fopen'
/tmp/ccbHpWQ6.o(.text+0x6b:/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw/privatepw.c:299: undefined reference to `__fopen'
/tmp/ccbHpWQ6.o(.text+0x6dd):/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw/privatepw.c:304: undefined reference to `__fopen'
collect2: ld returned 1 exit status
make[1]: *** [privatepw] Error 1
make[1]: Leaving directory `/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw'
make: *** [all] Error 2
发表于 2005-12-26 11:09:52 | 显示全部楼层
什么版本的gcc
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-28 10:41 , Processed in 0.062609 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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