On Mon, Dec 17, 2007 at 01:01:34PM -0500, Alexander Mata wrote:
> Hi
> 
> I'm having troubles using the patch for aodv-uu-0.7.2 posted at:
> http://www.hynet.umd.edu/research/maodv/MAODV-UMD.html
> 
> 
> I'm not sure if I have to create the files that aren't in the aodv src
> directory (igmp.c, multicast_routing_table.c, maodv_rreq.c, etc.)  from a
> blank file with those namefiles for example.
> 
> I did that way and I got an error compiling in the igmp.c code:
> 
> zapote:/home/rial/maodv-umd-0.7.2# make
> gcc -Wall -O3 -g -DDEBUG -DMAODV  -c -o igmp.o igmp.c
> In file included from igmp.c:37:
> debug.h :34: warning: conflicting types for built-in function `log'
> igmp.c: In function `igmp_sendreply':
> igmp.c:179: error: invalid application of `sizeof' to an incomplete type
> igmp.c:202: error: dereferencing pointer to incomplete type
> igmp.c:203: error: dereferencing pointer to incomplete type
> igmp.c:204: error: dereferencing pointer to incomplete type
> igmp.c:205: error: dereferencing pointer to incomplete type
> igmp.c:206: error: dereferencing pointer to incomplete type
> igmp.c:206: error: invalid application of `sizeof' to an incomplete type
> make: *** [igmp.o] Error 1
> 
> I'm using a kernel 2.4.35.3 with the sources installed in the /usr/src/linux
> directory and gcc 3.3.5
> 
> I'm guessing that could be my gcc version but I would appreciate it if you
> could help me with this because I haven't found anything useful so far.

Hi Alexander,

I know nothing about the MAODV code, but my guess is that you are
missing an include file for a data structure that's first used in
igmp.c on line 179 .  I would guess that your kernel being out of date
is more likely to be the problem then your compiler, but it is just a
guess.  If I were you, I would try contacting any MAODV maintainers
that might be listed in the MAODV documentation, as they are likely to
have a better idea then anyone on this list (again, just a guess).

Good luck,

- Rob
.

Reply via email to