make时编译sshbbsd出问题了。
Making all in sshbbsd
[Compiling sshd.c]
In file included from /usr/include/bits/types.h:29,
from /usr/include/sys/types.h:30,
from includes.h:167,
from sshd.c:493:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h:199: syntax error before `typedef'
In file included from /usr/include/sys/un.h:38,
from includes.h:251,
from sshd.c:493:
/usr/include/string.h:37: parse error before `('
/usr/include/string.h:37: parse error before `void'
/usr/include/string.h:41: parse error before `('
/usr/include/string.h:41: parse error before `void'
/usr/include/string.h:55: parse error before `('
/usr/include/string.h:55: warning: conflicting types for built-in function `bzero'
/usr/include/string.h:55: parse error before `__n'
/usr/include/string.h:58: parse error before `('
/usr/include/string.h:58: parse error before `__const'
In file included from /usr/include/sys/un.h:38,
from includes.h:251,
from sshd.c:493:
/usr/include/string.h:242: conflicting types for `bcopy'
/usr/include/string.h:41: previous declaration of `bcopy'
/usr/include/string.h:245: conflicting types for `bzero'
/usr/include/string.h:55: previous declaration of `bzero'
In file included from /usr/include/string.h:360,
from /usr/include/sys/un.h:38,
from includes.h:251,
from sshd.c:493:
/usr/include/bits/string2.h: In function `__strsep_1c':
/usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch in conditional expression
In file included from cipher.h:71,
from ssh.h:189,
from sshd.c:498:
idea.h: At top level:
idea.h:55: parse error before `word32'
In file included from cipher.h:73,
from ssh.h:189,
from sshd.c:498:
des.h:44: parse error before `word32'
des.h:44: warning: no semicolon at end of struct or union
des.h:45: warning: data definition has no type or storage class
des.h:49: parse error before `DESContext'
des.h:54: parse error before `l'
des.h:59: parse error before `*'
des.h:64: parse error before `*'
des.h:67: parse error before `*'
des.h:71: parse error before `*'
In file included from ssh.h:189,
from sshd.c:498:
cipher.h:109: parse error before `DESContext'
cipher.h:109: warning: no semicolon at end of struct or union
cipher.h:109: warning: no semicolon at end of struct or union
cipher.h:111: parse error before `DESContext'
cipher.h:109: warning: no semicolon at end of struct or union
cipher.h:109: warning: no semicolon at end of struct or union
cipher.h:111: parse error before `DESContext'
cipher.h:111: warning: no semicolon at end of struct or union
cipher.h:113: parse error before `key3'
cipher.h:113: warning: data definition has no type or storage class
cipher.h:115: parse error before `}'
cipher.h:115: warning: data definition has no type or storage class
cipher.h:122: parse error before `}'
cipher.h:122: warning: data definition has no type or storage class
cipher.h:123: parse error before `}'
cipher.h:123: warning: data definition has no type or storage class
cipher.h:139: parse error before `*'
cipher.h:143: parse error before `*'
cipher.h:147: parse error before `*'
cipher.h:151: parse error before `*'
sshd.c: In function `main':
sshd.c:782: warning: pointer/integer type mismatch in conditional expression
sshd.c:842: `HOSTTYPE' undeclared (first use in this function)
sshd.c:842: (Each undeclared identifier is reported only once
sshd.c:842: for each function it appears in.)
sshd.c:1359: void value not ignored as it ought to be
make[3]: *** [sshd.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
请教大侠门。是什么问题。谢谢!
--
FROM 202.115.68.*