Re: target-independent libcurl headers
Date: Wed, 28 Jun 2017 15:18:02 +0530
Yes, I did all below steps:
I am trying to compile the example as given in below link:
This includes only curl/curl.h which intern includes curlrules.h
If someone has solved this error with 7.54.0 or earlier version, could you
please give me some link which talks about solution ?
Probably I can't wait for 7.55.0, which is scheduled for release in August,
On Wed, Jun 28, 2017 at 2:26 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 27 Jun 2017, Rahul Sabnis wrote:
> I am trying to build libcurl shared library and try some basic examples
>> using curl 7.54.0. It built successfully on all platforms I tried (Linux,
>> Solaris, AIX, HP-UX).
>> line 138: zero or negative subscript
>> line 148: zero or negative subscript
>> cc: acomp failed for http_post.c
> And you did these steps:
> $ ./configure
> $ make
> $ make install
> ... to get those headers installed?
> On AIX and HP-UX, I see similar errors, related to same header file.
> Are you saying that you're including the *same* header files when building
> for multiple target systems? That's not going to work.
> Others have managed to build curl on these systems before, so I'd suspect
> that there's just something wrong happening for you.
> Question is, since the new release is related to target independent
>> headers, will the above problem be addressed if I use newer version i.e.
>> 7.55.0 ?
> The headers are different now (in git master) so this error can't happen,
> no. From 7.55.0, building for multiple systems using the same physical
> header file setup works.
> / daniel.haxx.se
Received on 2017-06-28