building scsh

Corinna Vinschen vinschen@cygnus.com
Sat Sep 9 02:15:00 GMT 2000


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



More information about the Cygwin mailing list