This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: building scsh
- To: cygwin at sources dot redhat dot com
- Subject: Re: building scsh
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Sat, 09 Sep 2000 11:15:46 +0200
- References: <ym0aedi6122.fsf@infarmis.abn.com>
- Reply-To: cygwin <cygwin at sources dot redhat 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@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com