[android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-19 Thread krish24
Hi All, I am running a client application in target which receives the read/ write request from Modem side. To serve the read/write request for files, application access the NFS file system(Local NFS). The client uses the RPC node to receive the Modem read/write request. It access the NFS file s

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-19 Thread David Turner
/etc/services is not supported in Android. Instead the C library provides a hard-coded list. See bionic/libc/netbsd/net/services.h for the current list, and bionic/libc/tools/genserv.py for a Python script to update it. Hope this helps. On Tue, Jan 19, 2010 at 7:34 AM, krish24 wrote: > Hi All,

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-19 Thread David Turner
And /etc/protocols is not supported either. See bionic/libc/bionic/stubs.c for the getprotobyname() implementation. On Tue, Jan 19, 2010 at 4:03 PM, David Turner wrote: > /etc/services is not supported in Android. Instead the C library provides a > hard-coded list. > See bionic/libc/netbsd/net/s

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-20 Thread Kishor
Hi David, Thanks for your reply. I have compiled the client application statically with arm-linux-gcc tool chain. The executable is linked to glibc statically. So here when i run the application, glibc part should search the protocol file in /etc folder? Does the android not allowing this? Is the

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-28 Thread Kishor
Hi all, I am struck up with same issue. Please help me on resolving this issue. Issue is described in below mail chain. Thanks in advance, Krish On Wed, Jan 20, 2010 at 9:05 PM, Kishor wrote: > Hi David, > > Thanks for your reply. > > I have compiled the client application statically with ar

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-28 Thread David Turner
Well, the system is probably simply missing /etc/protocol and/or /etc/services since that's what GLibc does. Did you try copying a version from your Linux machine to a system image to see if this solves the issue ? On Wed, Jan 20, 2010 at 7:35 AM, Kishor wrote: > Hi David, > > Thanks for your re

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-01-29 Thread Kishor
Hi David, Yes, I copied the Protocols, Services and Hosts files to the target's android image "/etc" folder directly. But it gives the same warning(RPC:Unknown protocol). is there any permissions or security issue? krish On Fri, Jan 29, 2010 at 5:18 AM, David Turner wrote: > Well, the syst

Re: [android-porting] Accessing the NFS server from Android : RPC: Unknown protocol issue

2010-02-02 Thread Kishor
Hi All, Does anybody has any idea or suggestion on this issue?? I am badly struck up with this. krish On Sat, Jan 30, 2010 at 12:34 PM, Kishor wrote: > > Hi David, > > Yes, I copied the Protocols, Services and Hosts files to the target's > android image "/etc" folder directly. > But it gives