yl_b 发表于 2005-12-26 10:29:45

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

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

# make
(cd support ; make all)
make: 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: Leaving directory `/home/wu-ftp/wu-ftpd-2.6.1/support'
(cd util/privatepw ; make all)
make: 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+0x6b8):/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: *** Error 1
make: Leaving directory `/home/wu-ftp/wu-ftpd-2.6.1/util/privatepw'
make: *** Error 2

月下刀客 发表于 2005-12-26 11:09:52

什么版本的gcc :shock:
页: [1]
查看完整版本: 哪位大侠帮我看看,什么毛病?怎么解决?