delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | Andrew Schulman <andrex AT alumni DOT utexas DOT net> |
Subject: | autossh |
Date: | Thu, 22 Apr 2004 09:43:43 -0400 |
Lines: | 49 |
Message-ID: | <MPG.1af1961af72829a79896b5@localhost> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | pcp04396076pcs.nrockv01.md.comcast.net |
X-Newsreader: | MicroPlanet Gravity v2.60 |
X-Archive: | encrypt |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |