lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Missing typedef in vj.h fsm.h ppp.h etc


From: LMao
Subject: [lwip-users] Missing typedef in vj.h fsm.h ppp.h etc
Date: Fri, 4 Apr 2014 15:54:07 +0000

 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]