FW: [uClibc]Re: uClibc, modifications and SH port

michaels at jungo.com michaels at jungo.com
Mon Feb 26 11:30:39 UTC 2001


Jean-Yves,

I have checked and see that we use ppp-2.3.10. I used some patching
besides changing the siglongjmp stuff in order to bring pppd in
compilable status against uClibc.
Just to let you see, folowing is the list of files that are not in sync
with their original status:

M chat/chat.c
M pppd/auth.c
M pppd/magic.c
M pppd/main.c
M pppd/pathnames.h
M pppd/pppd.h
M
pppd/sys-linux.c                                                              

Mostly I used some HAVE_BLAH_BLAH defines to include exactly the
functions that were supported by uClibc, and right now I cannot check if
it all works.
I haven't had a chance to check out uClinux disribution, as we are
working with our own one, not particularly based on anything, just a set
of sources with a lot of patches to support number of architectures. Of
all then, uClibc only supports i386, and even this does not work as
expected.

I will try to keep you updated if something interesting happens here.

"AVENARD,JEAN-YVES (HP-Australia,ex2)" wrote:
> 
> Hello Michael
> 
> We now have pppd up and running with uClibc on our SH3 board (we used the
> source code you very nicely pointed out to us)
> It was quite confusing to have it working as it appears that the headers
> included are not valid for kernel >= 2.2.0 (we are running kernel 2.4.0)
> So we used the header of ppp-2.3.11 as well as sys-linux.c.
> 
> After some small modifications to resolve the compilation error, everything
> works fine.
> 
> I'm now wondering what are the differences between the version of pppd and
> the version we can access from the CVS repository on the uclinux web site.
> Your version is quite clean, while the lineo one is quite a mess (header
> files located every where etc...)
> 
> If you have more information on this, thank you in advance for your answer.
> 
> Regards
> Jean-Yves
> 
> > -----Original Message-----
> > From: michaels at jungo.com [mailto:michaels at jungo.com]
> > Sent: Sunday, 25 February 2001 20:50 PM
> > To: AVENARD,JEAN-YVES (HP-Australia,ex2)
> > Cc: uclibc at uclibc.org
> > Subject: Re: FW: [uClibc]Re: uClibc, modifications and SH port
> >
> >
> > Jean-Yves and an the rest of us,
> >
> > Hello. For some reason my current status is very problematic.
> > We have a
> > whole distribution for network-oriented station which I sucessfully
> > managed to compile last friday. However, system seems to be quite
> > non-working. Except for bugs in resolv.c for which Erik already issued
> > some patches, I have problems with many other packages:
> > -busybox seems to be working
> > -netkit-ftp 's "ftp" does not start at all
> > -insmod segfauls, says "Out Of Memory", or dies silently
> > -signals mechanism half-working (kills processes with SIGUSR for
> > example)
> > -getcwd() does not work for chroot environement, (thttpd does not know
> > where it is when run with -d option)
> > When the system will be more or less stable I will get to check ppp as
> > well, but as you see, I cannot even do
> > insmod ppp" for kernel PPP support.
> >

-- 
Sincerely yours,
Michael Shmulevich
______________________________________
Software Developer
Jungo - R&D 
email: michaels at jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA)  +972-9-8859365(Worldwide) ext. 233
Fax:   1-877-514-0538(USA)  +972-9-8859366(Worldwide)





More information about the uClibc mailing list