[gdal-dev] gdal android link error
Mohammed Rashad
mohammedrashadkm at gmail.com
Fri Sep 30 07:04:27 EDT 2011
wgis.cpp:(.text._ZN9SHPViewer9LabelfileEv+0x38): undefined reference to
`LabelDialog::LabelDialog(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, int*, DrawShape*)'
/home/rashad/android/gdal/lib/libgdal.a(cpl_atomic_ops.o): In function
`CPLAtomicAdd':
/home/rashad/android/gdal-trunk/port/cpl_atomic_ops.cpp:84: undefined
reference to `__sync_add_and_fetch_4'
/home/rashad/android/gdal-trunk/port/cpl_atomic_ops.cpp:86: undefined
reference to `__sync_sub_and_fetch_4'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipWriteHandle::Write(void const*, unsigned int, unsigned int)':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1114: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1136: undefined
reference to `deflate'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipWriteHandle::Close()':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1065: undefined
reference to `deflate'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1072: undefined
reference to `deflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipWriteHandle':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1007: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1020: undefined
reference to `deflateInit2_'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1007: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:1020: undefined
reference to `deflateInit2_'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipHandle::Read(void*, unsigned int, unsigned int)':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:851: undefined
reference to `inflate'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:893: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:857: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:804: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:814: undefined
reference to `inflateCopy'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:885: undefined
reference to `inflateReset'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:886: undefined
reference to `crc32'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipHandle::gzrewind()':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:496: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:497: undefined
reference to `inflateReset'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipHandle::gzseek(unsigned long long, int)':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:649: undefined
reference to `inflateEnd'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:650: undefined
reference to `inflateCopy'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipHandle':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:309: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:314: undefined
reference to `inflateInit2_'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipHandle::Duplicate()':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:246: undefined
reference to `inflateCopy'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`~VSIGZipHandle':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:355: undefined
reference to `inflateEnd'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:368: undefined
reference to `inflateEnd'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:355: undefined
reference to `inflateEnd'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:368: undefined
reference to `inflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(cpl_vsil_gzip.o): In function
`VSIGZipHandle':
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:309: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_vsil_gzip.cpp:314: undefined
reference to `inflateInit2_'
/home/rashad/android/gdal/lib/libgdal.a(cpl_minizip_unzip.o): In function
`cpl_unzCloseCurrentFile':
/home/rashad/android/gdal-trunk/port/cpl_minizip_unzip.cpp:1783: undefined
reference to `inflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(cpl_minizip_unzip.o): In function
`cpl_unzReadCurrentFile':
/home/rashad/android/gdal-trunk/port/cpl_minizip_unzip.cpp:1600: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_minizip_unzip.cpp:1625: undefined
reference to `inflate'
/home/rashad/android/gdal-trunk/port/cpl_minizip_unzip.cpp:1635: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_minizip_unzip.cpp:1635: undefined
reference to `crc32'
/home/rashad/android/gdal/lib/libgdal.a(cpl_minizip_unzip.o): In function
`cpl_unzOpenCurrentFile3':
/home/rashad/android/gdal-trunk/port/cpl_minizip_unzip.cpp:1401: undefined
reference to `inflateInit2_'
/home/rashad/android/gdal/lib/libgdal.a(cpl_minizip_zip.o): In function
`cpl_zipCloseFileInZipRaw':
/home/rashad/android/gdal-trunk/port/cpl_minizip_zip.cpp:1042: undefined
reference to `deflate'
/home/rashad/android/gdal-trunk/port/cpl_minizip_zip.cpp:1055: undefined
reference to `deflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(cpl_minizip_zip.o): In function
`cpl_zipWriteInFileInZip':
/home/rashad/android/gdal-trunk/port/cpl_minizip_zip.cpp:965: undefined
reference to `crc32'
/home/rashad/android/gdal-trunk/port/cpl_minizip_zip.cpp:984: undefined
reference to `deflate'
/home/rashad/android/gdal/lib/libgdal.a(cpl_minizip_zip.o): In function
`cpl_zipOpenNewFileInZip3':
/home/rashad/android/gdal-trunk/port/cpl_minizip_zip.cpp:859: undefined
reference to `deflateInit2_'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogVSetField':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:1269:
undefined reference to `deflateParams'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogCleanup':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:1246:
undefined reference to `inflateEnd'
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:1248:
undefined reference to `deflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogPostEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:1188:
undefined reference to `deflate'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:1158:
undefined reference to `deflate'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogPreEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:915:
undefined reference to `deflateReset'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogSetupEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:884:
undefined reference to `deflateInit_'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:769:
undefined reference to `inflate'
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:777:
undefined reference to `inflateSync'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogPreDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:719:
undefined reference to `inflateReset'
/home/rashad/android/gdal/lib/libgdal.a(tif_pixarlog.o): In function
`PixarLogSetupDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_pixarlog.c:688:
undefined reference to `inflateInit_'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPCleanup':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:340: undefined
reference to `inflateEnd'
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:337: undefined
reference to `deflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function `ZIPEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:275: undefined
reference to `deflate'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPPostEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:303: undefined
reference to `deflate'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPPreEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:247: undefined
reference to `deflateReset'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPSetupEncode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:213: undefined
reference to `deflateInit_'
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:209: undefined
reference to `inflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function `ZIPDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:171: undefined
reference to `inflate'
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:178: undefined
reference to `inflateSync'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPPreDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:143: undefined
reference to `inflateReset'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPSetupDecode':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:108: undefined
reference to `inflateInit_'
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:104: undefined
reference to `deflateEnd'
/home/rashad/android/gdal/lib/libgdal.a(tif_zip.o): In function
`ZIPVSetField':
/home/rashad/android/gdal-trunk/frmts/gtiff/libtiff/tif_zip.c:359: undefined
reference to `deflateParams'
collect2: ld returned 1 exit status
--
Regards,
Mohammed Rashad K M
M.S. (By Research) student
Lab for Spatial Informatics
Department of CSE
International Institute of Information Technology
Hyderabad, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110930/89e7351a/attachment.html
More information about the gdal-dev
mailing list