[uClibc] pppd problem

joe at cityofsanmateo.org joe at cityofsanmateo.org
Wed Aug 6 01:07:50 UTC 2003


nevermind, its that same problem Stuart had with 'ps garbled characters'
a clean build of everything took care of it.

thanks

also as Stuart noted you could also replace
c = getc(f) with fread(&c, 1, 1, f)

and

ungetc(c,f) with fseek(f, -1, SEEK_CUR);

as a temporary workaround

--joe



joe at cityofsanmateo.org 
Sent by: uclibc-bounces at uclibc.org
08/05/2003 05:39 PM

To
uclibc at uclibc.org
cc

Subject
[uClibc] pppd problem







working with the 0.9.20 image and ppp-2.4.2b3 

everything compiles with no problem but after i create my /etc/ppp/options 
file and 
run pppd i get the error: 


pppd: In file /etc/ppp/options: unrecognized option '' 



i traced the error to a call to getword() which is returning the empty 
string '' 
instead of the file contents, when i look at the getword() function in 
pppd/options.c i see a bunch of calls to getc() and ungetc(), is there 
uclibc compilation options ive missed that would cause a problem 
with getc() and ungetc() ??? has anyone else compiled and run 
pppd successfully with an options file?? 

thanks 



--joe_______________________________________________
uClibc mailing list
uClibc at uclibc.org
http://uclibc.org/mailman/listinfo/uclibc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20030805/7cda4cd4/attachment-0002.htm 


More information about the uClibc mailing list