I think, the Error Printed by the Linker is incorrect - we have the
following piece of code( in Function -
1 char *sym_name = NULL;
2 DEBUG("%5d Processing '%s' relocation at index %d\n", pid,
si->name, idx);
3 if(sym != 0) {
4 s = _do_lookup(si, strtab + symtab[sym].st_name, &base);
5 if(s == 0) {
6 ERROR("%5d cannot locate '%s'...\n", pid, sym_name);
7 return -1;
8 }
The Error at line-6 will always prints NULL , the argument passed in
line-6 should be the name of symbol , whose lookup failed.
Thanks
Manikantan S
On Mar 30, 12:22 am, Iliyan Malchev <[email protected]> wrote:
> This fix is already available. You can see that the loader is now
> ignoring R_ARM_NONE relocations.
>
> http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=linker/...
>
> On Sat, Mar 28, 2009 at 12:12 AM, kgvs.android <[email protected]> wrote:
>
> > I also face same issue as of Girish. The executable is not running and
> > halts with the error bionic/linker/linker.c:1078| ERROR: 2967 cannot
> > locate '(null)'...
> > -
> > Kurt Glivos
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---