Hi,
I'm having problems building 2.5.1p1 on two of my older Linux boxes. One
box is running RH 5.2 and the other Debian 2.0. Both are using gcc 2.7.2.3,
openssl-0.9.6 and glibc-2.0.7. They both also die on the same error, and the
configure options I use don't seem to make a difference.
2.3.0p1 compiled fine on both of these machines.
[...]
gcc -g -O2 -Wall -I. -I./openbsd-compat -I. -DETCDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/opt/openssh/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/openssh/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/opt/openssh/libexec/sftp-server\"
-DHAVE_CONFIG_H -c
cli.c
In file included from includes.h:39,
from cli.c:1:
/usr/include/signal.h:216: warning: `struct sigaction' declared inside
parameter list
/usr/include/signal.h:216: warning: its scope is only this definition or
declaration,
/usr/include/signal.h:216: warning: which is probably not what you want.
/usr/include/signal.h:218: warning: `struct sigaction' declared inside
parameter list
cli.c: In function `cli_echo_disable':
cli.c:67: `SIG_BLOCK' undeclared (first use this function)
cli.c:67: (Each undeclared identifier is reported only once
cli.c:67: for each function it appears in.)
cli.c:71: sizeof applied to an incomplete type
cli.c:72: invalid use of undefined type `struct sigaction'
cli.c:73: warning: passing arg 2 of `sigaction' from incompatible pointer
type
cli.c:73: warning: passing arg 3 of `sigaction' from incompatible pointer
type
cli.c: In function `cli_echo_restore':
cli.c:93: `SIG_SETMASK' undeclared (first use this function)
cli.c:94: warning: passing arg 2 of `sigaction' from incompatible pointer
type
cli.c: At top level:
cli.c:14: storage size of `nsa' isn't known
cli.c:15: storage size of `osa' isn't known
make: *** [cli.o] Error 1
Here are lines 215-218 from /usr/include/signal.h:
extern int __sigaction __P ((int __sig, __const struct sigaction *__act,
struct sigaction *__oact));
extern int sigaction __P ((int __sig, __const struct sigaction *__act,
struct sigaction *__oact));
Thanks for your help!
Mike
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices!
http://auctions.yahoo.com/