|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1677491 ] compilation outside distribution directory failed.
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 09 Mar 2007 10:00:09 -0800
Bugs item #1677491, was opened at 2007-03-09 19:00
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Problem: I was trying to compile curl package for mingw32 platform on a linux system. configure command I used is something like:
In file included from ../../../../curl68/lib/setup.h:375,
The same probleme occurs when not using cross compilation. After investigation I have figured what the error is: the wrong config.h is include. It is included by the setup.h in either lib/ or src/ directory depending what is being compiled. When compiling in the distrib directory lib/setup.h(#include "config.h") will always include lib/config.h (resp. src). In my case as config.h files are configured their locations is not in the same directory that setup.h but ${topdir}/src/config.h and ${topdir}/lib/config.h. In this configuration the config.h file actually include by setup.h is the one from the first -I ... As a simple workaround you should change the name of the configuration in both directory. Notice that I am not an expert of autoconf but I guess your way of using the config.h is not totally recommended.
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info