cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] AIX compilation error

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 9 Mar 2004 22:26:59 +0100 (CET)

On Tue, 9 Mar 2004, Tor Arntsen wrote:

> Here's another compilation problem that's shadowed by having a
> system-installed curl on the compilation machine. A build on an AIX box
> without curl installed tripped this. Symptom:
>
> xlc -DHAVE_CONFIG_H -I. -I../../../curl/tests/server -I../../lib -I../../src -I../../../curl/lib -DCURLDEBUG -g -g -c ../../../curl/tests/server/sws.c
> "../../../curl/lib/setup.h", line 142.10: 1506-296 (S) #include file <curl/stdcheaders.h> not found.
> make[2]: *** [sws.o] Error 1
> make[2]: Leaving directory `/users/tor/curl-build/build-23376/tests/server'
>
> Fix follows below.

I applied and committed your fix just seconds before I realized why this error
occurs: the sws build doesn't have an include path that points to the
source-tree include/ dir.

But if everything still builds fine with this fix committed, I guess it was
still a good fix!

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-09