Opened 12 years ago

Closed 12 years ago

#3105 closed defect (fixed)

gdal does not build with libdap 3.9.x

Reported by: fundawang Owned by: warmerdam
Priority: normal Milestone: 1.7.0
Component: ConfigBuild Version: 1.6.2
Severity: normal Keywords: dods
Cc:

Description

When building gdal 1.6.2 (maybe trunk) with libdap 3.9.3, it fails with:

make[2]: Entering directory `/home/fwang/rpm/BUILD/gdal-1.6.2/frmts/dods' /bin/sh /home/fwang/rpm/BUILD/gdal-1.6.2/libtool --mode=compile --tag=CXX g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wall -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/home/fwang/rpm/BUILD/gdal-1.6.2/gcore -I/home/fwang/rpm/BUILD/gdal-1.6.2/alg -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/usr/include/libdap -I/usr/include/netcdf-3 -I/usr/include/libgeotiff -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/usr -I/usr/include -I/usr -I/usr/include -I/usr/include -I/usr/include/libdap -I/usr/include/dap -c -o ../o/dodsdataset2.lo dodsdataset2.cpp libtool: compile: g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wall -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/home/fwang/rpm/BUILD/gdal-1.6.2/gcore -I/home/fwang/rpm/BUILD/gdal-1.6.2/alg -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/usr/include/libdap -I/usr/include/netcdf-3 -I/usr/include/libgeotiff -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/usr -I/usr/include -I/usr -I/usr/include -I/usr/include -I/usr/include/libdap -I/usr/include/dap -c dodsdataset2.cpp -fPIC -DPIC -o ../o/.libs/dodsdataset2.o dodsdataset2.cpp: In member function 'void DODSDataset::HarvestDAS()': dodsdataset2.cpp:696: error: 'class libdap::DAS' has no member named 'find_container' dodsdataset2.cpp:700: error: 'class libdap::DAS' has no member named 'find_container' dodsdataset2.cpp:704: error: 'class libdap::DAS' has no member named 'find_container' dodsdataset2.cpp: In member function 'void DODSRasterBand::HarvestDAS()': dodsdataset2.cpp:1278: error: 'class libdap::DAS' has no member named 'find_container' make[2]: * o/dodsdataset2.lo Error 1 make[2]: Leaving directory `/home/fwang/rpm/BUILD/gdal-1.6.2/frmts/dods' make[1]: * [dods-install-obj] Error 2 make[1]: Leaving directory `/home/fwang/rpm/BUILD/gdal-1.6.2/frmts' make: * [frmts-target] Error 2

Change History (2)

comment:1 Changed 12 years ago by fundawang

make[2]: Entering directory `/home/fwang/rpm/BUILD/gdal-1.6.2/frmts/dods'
/bin/sh /home/fwang/rpm/BUILD/gdal-1.6.2/libtool --mode=compile --tag=CXX g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -Wall  -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/home/fwang/rpm/BUILD/gdal-1.6.2/gcore -I/home/fwang/rpm/BUILD/gdal-1.6.2/alg -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/usr/include/libdap -I/usr/include/netcdf-3 -I/usr/include/libgeotiff -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/usr -I/usr/include -I/usr -I/usr/include  -I/usr/include -I/usr/include/libdap -I/usr/include/dap -c -o ../o/dodsdataset2.lo dodsdataset2.cpp
libtool: compile:  g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wall -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/home/fwang/rpm/BUILD/gdal-1.6.2/gcore -I/home/fwang/rpm/BUILD/gdal-1.6.2/alg -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr -I/home/fwang/rpm/BUILD/gdal-1.6.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/usr/include/libdap -I/usr/include/netcdf-3 -I/usr/include/libgeotiff -I/home/fwang/rpm/BUILD/gdal-1.6.2/port -I/usr -I/usr/include -I/usr -I/usr/include -I/usr/include -I/usr/include/libdap -I/usr/include/dap -c dodsdataset2.cpp  -fPIC -DPIC -o ../o/.libs/dodsdataset2.o
dodsdataset2.cpp: In member function 'void DODSDataset::HarvestDAS()':
dodsdataset2.cpp:696: error: 'class libdap::DAS' has no member named 'find_container'
dodsdataset2.cpp:700: error: 'class libdap::DAS' has no member named 'find_container'
dodsdataset2.cpp:704: error: 'class libdap::DAS' has no member named 'find_container'
dodsdataset2.cpp: In member function 'void DODSRasterBand::HarvestDAS()':
dodsdataset2.cpp:1278: error: 'class libdap::DAS' has no member named 'find_container'
make[2]: *** [../o/dodsdataset2.lo] Error 1
make[2]: Leaving directory `/home/fwang/rpm/BUILD/gdal-1.6.2/frmts/dods'
make[1]: *** [dods-install-obj] Error 2
make[1]: Leaving directory `/home/fwang/rpm/BUILD/gdal-1.6.2/frmts'
make: *** [frmts-target] Error 2

comment:2 Changed 12 years ago by Even Rouault

Component: defaultConfigBuild
Keywords: dods added
Milestone: 1.7.0
Resolution: fixed
Status: newclosed

r18515 /trunk/gdal/ (7 files in 3 dirs): Fix trunk compilation against libdap 3.9.X (#3105)

Tested for the GDAL DODS driver (autotest/gdrivers/dods.py) with Fedora 12 libdap 3.9.3. Could not test for the OGR DODS driver as the services in ogr_dods.py seem to be out-of-date.

Note: See TracTickets for help on using tickets.