[Gdal-dev] build gdal with grass support error

Richard Greenwood rich at greenwoodmap.com
Fri May 28 05:12:40 EDT 2004


> Frank Warmerdam wrote:
>>
>> Not your fault.  There is a bug about this:
>>
>>   http://bugzilla.remotesensing.org/show_bug.cgi?id=408
>>
>> Just hand edit your code changing this:
>>
>>   typedef int (*GrassErrorHandler)();
>>
>> to this:
>>    typedef int (*GrassErrorHandler)(...);
>>
>> or the other way around as needed.
>>
>> I am vaguely hopeful that the code in CVS works properly.
>>
>> Best regards,
> 
> 
> 
> Thanks Frank and Alessandro for the prompt replies. Changing 
> (*GrassErrorHandler)(...) to (*GrassErrorHandler)() solved the problem.
> 
> I had updated from CVS last night, so unfortunately I guess it's not 
> fixed in CVS.

I may have mislead you about the CVS in the sentence above - my local 
copy of GDAL source was pointed at the 1.9 CVS branch. (I'm not to swift 
with CVS). The 1.2.0b source tarball compiled with grass support correctly.

Apologies if I caused any confusion.

-- 
Richard Greenwood
www.greenwoodmap.com



More information about the Gdal-dev mailing list