Re: [lwip-users] DHCP and AUTOIP cooperation

2012-06-25 Thread Funk, Artur
in fact it was a miss configured including path in my toolchain. Since I have included \lwip_v1.3.1\src\include\ipv4 and not \lwip_v1.3.1\src\include\ipv4\lwip where autoip file is placed, trough IDE all files in ipv4 are viewable but hidden to compiler/linker. After adding a new path to ..\ipv4\lw

Re: [lwip-users] DHCP and AUTOIP cooperation

2012-06-25 Thread Pomeroy, Marty
> It solves my problem, but I would prefer to let opt.h untouched. Artur You need to figure out why your toolchain is not picking it up from lwipopts.h. You will have constant problems if, as Krzysiek mentioned, you are including the wrong copy. Do you have an ifdef in lwipopts that is preven

Re: [lwip-users] DHCP and AUTOIP cooperation

2012-06-25 Thread Krzysztof WesoĊ‚owski
On Mon, Jun 25, 2012 at 3:48 PM, Funk, Artur wrote: > The autoip code isn't included. It seems that lwiopts.h doesn't > overwrites the setting in opt.h lwipopts.h is directly included by opt.h and configurations are guarded with #ifdefs to prevent redeclaration. You can for example: 1. enable -W

Re: [lwip-users] DHCP and AUTOIP cooperation

2012-06-25 Thread Funk, Artur
The autoip code isn't included. It seems that lwiopts.h doesn't overwrites the setting in opt.h But now, I guess it's not an lwIP issue but rather a toolchain/IDE problem, because the code is successfully included if the option is enabled in opt.h directly. It solves my problem, but I would prefer

Re: [lwip-users] DHCP and AUTOIP cooperation

2012-06-25 Thread Simon Goldschmidt
"Funk, Artur" wrote: > I was going to enable AUTOIP in case DHCP fails, but after adding the > Options to the lwipopt.h > > #define LWIP_DHCP 1 > #define LWIP_AUTOIP 1 > #define LWIP_DHCP_AUTOIP_COOP 1 > > autoip.c Source stays still disabled

[lwip-users] DHCP and AUTOIP cooperation

2012-06-25 Thread Funk, Artur
Hi @ all embedded campaigner, I was going to enable AUTOIP in case DHCP fails, but after adding the Options to the lwipopt.h #define LWIP_DHCP 1 #define LWIP_AUTOIP 1 #define LWIP_DHCP_AUTOIP_COOP 1 autoip.c Source stays still disabled.