[GDB-Eclipse]"Error while mapping shared library"

Put problems with the Android NDK in this forum.

[GDB-Eclipse]"Error while mapping shared library"

Postby Bytec0d3 » Fri Oct 29, 2010 10:34 am

Hello everyone,
I was able to use eclipse for debugging my library created by NDK and I can see the variable values correctly.
But I get error messages when gdb starts:

Code: Select all
(gdb)
821-target-select remote localhost:5039
&"Error while mapping shared library sections:\n"
&"/system/bin/linker: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libc.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libstdc++.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libm.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"liblog.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libcutils.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libz.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libutils.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libbinder.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libexpat.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libcrypto.so: No such fileError while mapping shared library sections:
/system/bin/linker: No such file or directory.
Error while mapping shared library sections:
libc.so: No such file or directory.
Error while mapping shared library sections:
libstdc++.so: No such file or directory.
Error while mapping shared library sections:
libm.so: No such file or directory.
Error while mapping shared library sections:
liblog.so: No such file or directory.
Error while mapping shared library sections:
libcutils.so: No such file or directory.
Error while mapping shared library sections:
libz.so: No such file or directory.
Error while mapping shared library sections:
libutils.so: No such file or directory.
Error while mapping shared library sections:
libbinder.so: No such file or directory.
Error while mapping shared library sections:
libexpat.so: No such file or directory.
Error while mapping shared library sections:
or directory.\n"
&"Error while mapping shared library sections:\n"
&"libssl.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libicudata.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libicuuc.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libicui18n.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libsqlite.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libnativehelper.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libnetutils.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libEGL.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libwpa_client.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libhardware_legacy.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libpixelflinger.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
libcrypto.so: No such file or directory.
Error while mapping shared library sections:
libssl.so: No such file or directory.
Error while mapping shared library sections:
libicudata.so: No such file or directory.
Error while mapping shared library sections:
libicuuc.so: No such file or directory.
Error while mapping shared library sections:
libicui18n.so: No such file or directory.
Error while mapping shared library sections:
libsqlite.so: No such file or directory.
Error while mapping shared library sections:
libnativehelper.so: No such file or directory.
Error while mapping shared library sections:
libnetutils.so: No such file or directory.
Error while mapping shared library sections:
libEGL.so: No such file or directory.
Error while mapping shared library sections:
libwpa_client.so: No such file or directory.
Error while mapping shared library sections:
libhardware_legacy.so: No such file or directory.
Error while mapping shared library sections:
libpixelflinger.so: No such file or directory.
Error while mapping shared library sections:
libhardware.so: No such file or directory.
Error while mapping shared library sections:
libui.so: No such file or directory.
Error while mapping shared library sections:
libsurfaceflinger_client.so: No such file or directory.
Error while mapping shared library sections:
libcamera_client.so: No such file or directory.
Error while mapping shared library sections:
libemoji.so: No such file or directory.
Error while mapping shared library sections:
libjpeg.so: No such file or directory.
Error while mapping shared library sections:
libskia.so: No such file or directory.
Error while mapping shared library sections:
libGLESv1_CM.so: No such file or directory.
Error while mapping shared library sections:
libskiagl.so: No such file or directory.
Error while mapping shared library sections:
libdvm.so: No such file or directory.
Error while mapping shared library sections:
libGLESv2.so: No such file or directory.
&"libhardware.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libui.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libsurfaceflinger_client.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libcamera_client.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libemoji.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libjpeg.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libskia.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libGLESv1_CM.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libskiagl.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libdvm.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libGLESv2.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libETC1.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libsonivox.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libmedia.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libandroid_runtime.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libexif.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libdrm1.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libvorbisidec.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libopencore_common.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libopencore_net_support.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libopencore_player.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libomx_sharedlibrary.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
Error while mapping shared library sections:
libETC1.so: No such file or directory.
Error while mapping shared library sections:
libsonivox.so: No such file or directory.
Error while mapping shared library sections:
libmedia.so: No such file or directory.
Error while mapping shared library sections:
libandroid_runtime.so: No such file or directory.
Error while mapping shared library sections:
libexif.so: No such file or directory.
Error while mapping shared library sections:
libdrm1.so: No such file or directory.
Error while mapping shared library sections:
libvorbisidec.so: No such file or directory.
Error while mapping shared library sections:
libopencore_common.so: No such file or directory.
Error while mapping shared library sections:
libopencore_net_support.so: No such file or directory.
Error while mapping shared library sections:
libopencore_player.so: No such file or directory.
Error while mapping shared library sections:
libomx_sharedlibrary.so: No such file or directory.
Error while mapping shared library sections:
libomx_amrenc_sharedlibrary.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_amrnb_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_avc_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_color_conversion.so: No such file or directory.
Error while mapping shared library sections:
libstagefright.so: No such file or directory.
Error while mapping shared library sections:
libmedia_jni.so: No such file or directory.
Error while mapping shared library sections:
libstlport.so: No such file or directory.
Error while mapping shared library sections:
libwebcore.so: No such file or directory.
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
&"libomx_amrenc_sharedlibrary.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libstagefright_amrnb_common.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libstagefright_avc_common.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libstagefright_color_conversion.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libstagefright.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libmedia_jni.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libstlport.so: No such file or directory.\n"
&"Error while mapping shared library sections:\n"
&"libwebcore.so: No such file or directory.\n"
&"warning: Unable to find dynamic linker breakpoint function.\nGDB will be unable to debug shared library initializers\nand track explicitly loaded dynamic code."


