[En-Nut-Discussion] AVR-GCC for Linux
Harald Kipp
harald.kipp at egnite.de
Sun Mar 14 12:28:24 CET 2004
Thanks, Jan. I had fixed it but forget to commit.
The update is exactly the sames as your patch, except
PPPPutPacket had been removed too from ppp.h. This
function does not even exist anymore.
Harald
At 03:37 14.03.2004 +0100, you wrote:
>OK, forget about it. I've downloaded the latest sources and built them.
>It seems that the toolchain works properly. I have even found a bug in
>the latest cvs snapshot: :-)
>
>[.....]
>avr-gcc -c -mmcu=atmega103 -Os -Wall -Werror -Wstrict-prototypes
>-Wa,-ahlms=ppp.lst -I../mod/include -I../include ppp.c -o ppp.o
>ppp.c: In function `NutPppRead':
>ppp.c:121: error: `dev' undeclared (first use in this function)
>ppp.c:121: error: (Each undeclared identifier is reported only once
>ppp.c:121: error: for each function it appears in.)
>ppp.c: In function `NutPppWrite':
>ppp.c:129: error: `dev' undeclared (first use in this function)
>ppp.c: In function `NutPppWrite_P':
>ppp.c:137: error: `dev' undeclared (first use in this function)
>ppp.c: At top level:
>ppp.c:161: warning: static declaration for `NutPppIOCtl' follows non-static
>ppp.c:199: warning: static declaration for `NutPppOpen' follows non-static
>ppp.c:265: warning: static declaration for `NutPppClose' follows non-static
>ppp.c:289: warning: static declaration for `NutPppInit' follows non-static
>[.....]
>
>The patch is attached. I have removed declarations of NutPpp* functions
>from include/dev/ppp.h because they are used (and should be visible) only
>in dev/ppp.c.
>
>Regards,
>/J.D.
>--
>Jan Dubiec, jdx at slackware.pl, mobile: +48 602 101787
>
>G³êboka wiara wymaga p³ytkiego rozumu i nik³ej wiedzy.
>
>
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list