lwip-users
[Top][All Lists]
Advanced

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

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


From: LMao
Subject: Re: [lwip-users] Missing typedef in vj.h fsm.h ppp.h etc
Date: Fri, 4 Apr 2014 16:04:12 +0000

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: address@hidden [mailto:address@hidden On Behalf Of address@hidden
Sent: Friday, April 04, 2014 12:54 PM
To: address@hidden
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

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