cURL / Mailing Lists / curl-library / Single Mail


Re: problems compling latest curl code.

From: Ben Greear <>
Date: Wed, 13 Jul 2011 15:14:10 -0700

On 07/13/2011 01:57 PM, Daniel Stenberg wrote:
> On Wed, 13 Jul 2011, Ben Greear wrote:
>> I merged with upstream in my hacked repository, and it seems there is
>> a recursive include of gssapi.h. Maybe this should be re-named
>> curl-gssapi.h?
> Ack. Fix just pushed. Thanks for your report!

I see this on Fedora Core 5. I do have a /usr/include/gssapi/gssapi.h,
but maybe the configure logic isn't working right? I'll poke a bit more...

  gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -I/home/greearb/git/btbits/l4libs/c-ares.ct/include -DDEBUGBUILD -DCURLDEBUG
-I/usr/kerberos/include -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations
-Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-system-headers -Werror -MT curl_gssapi.lo -MD -MP -MF .deps/curl_gssapi.Tpo -c curl_gssapi.c -fPIC -DPIC -o .libs/curl_gssapi.o
  gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DUNITTESTS -I/home/greearb/git/btbits/l4libs/c-ares.ct/include -DDEBUGBUILD
-DCURLDEBUG -I/usr/kerberos/include -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations
-Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-system-headers -Werror -MT libcurlu_la-file.lo -MD -MP -MF .deps/libcurlu_la-file.Tpo -c file.c -fPIC -DPIC -o
In file included from curl_gssapi.c:23:
curl_gssapi.h:34:22: error: gssapi.h: No such file or directory
In file included from curl_gssapi.c:23:
curl_gssapi.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Curl_gss_init_sec_context'
curl_gssapi.c:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Curl_gss_init_sec_context'
make[3]: *** [curl_gssapi.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Ben Greear <>
Candela Technologies Inc
List admin:
Received on 2011-07-14