cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl api nghttp2 co-req ?

From: Catlow, Martyn <martyn.catlow_at_metoffice.gov.uk>
Date: Tue, 26 Jan 2016 14:08:34 +0000

Thanks. In the meantime I'm trying a port of curl-7.46.0 myself.

Configure seems to complete ok (without nghttp2), but make fails quickly with an error in curl.h:

PRODoe>make
Making all in lib
make[1]: Entering directory '/PROD/u/os/t00mc/projects/curl/curl-7.46.0/lib'
make all-am
make[2]: Entering directory '/PROD/u/os/t00mc/projects/curl/curl-7.46.0/lib'
  CC libcurl_la-file.lo
ERROR CCN3277 ../include/curl/curl.h:865 Syntax error: possible missing ','
 '}'?
CCN0793(I) Compilation failed for file ./file.c. Object file not created.
Makefile:1142: recipe for target 'libcurl_la-file.lo' failed
make[2]: *** [libcurl_la-file.lo] Error 1
make[2]: Leaving directory '/PROD/u/os/t00mc/projects/curl/curl-7.46.0/lib'
Makefile:716: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/PROD/u/os/t00mc/projects/curl/curl-7.46.0/lib'
Makefile:878: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1.

Line 865: CINIT(WRITEDATA, OBJECTPOINT, 1),

Config.log attached.

Any thoughts on this ?

Thanks, Martyn


-----Original Message-----
From: curl-library [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: 11 January 2016 12:25
To: libcurl development
Subject: RE: curl api nghttp2 co-req ?

On Mon, 11 Jan 2016, Catlow, Martyn wrote:

> I guess you refer to configure of the curl install itself rather than
> the api program build ? In which case I guess this needs pushing back
> to the third party who delivered the original curl build ?

Yes, when you build curl you build it with a set of 3rd party libs/dependencies and then you can choose to not build with HTTP/2 support.

--

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2016-01-26