I'm trying to build GDAL 2.1.2 on Fedora 15 Linux. I'm using a
complicated environment and collection of .a files (because .so's
are like a box of chocolates) and running into a some GDAL-internal
function that's missing: g++ -L/cw/builds_3p/linux_f15_x64/lib gdalinfo_bin.o /cw/src_3p/gdal-2.1.2/libgdal.a -L/cw/builds_3p/linux_f15_x64/lib -lproj -L/cw/builds_3p/linux_f15_x64/lib -lexpat -L/usr/local/lib -lxerces-c -lpthread -L/cw/builds_3p/linux_f15_x64 -L/cw/builds_3p/linux_f15_x64/lib -logdi -L/cw/builds_3p/linux_f15_x64 -L/cw/builds_3p/linux_f15_x64/lib -ljpeg -L/cw/builds_3p/linux_f15_x64/lib -lgeotiff -L/cw/builds_3p/linux_f15_x64/lib -ltiff -lpng -lz -L/cw/builds_3p/linux_f15_x64 -L/cw/builds_3p/linux_f15_x64/lib -lpthread -lm -lrt -ldl -ljpeg -lecwj2 -lcurl -L/cw/builds_3p/linux_f15_x64/3rd-party/lib -L/cw/builds_3p/linux_f15_x64/lib -lltidsdk -lpthread -L/cw/builds_3p/linux_f15_x64/lib -llti_lidar_dsdk -L/cw/builds_3p/linux_f15_x64/lib -lxml2 -L/cw/builds_3p/linux_f15_x64/lib -lz -lm -o gdalinfo /cw/src_3p/gdal-2.1.2/libgdal.a(vrtfilters.o): In function `VRTFilteredSource::RasterIO(int, int, int, int, void*, int, int, GDALDataType, long long, long long, GDALRasterIOExtraArg*)': vrtfilters.cpp:(.text+0xab4): undefined reference to `CPLErr VRTComplexSource::RasterIOInternal<float>(int, int, int, int, void*, int, int, GDALDataType, long long, long long, GDALRasterIOExtraArg*, GDALDataType)' collect2: ld returned 1 exit status make[1]: *** [gdalinfo] Error 1 make[1]: Leaving directory `/home/sourcetree/cw/src_3p/gdal-2.1.2/apps' make: *** [apps-target] Error 2 The configuration is set with: ./configure \ --prefix="${BUILD_DIR}" \ --disable-shared \ --enable-static \ --with-pic \ --without-ld-shared \ --without-libtool \ --with-libz="${BUILD_DIR}" \ --with-jpeg="${BUILD_DIR}" \ --with-ogdi="${BUILD_DIR}" \ --with-libz="${BUILD_DIR}" \ --with-expat="${BUILD_DIR}" \ --with-static-proj4="${BUILD_DIR}" \ --with-libtiff="${BUILD_DIR}" \ --with-geotiff="${BUILD_DIR}" \ --with-ecw="${BUILD_DIR}" \ --with-mrsid="${MRSID}" \ --with-jp2mrsid="${MRSID_JP2}" \ --with-mrsid_lidar="${MRSID_LIDAR}" \ --without-sqlite3 \ --without-gif \ --without-oci \ --without-odbc \ --with-curl where the variables refer to the locations of other pre-built third-party libraries. Any ideas on what's going wrong? |
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev