cURL / Mailing Lists / curl-users / Single Mail

curl-users

configure warning

From: Mark Wattier <mark.wattier_at_gmail.com>
Date: Fri, 3 Nov 2006 12:52:29 -0800

I got the following warning while running configure for curl-7.16.0 on
HP UX 11. I am trying to do this with a 64-bit compiler, so that this
can be ultimately linked in to a module that will be loaded as an
external procedure for oracle which we run as 64 bit. I have set the
following environment variables:
CC=CC=/usr/local/pa20_64/bin/gcc
CFLAGS=-ansi

Before I added the ansi flag, configure would fail to find
gethostbyname. Now, configure gets this warning, and make fails with
the message at the bottom.

configure: WARNING: zlib.h: present but cannot be compiled
configure: WARNING: zlib.h: check for missing prerequisite headers?
configure: WARNING: zlib.h: see the Autoconf documentation
configure: WARNING: zlib.h: section "Present But Cannot Be Compiled"
configure: WARNING: zlib.h: proceeding with the preprocessor's result
configure: WARNING: zlib.h: in the future, the compiler will take precedence
configure: WARNING: ##
------------------------------------------------------------------------
##
configure: WARNING: ## Report this to a suitable curl mailing list
=> http://curl.haxx.se/mail/ ##
configure: WARNING: ##
------------------------------------------------------------------------
##

dolly(markw64)> make
Making all in lib
make[1]: Entering directory `/home/markw64/curl-7.16.0/lib'
echo "/* This file is generated automatically */" > ../lib/ca-bundle.h
echo '#undef CURL_CA_BUNDLE /* unknown */' >> ../lib/ca-bundle.h
make all-am
make[2]: Entering directory `/home/markw64/curl-7.16.0/lib'
if /usr/bin/posix/sh ../libtool --tag=CC --mode=compile
/usr/local/pa20_64/bin/gcc -DHAVE_CONFIG_H -I../include -I../lib
-I../lib -ansi -MT file.lo -MD -MP -MF ".deps/file.Tpo" -c -o
file.lo file.c; \
then mv -f ".deps/file.Tpo" ".deps/file.Plo"; else rm -f
".deps/file.Tpo"; exit 1; fi
mkdir .libs
 /usr/local/pa20_64/bin/gcc -DHAVE_CONFIG_H -I../include -I../lib
-I../lib -ansi -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -DPIC
-o .libs/file.o
In file included from ../include/curl/curl.h:1596,
                 from cookie.h:35,
                 from urldata.h:49,
                 from file.c:79:
../include/curl/multi.h:132: error: parse error before "fd_set"
make[2]: *** [file.lo] Error 1
make[2]: Leaving directory `/home/markw64/curl-7.16.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/markw64/curl-7.16.0/lib'
make: *** [all-recursive] Error 1
Received on 2006-11-03