lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Re: makefile


From: yh
Subject: Re: [lwip-users] Re: makefile
Date: Tue, 11 Apr 2006 18:29:06 +1000 (EST)
User-agent: SquirrelMail/1.4.3a

Thanks Kieran. I download contrib-0.7.1-20040319.tar.gz, but when I built
it in ports/unix/minmal, there were following many errors. Am I missing
something here or should I just follow the instructions to comment out
those macros from lwipopts.h? I guess, once it is complied, I should be
able to run it in my linux console without comflict from linux OS, am I
correct? Thanks. Jim

In file included from ../../../../../lwip/src/include/lwip/mem.h:35,
                 from main.c:35:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/mem.c:42:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/memp.c:33:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/netif.c:39:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/pbuf.c:67:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/raw.c:43:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/stats.c:35:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/include/lwip/sys.h:37,
                 from ../../../../../lwip/src/core/sys.c:33:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/tcp.c:46:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/tcp_in.c:46:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/tcp_out.c:45:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/udp.c:47:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/include/lwip/stats.h:35,
                 from ../../../../../lwip/src/core/dhcp.c:73:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/ipv4/icmp.c:38:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/ipv4/ip.c:40:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/inet.c:42:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/include/ipv4/lwip/inet.h:37,
                 from ../../../../../lwip/src/core/ipv4/ip_addr.c:34:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/core/ipv4/ip_frag.c:42:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/netif/etharp.c:47:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/include/lwip/stats.h:35,
                 from mintapif.c:55:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
In file included from ../../../../../lwip/src/include/lwip/stats.h:35,
                 from echo.c:34:
../../../../../lwip/src/include/lwip/opt.h:187:2: #error
ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
gcc -g -Wall -Dlinux -DIPv4 -Os -fpack-struct
-I../../../../../lwip/src/include -I../../../../ports/unix/include
-I../../../../../lwip/src/include/ipv4 -Iapps -I. -c
gcc: no input files
make: *** [mem.o] Error 1


> On Tue, 2006-04-11 at 17:23 +1000, address@hidden wrote:
>> Hello,
>>
>> I am new to lwip. I've just downloaded source code and found there is no
>> makefile for compiling it. Can I compile it in linux user mode and
>> running
>> it as a linux application before porting it to another OS? Is there a
>> makefile for linux I can download from? Appreciate any helps.
>
> The core of lwip isn't really usable on its own - it needs to be
> integrated into a larger project.  There are some examples of these,
> including a linux port, in the "lwip-contrib" module.  Download that
> too.
>
> Kieran
>
>
>
> _______________________________________________
> 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]