[Gdal-dev] build errors on host's debian

William Kyngesburye woklist at kyngchaos.com
Sun Aug 21 13:56:51 EDT 2005


up to here it's fine, then:

(cd gcore; make)
make[1]: Entering directory `/home/kyngchaos/src/gdal-1.3.0/gcore'
/bin/sh ../libtool --mode=compile g++ -DHAVE_MITAB -Wall  -I/home/ 
kyngchaos/sw/include   -I../port -I../gcore -I../alg -I../ogr -I../ 
ogr/ogrsf_frmts -I/home/kyngchaos/sw/include -I../port -I/home/ 
kyngchaos/sw -I/home/kyngchaos/sw/include -I/home/kyngchaos/sw -I/ 
home/kyngchaos/sw/include -I/home/kyngchaos/sw -I/home/kyngchaos/sw/ 
include -I/home/kyngchaos/sw/include -I/home/kyngchaos/sw/include -I/ 
home/kyngchaos/sw -I/home/kyngchaos/sw/include  -c -o gdalopeninfo.o  
gdalopeninfo.cpp
mkdir .libs
g++ -DHAVE_MITAB -Wall -I/home/kyngchaos/sw/include -I../port -I../ 
gcore -I../alg -I../ogr -I../ogr/ogrsf_frmts -I/home/kyngchaos/sw/ 
include -I../port -I/home/kyngchaos/sw -I/home/kyngchaos/sw/include - 
I/home/kyngchaos/sw -I/home/kyngchaos/sw/include -I/home/kyngchaos/sw  
-I/home/kyngchaos/sw/include -I/home/kyngchaos/sw/include -I/home/ 
kyngchaos/sw/include -I/home/kyngchaos/sw -I/home/kyngchaos/sw/ 
include -c gdalopeninfo.cpp  -fPIC -DPIC -o .libs/gdalopeninfo.o
In file included from gdal_priv.h:237,
                  from gdalopeninfo.cpp:36:
gdal.h:234: syntax error before `('
gdal.h:235: syntax error before `('
gdal.h:236: syntax error before `('
gdal.h:237: syntax error before `('
gdal.h:238: syntax error before `('
gdal.h:317: parse error before `*'
.
. [and so on up to line 654]
.
In file included from gdalopeninfo.cpp:36:
gdal_priv.h:301: type specifier omitted for parameter
gdal_priv.h:301: parse error before `,'
gdal_priv.h:313: `CPL_STDCALL' is neither function nor method; cannot  
be declared friend
gdal_priv.h:313: parse error before `('
gdal_priv.h:314: `CPL_STDCALL' is neither function nor method; cannot  
be declared friend
gdal_priv.h:314: declaration of `void * GDALDataset::CPL_STDCALL'
gdal_priv.h:313: conflicts with previous declaration `void *  
GDALDataset::CPL_STDCALL'
gdal_priv.h:314: parse error before `('
gdal_priv.h:339: type specifier omitted for parameter
gdal_priv.h:400: type specifier omitted for parameter
gdal_priv.h:314: duplicate member `GDALDataset::CPL_STDCALL'
gdal_priv.h:592: type specifier omitted for parameter
gdal_priv.h:601: type specifier omitted for parameter
gdal_priv.h:606: type specifier omitted for parameter
gdal_priv.h:671: type specifier omitted for parameter
gdal_priv.h:671: parse error before `,'
gdal_priv.h:690: type specifier omitted for parameter
gdal_priv.h:690: parse error before `,'
gdal_priv.h:750: type specifier omitted for parameter
gdal_priv.h:750: parse error before `,'
gdal_priv.h:757: type specifier omitted for parameter
gdal_priv.h:757: parse error before `,'
gdal_priv.h:762: type specifier omitted for parameter
make[1]: *** [gdalopeninfo.o] Error 1
make[1]: Leaving directory `/home/kyngchaos/src/gdal-1.3.0/gcore'
make: *** [core-target] Error 2

On Aug 21, 2005, at 12:44 PM, Frank Warmerdam wrote:

> On 8/20/05, William K <woklist at charter.net> wrote:
>
>> I'm trying to update gdal to 1.3.0 on my host's debian PCs and didn't
>> get very far.  First, apparently now gdal needs 'recursive mutex',
>> which i seems my host doesn't support.  No big deal, -> --without-
>> threads.
>>
>> Now, in gcore/gdalopeninfo.cpp I get parse errors in gdal.h.
>>
>
> William,
>
> I have an x86 Debian system from 2001 or so, and it
> seems to build GDAL fine.  Could you be more specific
> about the errors you are encountering?
>
> Best regards,
> -- 
> --------------------------------------- 
> +--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,  
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for  
> Rent
>

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

All generalizations are dangerous, even this one.



More information about the Gdal-dev mailing list