Hi, I had similar issue when I used a char code conversion tool - nkf.
You would better try to build your tool linked to bionic - Android libc. 1) setup Android build environment http://source.android.com/download 2) mkdir your project under mydroid/external and copy your source code 3) write Android.mk for your project based on your Makefile 4) let the Android build course make your tools On Dec 14, 11:08 am, "massa rubens" <mrmas...@gmail.com> wrote: > Hi, > > I enabled wireless extension in the configuration as the network driver is > working with normal userland in the same kernel. > Only problem is the wireless tools. > > thank you for your comment. > On Sun, Dec 14, 2008 at 10:59 AM, dimitr...@android.com < > > dimitr...@android.com> wrote: > > > Hi, > > > I think wireless tools "talk" to wireless kernel extension. > > So you need to allow wireless extension in the kernel. > > Your network driver should support it as well. > > Android runtime has libc that supposes to be enough for wireless > > tools. > > > Hope this helps. > > > On Dec 13, 5:32 pm, "massa rubens" <mrmas...@gmail.com> wrote: > > > Hi, > > > > I wonder what I need to port it. > > > > This is what I have done: > > > 1.compiled it with static option(=BUILD_STATIC) > > > 2.confirmed it works with normal userland and Android kernel > > > 3.tried the command with Android platform on the emulator and an actual > > > target -> got the error > > > > I've recognized no -static option at the compile. When adding -static, I > > got > > > the following warnings. Need to compile glibc? > > > arm-none-linux-gnueabi-gcc -static -Os -W -Wall -Wstrict-prototypes > > > -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. > > > -MMD -DWE_NOLIBM=y -DWE_ESSENTIAL=y -o ifrename ifrename.o libiw.a > > > libiw.a(iwlib.so): In function `iw_in_inet': > > > iwlib.c:(.text+0xc48): warning: Using 'gethostbyname' in statically > > linked > > > applications requires at runtime the shared libraries from the glibc > > version > > > used for linking > > > iwlib.c:(.text+0xc04): warning: Using 'getnetbyname' in statically linked > > > applications requires at runtime the shared libraries from the glibc > > version > > > used for linking > > > > On Sun, Dec 14, 2008 at 7:57 AM, dimitr...@android.com < > > > > dimitr...@android.com> wrote: > > > > > Hi, > > > > > You need to port them and to compile. It is not an issue. > > > > The main question is what are you trying to achieve ? > > > > > On Dec 13, 4:03 am, mrmas...@gmail.com wrote: > > > > > Hi, > > > > > > I am trying to excute wireless tools to enable an WiFi module. > > > > > But I got an error. > > > > > > #./iwconfig > > > > > ./iwconfig: not found > > > > > > Uncoment the following option in Makefile when compile wireless > > > > > tools29. > > > > > BUILD_STATIC = y > > > > > BUILD_NOLIBM = y > > > > > BUILD_WE_ESSENTIAL = y > > > > > > Has anyone succeeded compile it for Android?- Hide quoted text - > > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---