curl-users
Re: Compiling Error for solaris7.0
Date: Sun, 2 Nov 2003 17:24:11 +0100 (CET)
On Sun, 2 Nov 2003, ho k wrote:
> I have problem that I use gcc-3.0 to compile "curl-7.10.4 with-ssl" In Make
> step, I receive the following error:
> gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib
> -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -g -O2 -MT file.lo
> -MD -MP -MF .deps/file.Tpo -c file.c -fPIC -DPIC -o .libs/file.lo
> In file included from file.c:81:
> urldata.h:300: parse error before "z_stream"
> urldata.h:300: warning: no semicolon at end of struct
> or union
It seems as if the configure script detected zlib installed and thus switched
on using it, but when you run make the compiler doesn't find the zlib header
file and thus you get the z_stream error.
I consider it a minor bug in the build system.
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/Received on 2003-11-02