gdal will not compile on 5.0

Kirk R. Wythers kwythers at umn.edu
Mon May 5 09:30:03 PDT 2003


I can't get gdal to compile on the 5.0 release. Does anyone know what is
up here?

Thanks,

Kirk
 

  `GRASSRasterBand::GRASSRasterBand(GRASSDataset*, int, const char*,
const
   char*)':
grassdataset.cpp:174: aggregate `Cell_head sCellInfo' has incomplete
type and
   cannot be defined
grassdataset.cpp:179: `G_get_cellhd' undeclared (first use this
function)
grassdataset.cpp:179: (Each undeclared identifier is reported only once
for
   each function it appears in.)
grassdataset.cpp:180: `G_raster_map_type' undeclared (first use this
function)
grassdataset.cpp:185: aggregate `FPRange sRange' has incomplete type and
cannot
   be defined
grassdataset.cpp:188: `G_read_fp_range' undeclared (first use this
function)
grassdataset.cpp:195: `G_get_fp_range_min_max' undeclared (first use
this
   function)
grassdataset.cpp:202: `CELL_TYPE' undeclared (first use this function)
grassdataset.cpp:228: `FCELL_TYPE' undeclared (first use this function)
grassdataset.cpp:233: `DCELL_TYPE' undeclared (first use this function)
grassdataset.cpp:242: `G_open_cell_old' undeclared (first use this
function)
grassdataset.cpp:247: aggregate `Colors sGrassColors' has incomplete
type and
   cannot be defined
grassdataset.cpp:251: `G_read_colors' undeclared (first use this
function)
grassdataset.cpp:259: `G_get_color' undeclared (first use this function)
grassdataset.cpp:279: `G_free_colors' undeclared (first use this
function)
grassdataset.cpp: In destructor `virtual
GRASSRasterBand::~GRASSRasterBand()':
grassdataset.cpp:294: `G_close_cell' undeclared (first use this
function)
grassdataset.cpp: In member function `virtual CPLErr
   GRASSRasterBand::IReadBlock(int, int, void*)':
grassdataset.cpp:313: `G_get_null_value_row' undeclared (first use this
   function)
grassdataset.cpp:318: `G_get_raster_row' undeclared (first use this
function)
grassdataset.cpp: In static member function `static GDALDataset*
   GRASSDataset::Open(GDALOpenInfo*)':
grassdataset.cpp:509: `G_set_error_routine' undeclared (first use this
   function)
grassdataset.cpp:510: `G_gisinit_2' undeclared (first use this function)
grassdataset.cpp:516: `G_check_cell' undeclared (first use this
function)
grassdataset.cpp:521: `G_free' undeclared (first use this function)
grassdataset.cpp:528: `I_check_group' undeclared (first use this
function)
grassdataset.cpp:530: aggregate `Ref ref' has incomplete type and cannot
be
   defined
grassdataset.cpp:532: `I_init_group_ref' undeclared (first use this
function)
grassdataset.cpp:533: `I_get_group_ref' undeclared (first use this
function)
grassdataset.cpp:541: `I_free_group_ref' undeclared (first use this
function)
grassdataset.cpp:563: aggregate `Cell_head sCellInfo' has incomplete
type and
   cannot be defined
grassdataset.cpp:574: `G_set_window' undeclared (first use this
function)
grassdataset.cpp:588: `G_get_cell_as_proj4' undeclared (first use this
   function)
gmake[2]: *** [grassdataset.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/gdal/work/gdal-1.1.8/frmts/grass'
gmake[1]: *** [sub-libs] Error 1
gmake[1]: Leaving directory
`/usr/ports/graphics/gdal/work/gdal-1.1.8/frmts'
gmake: *** [frmts-target] Error 2
*** Error code 2
 
Stop in /usr/ports/graphics/gdal.
root at lorax:145





More information about the freebsd-ports mailing list