Hi Sylvain, Don't be fooled by the folder name lwip-1.3.0. Actually the whole src folder under it contains the ppp-new's src folder. I just kept lwip1.3.0 folder name to minimize the change to Keil project files.
Charles -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, April 04, 2014 12:54 PM To: [email protected] Subject: [lwip-users] Missing typedef in vj.h fsm.h ppp.h etc Sylvain, I try to compile ppp-new and my compiler(Keil) gave compiling errors like this: .\lwip-1.3.0\src\include\netif/ppp/vj.h(110): error: #20: identifier "u_short" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(111): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(112): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(138): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(139): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(140): error: #20: identifier "u_short" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(141): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(142): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/vj.h(154): error: #20: identifier "u_int" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(100): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(102): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(104): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(106): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(108): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(122): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(169): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(171): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(171): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/fsm.h(171): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/lcp.h(165): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/ppp.h(266): error: #20: identifier "u_char" is undefined .\lwip-1.3.0\src\include\netif/ppp/ppp.h(578): error: #20: identifier "u_char" is undefined I find the missing typedefs are defined in ppp_impl.h file. It seems vj.h etc doesn't include ppp_impl.h. Am I doing something wrong? Thanks, Charles _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
