cURL / Mailing Lists / curl-users / Single Mail


Including non-standard -I directories fails

From: <>
Date: Wed, 24 Aug 2011 11:39:42 +0200

Hi folks,

after some struggling I seemed to have the compile environment setup for cURL 7.21.7 on my system: FreeBSD <hostname> 8.2-STABLE FreeBSD 8.2-STABLE with
./configure --prefix=$HOME/curl --with-gssapi --with-ssl=/usr/local/openssl --enable-ipv6 --with-spnego=$HOME/fbopenssl

Configure script ist build fine. I also have built fbopenssl and exported following env vars:

Now when I hit 'make' it fails and can't find a symbol:
Making all in lib
make all-am
if /usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -isystem /net/home/osipovmi/fbopenssl/include -I/usr/include -I/usr/local/openssl/include -I/usr/local/openssl/include/openssl -g0 -O2 -Wno-system-headers -MT file.lo -MD -MP -MF ".deps/file.Tpo" -c -o file.lo file.c; then mv -f ".deps/file.Tpo" ".deps/file.Plo"; else rm -f ".deps/file.Tpo"; exit 1; fi
libtool: compile: gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -isystem /net/home/osipovmi/fbopenssl/include -I/usr/include -I/usr/local/openssl/include -I/usr/local/openssl/include/openssl -g0 -O2 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -fPIC -DPIC -o .libs/file.o
In file included from file.c:74:
urldata.h:378: error: expected specifier-qualifier-list before 'OM_uint32'
*** Error code 1

Stop in /.amd_mnt/blnn728x/home/osipovmi/curl-7.21.7/lib.
*** Error code 1

Stop in /.amd_mnt/blnn728x/home/osipovmi/curl-7.21.7/lib.
*** Error code 1

Stop in /.amd_mnt/blnn728x/home/osipovmi/curl-7.21.7.

Note that '/net/home/osipovmi/fbopenssl/include' is included without '-I'.
Therefore compilation fails. If I perform the above command manually with corrected paths, it compiles.

A bug in the configure/make script?



Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro!
List admin:
Received on 2011-08-24