|
[root@rt-a-01 proftpd-1.2.10]# ./configure --prefix=/usr/local --enable-shadow
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
………………
config.status: config.h is unchanged
config.status: executing default commands
[root@rt-a-01 proftpd-1.2.10]# make
cd lib/ && make lib
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/lib'
cd src/ && make src
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/src'
cd modules/ && make modules
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/modules'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/modules'
make[1]: Entering directory `/root/Desktop/proftpd-1.2.10/lib/libcap'
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
cap_sys.c:14: 错误:expected declaration specifiers or ‘...’ before ‘capget’
cap_sys.c:15: 错误:expected declaration specifiers or ‘...’ before ‘header’
cap_sys.c:16: 错误:expected declaration specifiers or ‘...’ before ‘data’
cap_sys.c:18: 警告:返回类型默认为 ‘int’
cap_sys.c: 在函数 ‘_syscall2’ 中:
cap_sys.c:18: 错误:expected declaration specifiers before ‘_syscall2’
cap_sys.c:14: 错误:省略了形参的名字
cap_sys.c:15: 错误:省略了形参的名字
cap_sys.c:16: 错误:省略了形参的名字
make[1]: *** [cap_sys.o] 错误 1
make[1]: Leaving directory `/root/Desktop/proftpd-1.2.10/lib/libcap'
make: *** [dirs] 错误 2
[root@rt-a-01 proftpd-1.2.10]#
小弟刚开始接触Linux,在make的时候出现了好多错误。不知道是为什么。
我的系统是 Fedora 6。1.21和 11.29两个版本都有 这个 问题。 |
|