[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Building lwip and ip.h et al not being found
From: |
K.J. Mansley |
Subject: |
Re: [lwip-users] Building lwip and ip.h et al not being found |
Date: |
27 Nov 2004 11:12:00 +0000 |
On Sat, 2004-11-27 at 10:47, Chris Frost wrote:
> I was quite excited to see the existance of lwip a few weeks back, and
> am beginning to port it to a small os now. In building lwip in
> the enviroment, I see that lwip/api.h includes "lwip/ip.h". But, this file
> does
> not exist. Specically, the compiler error:
>
> i386-jos-elf-gcc -pipe -nostdinc -fno-builtin -I. -MD -Wall -Wno-format
> -ggdb -DJOS_USER -I./inc/net/ -I./inc/ -c -o obj/user/net/api/api_lib.o
> lib/net/api/api_lib.c
> In file included from lib/net/api/api_lib.c:37:
> ./inc/net/lwip/api.h:39:21: lwip/ip.h: No such file or directory
> In file included from ./inc/net/lwip/api.h:41,
> from lib/net/api/api_lib.c:37:
> ./inc/net/lwip/raw.h:38:23: lwip/inet.h: No such file or directory
> In file included from ./inc/net/lwip/api.h:41,
> from lib/net/api/api_lib.c:37:
>
>
> At first I thought that perhaps I needed to link either the ipv4 or the
> ipv6 files to lwip/, but this breaks the build later on with redeclarations
> for ipv6 .c files. (I'd be fine with having just ipv4, if this matters?)
Add either -Isrc/include/ipv4 or -Isrc/include/ipv6 to your gcc
command. You may need to change those paths a little as you seem to
have a bit of a non-standard build tree, but I'm sure you get the idea!
Kieran
- [lwip-users] Building lwip and ip.h et al not being found, Chris Frost, 2004/11/27
- Re: [lwip-users] Building lwip and ip.h et al not being found,
K.J. Mansley <=
- Re: [lwip-users] Building lwip and ip.h et al not being found, Chris Frost, 2004/11/27
- Re: [lwip-users] Building lwip and ip.h et al not being found, Kieran Mansley, 2004/11/27
- Re: [lwip-users] Building lwip and ip.h et al not being found, Chris Frost, 2004/11/27
- Re: [lwip-users] Building lwip and ip.h et al not being found, Leon Woestenberg, 2004/11/28
- Re: [lwip-users] Building lwip and ip.h et al not being found, Chris Frost, 2004/11/28
- Re: [lwip-users] Building lwip and ip.h et al not being found, christiaan . simons, 2004/11/29
- Re: [lwip-users] Building lwip and ip.h et al not being found, Leon Woestenberg, 2004/11/29