You can add

*LOCAL_CFLAGS += -mabi=aapcs-linux*


in the Android.mk of pppd to fix this issue.

BRs,
Eric Lu
On Wed, Jan 21, 2009 at 9:56 AM, Herb <herbch...@gmail.com> wrote:

>
> To Sean: Yes, I use ip-up script, and the setting is correct.
>
> To Wang Xiaoguang: Thanks a lot! It's driver issue, and ppp0 works
> after apply ur patch!
>
> Thank you all! :)
>
> On 1月20日, 下午9時05分, "Wang Xiaoguang" <wxiaogu...@gmail.com> wrote:
> > drivers/net/ppp_generic.c
> >
> > in static int ppp_ioctl
> >   in case PPPIOCSNPMODE:
> >       if (cmd == PPPIOCGNPMODE) { ...
> >       } else {
> >           // force a PASS mode
> >          ppp->npmode[i] = NPMODE_PASS;
> >           netif_wake_queue(ppp->dev);
> >       }
> >
> > then your ppp0 will work
> >
> > On Tue, Jan 20, 2009 at 7:03 PM, Sean McNeil <seanmcne...@gmail.com>
> wrote:
> >
> > > Herb wrote:
> > >> Hi All:
> >
> > >> I meet a similar issue inppphandshaking~
> > >> I got correct IP/DNS settings and ppp0 interface is up.
> > >> But data didn't go through ppp0 interface (no matter using ping or
> > >> launch browser)...
> > >> I tried "-fno-short-enums" inpppmake file, but result is the same.
>  > >> Any suggestion?
> >
> > > Have you checked your default route? Are you using an ip-up script to
> > > set the properties required for dns?
> >
> > >> On Jan 9, 3:00 pm, "David Turner" <di...@android.com> wrote:
> >
> > >>> in the meantime, you could simply use -fshort-enums when building
> your
> > >>> kernel to force short enum sizes :-)
> >
> >
> >
>

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

Reply via email to