[gdal-dev] gdal android

Mohammed Rashad mohammedrashadkm at gmail.com
Thu Feb 17 05:40:38 EST 2011


I am using android-ndk-r4-crystax. gdal is building proprerly but I am
getting error when linking gdal with my application

here is my error log

/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/rashadkm/android/gdal/lib/libgdal.a(ogrregisterall.o): Relocations in
generic ELF (EM: 3)
/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/rashadkm/android/gdal/lib/libgdal.a(ogrregisterall.o): Relocations in
generic ELF (EM: 3)
/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/rashadkm/android/gdal/lib/libgdal.a(ogrregisterall.o): Relocations in
generic ELF (EM: 3)
/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/rashadkm/android/gdal/lib/libgdal.a(ogrregisterall.o): Relocations in
generic ELF (EM: 3)
/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/rashadkm/android/gdal/lib/libgdal.a(ogrregisterall.o): Relocations in
generic ELF (EM: 3)
/home/rashadkm/android/android-ndk-r4-crystax/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
/home/rashadkm/android/gdal/lib/libgdal.a(ogrregisterall.o): Relocations in
generic ELF (EM: 3)
/home/rashadkm/android/gdal/lib/libgdal.a: could not read symbols: File in
wrong format
collect2: ld returned 1 exit status


-- 
Thanks && Regards
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110217/77cedc5b/attachment.html


More information about the gdal-dev mailing list