Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <9992348C73ADD211AF9B0000F8222B15595E98@sooexc1.soo.dec.com> From: "Norling, Gunnar" To: cygwin AT sourceware DOT cygnus DOT com Subject: Making wget Date: Wed, 26 Jan 2000 09:38:59 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Hi, Some days ago there where a discussion involving the wget program. One of the mails (sorry, I've already deleted it) described the build process for it. I followed it, but in the end of the process I receive the following errors: $ make : . gcc -O2 -Wall -Wno-implicit -o wget.exe cmpt.o connect.o fnmatch.o ftp.o ftp-basi ers.o host.o html.o http.o init.o log.o main.o md5.o netrc.o rbuf.o recur.o retr.o ftp.o(.text+0x848):ftp.c: undefined reference to `h_errno' ftp.o(.text+0x1378):ftp.c: undefined reference to `h_errno' ftp.o(.text+0x1808):ftp.c: undefined reference to `h_errno' http.o(.text+0x750):http.c: undefined reference to `h_errno' collect2: ld returned 1 exit status make[1]: *** [wget.exe] Error 1 make[1]: Leaving directory `/cygdrive/v/Cygnus/cygwin-b20/local/src/wget-1.5.3/src' make: *** [src] Error 2 For some reason the "h_errno' is not defined. Could there be some problems with my include libraries. I use a standard installation (using the snapshot cygwin-inst-20000119.tar.gz), with no include variable set. In the ftp.c file the following is defined: ------ #include #include #include #ifdef HAVE_STRING_H # include #else # include #endif #include #ifdef HAVE_UNISTD_H # include #endif #include #include #include #include "wget.h" #include "utils.h" #include "url.h" #include "rbuf.h" #include "retr.h" #include "ftp.h" #include "html.h" #include "connect.h" #include "host.h" #include "fnmatch.h" #include "netrc.h" #ifndef errno extern int errno; #endif #ifndef h_errno extern int h_errno; #endif ------ This is my versions: gcc --version: 2.95.2 uname -a: CYGWIN_NT-4.0 1.1.0(0.16/3/2) 2000-01-20 00:22:41 i686 unknown /Gunnar Norling -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com