<div dir="ltr">sorry wrong post ..<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 6:16 PM, Gane R <span dir="ltr"><<a href="mailto:gane.prog@gmail.com" target="_blank">gane.prog@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I got it working, I saw the post Handling pdfium build / integration and fixed it.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 2:47 PM, Gane R <span dir="ltr"><<a href="mailto:gane.prog@gmail.com" target="_blank">gane.prog@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I am looking for building gdal with minimal set of drivers like gdal with geotiff, jpg, png and sqlite gpkg<br><br></div>so it should do basic warp geotiff and work with geopkg raster. I don't need OGR part I need the core, alg and raster tif, gpkg, jpg and png alone is enought.<br></div>the problem is I get a fat static lib. I want to reduce its size.<br><br>I tried to follow the post <a href="https://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithMinimizedDrivers" target="_blank">https://trac.osgeo.org/gdal/wi<wbr>ki/BuildingOnUnixWithMinimized<wbr>Drivers</a> It seems it is old.<br><br></div><div>When I build i get error during building the apps like gdalinfo, gdalwarp ....<br><br></div>Any suggestions <br><div><br>my ogr/ogrsf_frmts/GNUmakefile is <br></div><div>like <br><br>include ../../GDALmake.opt<br><br>SUBDIRS-yes := \<br> generic rec shape<br><br>SUBDIRS-$(HAVE_DODS) += dods<br>SUBDIRS-$(HAVE_DWGDIRECT) += dxfdwg<br>SUBDIRS-$(HAVE_FME) += fme<br>SUBDIRS-$(HAVE_GRASS) += grass<br>SUBDIRS-$(HAVE_IDB) += idb<br><br></div><div>I get the following error<br><br>/home/user/home/user/x64/gdal-<wbr>2.1.0/.libs/libgdal.so: undefined reference to `TABINDFile::~TABINDFile()'<br>/home/user/home/user/x64/gdal-<wbr>2.1.0/.libs/libgdal.so: undefined reference to `TABINDFile::FindNext(int, unsigned char*)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_object_add'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `TABINDFile::Open(char const, char const, int)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::CreateField(OGRF<wbr>ieldDefn*, int)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_to_file'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `MITABSpatialRef2CoordSys(OGRS<wbr>patialReference*)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_tokener_free'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_new_int64'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_get_string'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::GetFeatureCount(<wbr>int)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `TABINDFile::BuildKey(int, int)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_array_add'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_new_object'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRXPlane_ExtendPosition(doub<wbr>le, double, double, double, double*, double*)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::SetNextByIndex(l<wbr>ong long)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::CreateGeomField(<wbr>OGRGeomFieldDefn*, int)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::ResetReading()'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::ICreateFeature(O<wbr>GRFeature*)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRXPlane_Distance(double, double, double, double)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `TABINDFile::AddEntry(int, unsigned char*, int)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_put'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `json_object_new_double_with_p<wbr>recision'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::TestCapability(c<wbr>har const*)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::DeleteFeature(lo<wbr>ng long)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_new_int'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `TABINDFile::Close()'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_get_type'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::GetNextFeature()<wbr>'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `OGRMemLayer::OGRMemLayer(char const, OGRSpatialReference, OGRwkbGeometryType)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `TABINDFile::BuildKey(int, char const*)'<br>/home/user/x64/gdal-2.1.0/.lib<wbr>s/libgdal.so: undefined reference to `gdal_json_object_from_file'<br><br></div><div>Thanks<span class="m_5215781478050343690HOEnZb"><font color="#888888"><br></font></span></div><span class="m_5215781478050343690HOEnZb"><font color="#888888"><div>Gane<br></div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>