From: Asha G. <as...@gm...> - 2014-05-29 12:12:29
|
Hi , I am able to cross compile for android but not able to execute it on android platform. I if execute any of the binaries i am getting " no such file or directory" I checked that the issue with dynamic linker : readelf --program Elf file type is EXEC (Executable file) Entry point 0x87e8 There are 8 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align EXIDX 0x000a7c 0x00008a7c 0x00008a7c 0x00048 0x00048 R 0x4 PHDR 0x000034 0x00008034 0x00008034 0x00100 0x00100 R E 0x4 INTERP 0x000134 0x00008134 0x00008134 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.3] LOAD 0x000000 0x00008000 0x00008000 0x00ac8 0x00ac8 R E 0x8000 LOAD 0x000ac8 0x00010ac8 0x00010ac8 0x00148 0x00158 RW 0x8000 DYNAMIC 0x000ad4 0x00010ad4 0x00010ad4 0x000f0 0x000f0 RW 0x4 NOTE 0x000148 0x00008148 0x00008148 0x00020 0x00020 R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10 Its taking default linker file as /lib/ld-linux, it should be /system/bin/linker for android i guess. Can someone suggest me hoe to change this. Thanks, |