#1809 closed defect (fixed)
gdal trunk doesn't compile with ./configure --without-ogr
Reported by: | Even Rouault | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | low | Milestone: | 1.5.0 |
Component: | ConfigBuild | Version: | svn-trunk |
Severity: | normal | Keywords: | avc ingr aigrid |
Cc: | warmerdam, ilucena |
Description
I don't know if --without-ogr is still supposed to work, but it doesn't actually.
After a fresh checkout and ./configure --without-libtool --without-ogr --with-libtiff=internal
I get the following linking errors when linking gdalinfo for example (on r12105):
libgdal.so: undefined reference to `AVCBinReadOpen' libgdal.so: undefined reference to `AVCBinReadClose' libgdal.so: undefined reference to `DGN2IEEEDouble(void*)' libgdal.so: undefined reference to `AVCBinReadNextTableRec'
The AVC symbols come from ogr/ogrsf_frmts/avc and are used by frmts/aigrid The DGN2IEEEDouble symbol comes from ogr/ogrsf_frmts/dgn/dgnfloat.cpp and is used by frmts/ingr/IngrTypes.cpp.
I guess we should disable the building of the ingr and aigrid drivers when OGR building is disabled.
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Keywords: | avc ingr aigrid added |
Milestone: | → 1.5.0 |
Owner: | changed from | to
Priority: | normal → low |
by , 15 years ago
Attachment: | gdal_svn_trunk_fix_ingr_without_ogr.patch added |
---|
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 15 years ago
I think this should not be closed as there's still the problem with the AVC code
Mateusz,
Could you do the following:
This is not terrible high priority but it would be desirable to resolve it before 1.5 release.