系统ubuntu6.06
在
ftp://cvs.kcn.cn/src/kbsbbs-snapshot.tar.gz下载的安装文件
配置语句:./configure --prefix=/home/bbs --enable-site=fb2k-v2 \
--with-www=/home/www --with-php=/home/www/php/include/php \
--with-mysql --enable-ssh --enable-ssl
make结果:
thorium@localhost:~/kbsbbs-2.0dev$ sudo make
make -s all-recursive
Making all in libsystem
Making all in libBBS
Making all in rzsz
Making all in src
Making all in daemon
Making all in local_utl
Making all in mail2bbs
Making all in service
Making all in pip
Making all in worker
Making all in personaldns
Making all in sshbbsd
[Compiling sshd.c]
In file included from ssh_funcs.h:5,
from sshd.c:507:
./packet.h:70:17: error: gmp.h: No such file or directory
In file included from ssh_funcs.h:5,
from sshd.c:507:
./packet.h:125: 错误: syntax error before ‘*’ token
./packet.h:165: 错误: syntax error before ‘*’ token
In file included from sshd.c:510:
rsa.h:58: 错误: syntax error before ‘MP_INT’
rsa.h:58: 警告: 结构或联合后没有分号
rsa.h:59: 警告: 在 ‘n’ 的声明中,类型默认为 ‘int’
rsa.h:59: 警告: 数据定义时没有类型或存储类
rsa.h:60: 警告: 在 ‘RSAPublicKey’ 的声明中,类型默认为 ‘int’
rsa.h:60: 警告: 数据定义时没有类型或存储类
rsa.h:64: 错误: syntax error before ‘MP_INT’
rsa.h:64: 警告: 结构或联合后没有分号
rsa.h:65: 警告: 在 ‘e’ 的声明中,类型默认为 ‘int’
rsa.h:65: 警告: 数据定义时没有类型或存储类
rsa.h:66: 错误: syntax error before ‘d’
rsa.h:66: 警告: 在 ‘d’ 的声明中,类型默认为 ‘int’
rsa.h:66: 警告: 数据定义时没有类型或存储类
rsa.h:67: 错误: syntax error before ‘u’
rsa.h:67: 警告: 在 ‘u’ 的声明中,类型默认为 ‘int’
rsa.h:67: 警告: 数据定义时没有类型或存储类
rsa.h:68: 错误: syntax error before ‘p’
rsa.h:68: 警告: 在 ‘p’ 的声明中,类型默认为 ‘int’
rsa.h:68: 警告: 数据定义时没有类型或存储类
rsa.h:69: 错误: syntax error before ‘q’
rsa.h:69: 警告: 在 ‘q’ 的声明中,类型默认为 ‘int’
rsa.h:69: 警告: 数据定义时没有类型或存储类
rsa.h:70: 警告: 在 ‘RSAPrivateKey’ 的声明中,类型默认为 ‘int’
rsa.h:70: 警告: 数据定义时没有类型或存储类
rsa.h:73: 错误: syntax error before ‘*’ token
rsa.h:81: 错误: syntax error before ‘*’ token
rsa.h:86: 错误: syntax error before ‘*’ token
rsa.h:89: 错误: syntax error before ‘*’ token
rsa.h:92: 错误: syntax error before ‘*’ token
rsa.h:95: 错误: syntax error before ‘*’ token
rsa.h:98: 错误: syntax error before ‘*’ token
rsa.h:115: 错误: syntax error before ‘*’ token
rsa.h:118: 错误: syntax error before ‘*’ token
In file included from sshd.c:511:
ssh.h:456: 错误: syntax error before ‘MP_INT’
ssh.h:465: 错误: syntax error before ‘MP_INT’
ssh.h:469: 错误: syntax error before ‘MP_INT’
ssh.h:503: 错误: syntax error before ‘MP_INT’
ssh.h:508: 错误: syntax error before ‘MP_INT’
ssh.h:513: 错误: syntax error before ‘MP_INT’
ssh.h:536: 错误: syntax error before ‘RSAPrivateKey’
In file included from sshd.c:515:
mpaux.h:46: 错误: syntax error before ‘MP_INT’
mpaux.h:50: 错误: syntax error before ‘*’ token
mpaux.h:55: 错误: syntax error before ‘MP_INT’
sshd.c:622: 错误: syntax error before ‘RSAPrivateKey’
sshd.c:622: 警告: 结构或联合后没有分号
sshd.c:625: 警告: 在 ‘host_key’ 的声明中,类型默认为 ‘int’
sshd.c:625: 警告: 数据定义时没有类型或存储类
sshd.c:626: 警告: 在 ‘sensitive_data’ 的声明中,类型默认为 ‘int’
sshd.c:626: 警告: 数据定义时没有类型或存储类
sshd.c:637: 错误: syntax error before ‘public_key’
sshd.c:637: 警告: 在 ‘public_key’ 的声明中,类型默认为 ‘int’
sshd.c:637: 警告: 数据定义时没有类型或存储类
sshd.c: 在函数 ‘key_regeneration_alarm’ 中:
sshd.c:735: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:736: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:736: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:737: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c: 在函数 ‘main’ 中:
sshd.c:878: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:939: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:939: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:940: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:953: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:975: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:975: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:976: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:1040: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1040: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:1041: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:1160: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:1191: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c: 在函数 ‘do_connection’ 中:
sshd.c:1322: 错误: ‘MP_INT’ 未声明 (在此函数内第一次使用)
sshd.c:1322: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
sshd.c:1322: 错误: 所在的函数内只报告一次。)
sshd.c:1322: 错误: syntax error before ‘session_key_int’
sshd.c:1336: 错误: request for member ‘random_state’ in something not a structure or union
sshd.c:1345: 错误: request for member ‘bits’ in something not a structure or union
sshd.c:1346: 错误: request for member ‘e’ in something not a structure or union
sshd.c:1347: 错误: request for member ‘n’ in something not a structure or union
sshd.c:1350: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1351: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1352: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1376: 错误: request for member ‘bits’ in something not a structure or union
sshd.c:1376: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1393: 警告: 隐式声明函数 ‘mpz_init’
sshd.c:1393: 错误: ‘session_key_int’ 未声明 (在此函数内第一次使用)
sshd.c:1402: 警告: 隐式声明函数 ‘mpz_cmp’
sshd.c:1402: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1402: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1404: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1404: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1405: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1406: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1409: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1409: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1410: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1411: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1415: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1415: 错误: request for member ‘host_key’ in something not a structure or union
sshd.c:1415: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1415: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1427: 警告: 隐式声明函数 ‘mpz_clear’
sshd.c:1452: 错误: request for member ‘private_key’ in something not a structure or union
sshd.c:1453: 错误: request for member ‘host_key’ in something not a structure or union
make[3]: *** [sshd.o] 错误 1
make[2]: *** [all] 错误 2
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2
--
FROM 211.151.89.*