cURL / Mailing Lists / curl-library / Single Mail

curl-library

Configuring in msys/mingw

From: Andrés García <fandom_at_retemail.es>
Date: Fri, 6 Feb 2004 11:36:38 +0100

Hi,

I have managed to make the configure script find gethostbyname
in msys/mingw with the attached patch.

Unfortunately, even though it now reaches the end of the
configure script, many tests fail that could probably be made to
work, so I have also attached the output of configuring since I
don't know which tests are significant.

Also, the compiling fails:

gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/usr/local/include -g -O2
-MT url.lo -MD -MP -MF .deps/url.Tpo -c url.c -DDLL_EXPORT -DPIC -DPIC -o
url.o
url.c: In function `CreateConnection':
url.c:2970: `SIGALRM' undeclared (first use in this function)
url.c:2970: (Each undeclared identifier is reported only once
url.c:2970: for each function it appears in.)
url.c:2970: `alarmfunc' undeclared (first use in this function)
url.c:2970: warning: assignment makes pointer from integer without a cast
make[2]: *** [url.lo] Error 1
make[2]: Leaving directory `C:/msys/1.0/home/Andres/curl-7.11.1-20040205/lib'
c:\mingw\bin\make.exe[1]: *** [all] Error 2
c:\mingw\bin\make.exe[1]: Leaving directory
`C:/msys/1.0/home/Andres/curl-7.11.1-20040205/lib'
c:\mingw\bin\make.exe: *** [all-recursive] Error 1

Any suggestions?

Andres

Received on 2004-02-06