DSR using Click??

Harit Patel hspatel at andrew.cmu.edu
Sat Mar 15 16:11:34 EST 2003


Hey Eddie,

I got the hang of the installation procedure and I managed to get the
recommended kernel (2.4.20) and the patch installed, but I couldn't get
click to work.

I './configure'd it and when I was trying to 'make install' it and I got
the following error. 

-->
g++ -w -W -Wall -fno-exceptions -fno-rtti  -MD -DHAVE_CONFIG_H
-I../include -I../include -I. -I.. -I/usr/src/linux/include
-DCLICK_LINUXMODULE -O2 -c ../lib/templatei.cc
In file included from /usr/src/linux/include/net/sock.h:64,
                 from /usr/src/linux/include/net/ip.h:39,
                 from /usr/src/linux/include/net/checksum.h:31,
                 from ../include/clicknet/ip.h:8,
                 from ../include/click/ipaddress.hh:6,
                 from ../include/click/packet.hh:4,
                 from ../include/click/element.hh:7,
                 from ../include/click/router.hh:4,
                 from ../lib/templatei.cc:21:
/usr/src/linux/include/net/ax25.h:179: declaration of `
   ax25_dev*ax25_cb::ax25_dev'
/usr/src/linux/include/net/ax25.h:173: changes meaning of `ax25_dev'
from `
   typedef struct ax25_dev ax25_dev'
gmake[1]: *** [templatei.o] Error 1
gmake[1]: Leaving directory `/home/cmu/click-1.3pre1/linuxmodule'
gmake: *** [install] Error 1


I could see the .o files in the userlevel dir, but click.o has not yet
been built. Seems to me the error is from some kernel level program.
Even though the patch installed without any errors, it seems that the
patch has not handled this. (I'm not sure if it is supposed to ...)

Can you please let me know if this is a common problem or if there is
any way to work around this. Thanks. 

Regards,

Harit 




More information about the click mailing list