lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] Problems with 0.5.1 release


From: Jose Vasconcellos
Subject: [lwip-users] Re: [lwip] Problems with 0.5.1 release
Date: Thu, 09 Jan 2003 02:19:58 -0000

Hi Rajaram!

Looks like this is a case were your mileage does vary!
I just tried lwIP 0.5.1 on my Mandrake Linux running kernel
2.4.16 and it compiles and runs fine. The erros that you are
getting are because there is a problem with /usr/include/linux/if_tun.h
What version of Linux are you running?

If you are not running Linux 2.4.x you need to find the proper
include file that contains those definitions. Going back to 0.5.0
won't help because there were problems with the tap device.

Jose

On Sat, 2002-02-16 at 04:56, Rajaraman Krishnan wrote:
> I tried running LwIP 0.5.1. I am having some problems. First the build under
> proj/unixsim failed on tapif.c. The error was as below,
> 
> gcc -g -Wall -DIPv4 -DLWIP_DEBUG  -I../../src/include -I../../src/arch/unix/
> include -I../../src/include/ipv4 -Iapps -I. -c
> ../../src/arch/unix/netif/tapif.c
> ../../src/arch/unix/netif/tapif.c: In function `low_level_init':
> ../../src/arch/unix/netif/tapif.c:116: `IFF_TAP' undeclared (first use in
> this function)
> ../../src/arch/unix/netif/tapif.c:116: (Each undeclared identifier is
> reported only once
> ../../src/arch/unix/netif/tapif.c:116: for each function it appears in.)
> ../../src/arch/unix/netif/tapif.c:116: `IFF_NO_PI' undeclared (first use in
> this function)
> ../../src/arch/unix/netif/tapif.c:117: `TUNSETIFF' undeclared (first use in
> this function)
> ../../src/arch/unix/netif/tapif.c: In function `tapif_init':
> ../../src/arch/unix/netif/tapif.c:420: warning: assignment from incompatible
> pointer type
> make: *** [tapif.o] Error 1
> 
> To get around this I copied the tapif.c from 0.5.0 version and after that
> simhost built fine. Then I executed simhost (after modprobe tun).


[This message was sent through the lwip discussion list.]




reply via email to

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