bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling on cygwin 1.1.8-2


From: Gary Houston
Subject: Re: compiling on cygwin 1.1.8-2
Date: 18 Mar 2001 11:59:14 -0000

> From: Gary Houston <address@hidden>
> Date: 11 Mar 2001 10:58:21 -0000
> 
> > From: Mingshey <address@hidden>
> > Date: Sat, 10 Mar 2001 22:21:28 -0800 (PST)
> > 
> > I'm compiling Guile in Cygwin 1.1.8-2 on WinNY/PIII
> > The guile library guile-1.4/libguile/.libs/guilelib.a does not recognize
> > 'h_errno'
> > Running make, I got following error message:
> > 
> > .libs/libguile.a(net_db.o)(.text+0x2ba): undefined reference to `h_errno'
> > collect2: ld returned 1 exit status
> > rm -f .libs/guileS.o
> > make[1]: *** [guile] Error 1
> > make[1]: Leaving directory `/home/mingshey/guile-1.4/libguile'
> > make: *** [all-recursive] Error 1
> > 
> > Please help!
> 
> The problem will need to be investigated, but if you don't need
> networking support in Guile, try this for now:
> 
> configure --disable-networking

I think the real problem was a declaration in libguile/net_db.c in
guile 1.4:

/* Some systems do not declare this.  Some systems do declare it, as a
   macro.  */
#ifndef h_errno
extern int h_errno;
#endif

This fails with some versions of cygwin because h_errno is declared in
a DLL and needs extra magic to pull it in.  Removing those lines would
probably fix it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]