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: <395D183F.C6ACC8D4@cygnus.com> Date: Fri, 30 Jun 2000 23:59:27 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Jonas Jensen Cc: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: can't compile wget and lapack++ References: <20000628134536 DOT 25389 DOT qmail AT hotmail DOT com><20000628144511 DOT H21275 AT cygnus DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20000630171617 DOT 01d731f8 AT pop DOT ma DOT ultranet DOT com> <20000630213553 DOT 34616 DOT qmail AT hotmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jonas Jensen wrote: > > > >Wget has a linkage problem : ftp.o (..........) undefined reference to > > >'h_errno' > > These would be porting problems. You should look at the code for these > > two packages and see where the problem is. In addition, I know wget has > > been ported before. > > I managed to compile wget by passing 0, rather than h_errno. This makes it say > "unknown error" rather than "cannot resolve host" when it can't connect. I'm sure > there is a better way to do it, but....this one's very easy :-) Uhmm, wouldn't it be better just to add #include which is the file which defines h_errno just like in other OSes. It's not really a porting problem but the too relaxed handling of external `int' type variables by some programmers. The same problem is often found with `errno'. Corinna -- Corinna Vinschen Cygwin Developer Cygnus Solutions, a Red Hat company -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com