lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] CVS WINDOWS project could not pass compile


From: yueyue papa
Subject: Re: [lwip-users] CVS WINDOWS project could not pass compile
Date: Mon, 7 Dec 2009 14:53:43 +0800

thanks, the previous problem is solved.

Another trivial problem is

PPP is configered as mutual exclude as LAN feature.  In fact, this requirement is not correct. LwIP could support both.

As current mutual exclude setup,

in test.c

#if PPP_SUPPORT
    if(ppp_desc >= 0) {
      u32_t started;
      printf("Closing PPP connection...\n");
      /* make sure to disconnect PPP before stopping the program... */
      pppClose(ppp_desc);
      ppp_desc = -1;
      /* Wait for some time to let PPP finish... */
      started = sys_now();
      do
      {
        ethernetif_poll(&netif);    <<==== still use LAN feature.
      } while(sys_now() - started < 5000);
    }
#endif /* PPP_SUPPORT */

compile error happened.

On Sat, Dec 5, 2009 at 11:22 PM, address@hidden <address@hidden> wrote:
Thanks for reporting, I missed part of the code for using custom memp pools. It should work now.

Simon


yueyue papa wrote:
Hi All,
 I update the latest CVS code. The windows project reported
 ####################httpd.c#########
http_state_alloc()
{
 return (struct http_state*)memp_malloc(MEMP_HTTPD_STATE);
}
###################################
 MEMP_HTTPD_STATE not defined.
 I did not find the mem type define in memp_std.h
  I remember the previous windows project could be correct make.
 Lee
 ------------------------------------------------------------------------

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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