This is the mail archive of the
cygwin
mailing list for the Cygwin project.
autossh
- From: Andrew Schulman <andrex at alumni dot utexas dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Apr 2004 09:43:43 -0400
- Subject: autossh
Has anyone had any success in building autossh for cygwin? I have
version 1.2f. When I try to compile it with any of the provided
Makefiles, I get a boatload of errors:
$ make -f Makefile.linux
gcc -Wall -D"SSH_PATH=\"/usr/bin/ssh\"" -D"VER=\"1.2f\"" -c -o
autossh.o autos
sh.c
autossh.c:126: warning: `struct addrinfo' declared inside parameter list
autossh.c:126: warning: its scope is only this definition or
declaration, which
is probably not what you want
autossh.c:951: warning: `struct addrinfo' declared inside parameter list
autossh.c:952: error: conflicting types for `conn_addr'
autossh.c:126: error: previous declaration of `conn_addr'
autossh.c: In function `conn_addr':
autossh.c:954: error: storage size of `hints' isn't known
autossh.c:957: error: invalid application of `sizeof' to an incomplete
type
autossh.c:963: error: `AI_PASSIVE' undeclared (first use in this
function)
autossh.c:963: error: (Each undeclared identifier is reported only once
autossh.c:963: error: for each function it appears in.)
autossh.c:972: warning: implicit declaration of function `getaddrinfo'
autossh.c:973: warning: implicit declaration of function `gai_strerror'
autossh.c:954: warning: unused variable `hints'
autossh.c: In function `conn_remote':
autossh.c:989: warning: passing arg 3 of `conn_addr' from incompatible
pointer t
ype
autossh.c:991: error: dereferencing pointer to incomplete type
autossh.c:991: error: dereferencing pointer to incomplete type
autossh.c:992: error: dereferencing pointer to incomplete type
autossh.c:995: error: dereferencing pointer to incomplete type
autossh.c:995: error: dereferencing pointer to incomplete type
autossh.c: In function `conn_listen':
autossh.c:1020: warning: passing arg 3 of `conn_addr' from incompatible
pointer
type
autossh.c:1022: error: dereferencing pointer to incomplete type
autossh.c:1022: error: dereferencing pointer to incomplete type
autossh.c:1023: error: dereferencing pointer to incomplete type
autossh.c:1031: error: dereferencing pointer to incomplete type
autossh.c:1032: error: dereferencing pointer to incomplete type
autossh.c:1039: warning: implicit declaration of function `freeaddrinfo'
make: *** [autossh.o] Error 1
Thanks,
Andrew.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/