Hi,
 
     It's nice that ppp module is updataed, when I'm compiler it, I find some 
little errors(my IDE is ads1.2):
 
     1、In the funtion sifup() of file ppp.c, the funtion ip_input() and 
netif_add() can't find, it should be include file lwip/ip.h and lwip/netif.h.
 
     2、ppp_oe.c module can't find file queue.h. I'm not use it, but I want to 
known how to do if I can make ppp_oe.c works well.
 
     3、In the funtion pppLinkTerminated() of file ppp.c, if put PPPOE_SUPPORT = 
0, the variable pc is't use any more.
 
     4、In the file vjbsdhdr.h, the struct in_addr in the file ip_addr.h(line 
70-72) must to changed as:
 
PACK_STRUCT_BEGIN
struct in_addr {
  PACK_STRUCT_FIELD(u32_t s_addr);
}PACK_STRUCT_STRUCT;
PACK_STRUCT_END
 
after change, the struct ip in file vjbsdhdr.h, the variable struct in_addr 
ip_src,ip_dst(line 39) can compiler successfully.
 
     5、DNS module, in the funtion dns_init() of dns.c, line 235:
 
struct ip_addr dnsserver = {DNS_SERVER_ADDRESS};
 
DNS_SERVER_ADDRESS is define as inet_addr("208.67.222.222"), it is a error in 
ads1.2.
 
     6、
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to