[support] UMIP compilation problem (NULL undeclared error)

Georgopoulos, Panagiotis panos at comp.lancs.ac.uk
Tue Jul 28 19:56:40 JST 2009


Hello Arnaud,

> 
> Hi,
> 
> "Georgopoulos, Panagiotis" <panos at comp.lancs.ac.uk> writes:
> 
> > Hello guys,
> >
> >     I have downloaded the latest UMIP version (0.4) and patched it
> with the
> > latest NEPL code. When I try to compile the code (after successful
> > autoreconf and configure) I get the following error in
> > libmissing/inet6_rth_init.c:26 : 'NULL' undeclared.
> >
> >   I realize that if I include <stdlib.h> the problem goes away but
> why is
> > this not included in the first place? My gcc version is 4.3.3. I have
> an old
> > version of UMIP 0.3 that compiles fine with gcc 4.1.3.
> 
> You mean something like the following?
> 
> http://hg.natisbad.org/migrate2_patches_umip_nemo/file/0d825828357e/inc
> lude_missing_stddef.patch

I mean exactly that! The inclusion of stdlib is missing from both
inet6_rth_init.c and inet6_opt_find.c :-/

> 
> Take a look at the howto on http://natisbad.org/MIPv6 and the
> documented
> repository of patches.
> 

I have just had a look at the patches and I now realized that there are
patches in the umip site as well. Maybe the existence of patches should be
explicitly mentioned in the nepl how to (which was very recently updated)
and in the umip site as the aforementioned problem is a clear compilation
error.

> Cheers,
> 
> a+

Thanks for your help

Cheers,
Panos




More information about the Support mailing list