curl-library
RE: configuration
Date: Fri, 2 Sep 2005 18:56:11 -0400
Just in case anyone else runs into this, I tried configuring with gcc
and building with icc, which worked fine (I'll have to go change the
compiler flags later).
Has anyone here configured libcurl to build on windows using makefiles
and the ms compiler?
-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Michael
Mastroianni
Sent: Friday, September 02, 2005 3:22 PM
To: libcurl development
Subject: configuration
Trying to build the latest on linux using icc. If I do export CCC=gcc
and export CC=gcc, it configures, builds, and tests fine. But if I set
CCC and CC to icc, I get a compile error
icc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -c hostip4.c -MD
-MF .deps/hostip4.TPlo -KPIC -DPIC -o .libs/hostip4.o
hostip4.c(233): warning #167: argument of type "int *" is incompatible
with parameter of type "struct hostent **restrict"
&h_errnop);
^
hostip4.c(233): error #165: too few arguments in function call
&h_errnop);
^
hostip4.c(229): warning #556: a value of type "int" cannot be assigned
to an entity of type "struct hostent *"
h = gethostbyname_r(hostname,
apparently, the configure script chose the wrong version of
gethostbyname. Has anyone here built libcurl using icc? How do I get the
configuration script to do this right, or should I change a makefile or
something?
Thanks,
Michael Mastroianni
Received on 2005-09-03