delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/09/05:16:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39B9FFC2.13120765@cygnus.com>
Date: Sat, 09 Sep 2000 11:15:46 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: Re: building scsh
References: <ym0aedi6122 DOT fsf AT infarmis DOT abn DOT com>

Alexander Vorobiev wrote:
> 
> Hi,
> 
> Did anyone try to build scsh-0.5.2 (scheme shell) using Cygwin?
> 
> I've got the following errors:
> 
> scsh/network1.o: In function `scheme_host_address2host_info':
> /cygdrive/c/avorobiev/src/scsh-0.5.2/scsh/network1.c:407: undefined reference to `h_errno'
> scsh/network1.o: In function `scheme_host_name2host_info':
> /cygdrive/c/avorobiev/src/scsh-0.5.2/scsh/network1.c:434: undefined reference to `h_errno'

Eliminate `extern int h_errno;' lines in the sources and include
"netdb.h" instead:

#include <netdb.h>
[...]
#ifndef __CYGWIN__
extern int h_errno;
#endif

> scsh/time1.o: In function `time2date':
> /cygdrive/c/avorobiev/src/scsh-0.5.2/scsh/time1.c:161: undefined reference to `_tzname'

#include <time.h>

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019