Thanks for information!!

It seems I founds an issue with your information.
This is the log message for my case,
-------------------------------------------------------------------------------------------------------------
E/linker  (  709): PAGES MODIFIED: insmod: 14 (56KB)
E/linker  (  708):   708 mapping library 'liblog.so' at 60000000
(index 00000000) through buddy allocator.
E/linker  (  708):   708 mapping library 'libc.so' at 60100000 (index
00000001) through buddy allocator.
E/linker  (  698):   698 mapping library 'libcrypto.so' at 60800000
(index 00000008) through buddy allocator.
E/linker  (  708):   708 mapping library 'libstdc++.so' at 60200000
(index 00000002) through buddy allocator.
E/linker  (  708):   708 mapping library 'libm.so' at 60300000 (index
00000003) through buddy allocator.
E/linker  (  708):   708 mapping library 'libcutils.so' at 60400000
(index 00000004) through buddy allocator.
E/linker  (  708): LINKER TIME: insmod: 89424 microseconds
E/linker  (  708): RELO STATS: insmod: 308 abs, 1019 rel, 0 copy, 308
symbol
E/linker  (  708): PAGES MODIFIED: insmod: 14 (56KB)
E/linker  (  699):   699 mapping library 'libutils.so' at 60600000
(index 00000006) through buddy allocator.
E/linker  (  699):   699 mapping library 'libz.so' at 60700000 (index
00000007) through buddy allocator.
E/linker  (  700):   700 mapping library 'libz.so' at 60600000 (index
00000006) through buddy allocator.
E/linker  (  698):   698 mapping library 'libz.so' at 60700000 (index
00000007) through buddy allocator.
E/linker  (  703):   703 mapping library 'libz.so' at 60500000 (index
00000005) through buddy allocator.
E/linker  (  699): bionic/linker/linker.c:1479| ERROR:   699 cannot
locate 'pthread_cancel'...
E/linker  (  699): bionic/linker/linker.c:1995| ERROR: failed to link
libutils.so
E/linker  (  699):
E/linker  (  699): bionic/linker/linker.c:1914| ERROR:   699 could not
load needed library 'libutils.so' for 'libril.so' (link_image[1995]:
failed to link libutils.so
E/linker  (  699): )
E/linker  (  699): bionic/linker/linker.c:1995| ERROR: failed to link
libril.so
E/linker  (  699):
E/linker  (  700): bionic/linker/linker.c:1479| ERROR:   700 cannot
locate 'pthread_cancel'...
E/linker  (  700): bionic/linker/linker.c:1995| ERROR: failed to link
libutils.so
E/linker  (  700):
E/linker  (  700): bionic/linker/linker.c:1914| ERROR:   700 could not
load needed library 'libutils.so' for '/system/bin/
app_process' (link_image[1995]: failed to link libutils.so
-------------------------------------------------------------------------------------------------------------

It doesn't seem linker can find a function "pthread_cancel" for
libutils.so but I'm not sure if Android C(bionic) library supports
that function. I thought the function is not supported for Android C
lib.

Could I expect to have the function in libutils.so or somewhere else?


On Oct 26, 6:19 pm, David Turner <di...@android.com> wrote:
> Probably a problem in the dynamic linker. You should try to enable debug
> traces to get more information.
> See bionic/linker/linker_debug.h and the end of bionic/linker/linker.c for
> more details.
>
>
>
>
>
>
>
> On Tue, Oct 26, 2010 at 12:38 PM, jakiee <janghwa...@gmail.com> wrote:
> > I ran the Eclair code on superH (sh4) architecture based machine and
> > am trying to run Froyo code on same platform.
> > But I have the issue to run core components such as app-process,
> > mediaserver from init process.
> > If I manually run those binaries in /system/bin folder, I can see this
> > message,
>
> >  ./mediaserver
> > link_image[1995]: failed to link ./mediaserver
> > CANNOT LINK EXECUTABLE
>
> > I can see same kind of message for app-process, mediaserver,
> > system_server, dalvikvm and run-core-tests script while it is ok to
> > run other executables such as logcat, ping, etc.
>
> >  ./run-core-tests
> > link_image[1995]: failed to link dalvikvm
> > CANNOT LINK EXECUTABLE
>
> > Could anybody to let me know what the issue might be and what/how to
> > check?
>
> > Thanks in advance,
> > -Jake
>
> > --
> > unsubscribe: 
> > android-porting+unsubscr...@googlegroups.com<android-porting%2Bunsubscribe@ 
> > googlegroups.com>
> > website:http://groups.google.com/group/android-porting

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to