cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Compilation error from `urldata.h'

From: Albert Chin <curl-users_at_lists.thewrittenword.com>
Date: Thu, 3 Oct 2002 10:34:14 -0500

On Thu, Oct 03, 2002 at 05:22:56PM +0200, Bjorn Wiren wrote:
> Daniel Stenberg <daniel_at_haxx.se> writes:
>
> > On Wed, 2 Oct 2002, Bjorn Wiren wrote:
> >
> >> gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib
> >> -I/home/etxbwir/openssl/include/openssl -I/home/etxbwir/openssl/include
> >> -I/include -g -O2 -c file.c -Wp,-MD,.deps/file.TPlo -fPIC -DPIC -o
> >> .libs/file.lo
> >
> >> In file included from file.c:81:
> >> urldata.h:260: parse error before `z_stream'
> >> urldata.h:260: warning: no semicolon at end of struct or union
> >> urldata.h:283: parse error before `}'
> >> urldata.h:431: field `keep' has incomplete type
> >
> [..]
> >
> > I've modified the configure.in script since the 7.10 release though and I
> > believe it might work better now. Any chance you can grab the latest one and
> > have a go in your end to test this? It requires autoconf 2.50 or later.
> >
>
> I tried `configure.in' v 1.107 2002/10/01 with curl 7.10-pre4. It gave
> exctly the same error.
>
> My Solaris 2.7 /bin/patch failed to apply Albert Chin's patch - but
> then again, I'm not too handy with patches.

You need GNU patch as it's a unified diff.

-- 
albert chin (china_at_thewrittenword.com)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-03