- 论坛徽章:
- 0
|
proftpd1.2.6 编译错误
又报错了:(
# make
cd lib ; make lib
ar rc libsupp.a getopt.o getopt1.o pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pwgrent.o
: libsupp.a
cd src ; make src
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c main.c
main.c: In function `find_binding':
main.c:220: warning: implicit declaration of function `inet_aton'
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c timers.c
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c sets.c
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c pool.c
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c regexp.c
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c dirtree.c
dirtree.c: In function `get_config_line':
dirtree.c:316: warning: subscript has type `char'
dirtree.c: In function `match_ip':
dirtree.c:1051: warning: implicit declaration of function `inet_aton'
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c support.c
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c inet.c
inet.c: In function `inet_validate':
inet.c:131: warning: subscript has type `char'
inet.c: In function `inet_getaddr':
inet.c:185: warning: implicit declaration of function `inet_aton'
inet.c: In function `inet_initialize_connection':
inet.c:405: warning: `hold_errno' might be used uninitialized in this function
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c log.c
log.c: In function `log_xfer':
log.c:124: warning: subscript has type `char'
log.c:124: warning: subscript has type `char'
log.c: In function `log_wtmp':
log.c:602: warning: unused variable `ut'
log.c:604: warning: unused variable `fd'
gcc -DSOLARIS2_6 -DSOLARIS2 -I.. -I../include -O2 -Wall -c io.c
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1069: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1069: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1077: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccNIu3SR.s", line 1077: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `io.o'
Current working directory /export/hcm/proftpd-1.2.6/src
*** Error code 1
make: Fatal error: Command failed for target `src'
这个错误难道是要我改源文件吗? |
|