FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Help with ports
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 gdal build error
Author: Kirk Wythers 
Date:   06-05-03 16:53

I'm trying to build /usr/ports/graphics/gdal on a 5.0 machine. Does anyone recognise the following error:

Thanks

cc -c -DPNG_NO_GLOBAL_ARRAYS -Ilibpng -I../zlib -I../.. -I../../port -I../../core -I../../ogr -Wall -fPIC -O -pipe -mcpu=pentiumpro -I/usr/local/include -I/usr/local/include libpng/pngwtran.c -o pngwtran.o
cp pngwtran.o ../o
cc -c -DPNG_NO_GLOBAL_ARRAYS -Ilibpng -I../zlib -I../.. -I../../port -I../../core -I../../ogr -Wall -fPIC -O -pipe -mcpu=pentiumpro -I/usr/local/include -I/usr/local/include libpng/pngwutil.c -o pngwutil.o
cp pngwutil.o ../o
c++ -c -DPNG_NO_GLOBAL_ARRAYS -Ilibpng -I../zlib -I../.. -I../../port -I../../core -I../../ogr -Wall -fPIC -O -pipe -mcpu=pentiumpro -I/usr/local/include pngdataset.cpp -o pngdataset.o
cp pngdataset.o ../o
gmake[2]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.1.8/frmts/png'
gmake[2]: Entering directory `/usr/ports/graphics/gdal/work/gdal-1.1.8/frmts/grass'
c++ -c -I../.. -I../../port -I../../core -I../../ogr -Wall -fPIC -O -pipe -mcpu=pentiumpro -I/usr/local/include grassdataset.cpp -o grassdataset.o
grassdataset.cpp:76:22: libgrass.h: No such file or directory
grassdataset.cpp: In constructor
`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@lorax:115

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.