in fact, if i type "info sharedlibraries" i get:
Code: Select all
836 info sharedlibrary
&"info sharedlibrary\n"
~"From        To          Syms Read   Shared Object Library\n"
~"                        No          /system/bin/linker\n"
~"                        No          libc.so\n"
~"                        No          libstdc++.so\n"
~"                        No          libm.so\n"
~"                        No          liblog.so\n"
~"                        No          libcutils.so\n"
~"                        No          libz.so\n"
~"                        No          libutils.so\n"
~"                        No          libbinder.so\n"
~"                        No          libexpat.so\n"
~"                        No          libcrypto.so\n"
~"                        No          libssl.so\n"
~"                        No          libicudata.so\n"
~"                        No          libicuuc.so\n"
~"                        No          libicui18n.so\n"
~"                        No          libsqlite.so\n"
~"                        No          libnativehelper.so\n"
~"                        No          libnetutils.so\n"
~"                        No          libEGL.so\n"
~"                        No          libwpa_client.so\n"
~"                        No          libhardware_legacy.so\n"
~"                        No          libpixelflinger.so\n"
~"                        No          libhardware.so\n"
~"                        No          libui.so\n"
~"                        No          libsurfaceflinger_client.so\n"
~"                        No          libcamera_client.so\n"
~"                        No          libemoji.so\n"
~"                        No          libjpeg.so\n"
~"                        No          libskia.so\n"
~"                        No          libGLESv1_CM.so\n"
~"                        No          libskiagl.so\n"
~"                        No          libdvm.so\n"
~"                        No          libGLESv2.so\n"
~"                        No          libETC1.so\n"
~"                        No          libsonivox.so\n"
~"                        No          libmedia.so\n"
~"                        No          libandroid_runtime.so\n"
~"                        No          libexif.so\n"
~"                        No          libdrm1.so\n"
~"                        No          libvorbisidec.so\n"
~"                        No          libopencore_common.so\n"
~"                        No          libopencore_net_support.so\n"
~"                        No          libopencore_player.so\n"
~"                        No          libomx_sharedlibrary.so\n"
~"                        No          libomx_amrenc_sharedlibrary.so\n"
~"                        No          libstagefright_amrnb_common.so\n"
~"                        No          libstagefright_avc_common.so\n"
~"                        No          libstagefright_color_conversion.so\n"
~"                        No          libstagefright.so\n"
~"                        No          libmedia_jni.so\n"
~"                        No          libstlport.so\n"
~"                        No          libwebcore.so\n"
~"0x80900bac  0x8090201c  Yes         /Users/bytec0d3/Android/Programs/myHelloWorld/obj/local/armeabi/libmyHelloWorld.so\n"
836^done


how can i fix this? :roll:

Thanks in advance :D
Bytec0d3
Freshman
Freshman
 
Posts: 4
Joined: Fri Oct 29, 2010 10:29 am

Top

Re: [GDB-Eclipse]"Error while mapping shared library"

Postby Bytec0d3 » Sat Oct 30, 2010 3:45 pm

please guys...it's important for me :(
Bytec0d3
Freshman
Freshman
 
Posts: 4
Joined: Fri Oct 29, 2010 10:29 am

Re: [GDB-Eclipse]"Error while mapping shared library"

Postby www.rzr.online.fr » Wed Jul 20, 2011 4:52 pm

nvidia suggested to ignore those message... can you confirm ?
User avatar
www.rzr.online.fr
Junior Developer
Junior Developer
 
Posts: 20
Joined: Tue Feb 03, 2009 11:39 am
Location: fr/35/rennes

Top

Return to NDK Problems

Who is online

Users browsing this forum: No registered users and 3 guests