[Click] Help, linuxmodule compile error!

Yihong Zhou zyihong at ece.utexas.edu
Sun Jun 27 12:27:53 EDT 2004


we installed Redhat 9.0, changed the kernel to stock linux kernel 2.4.20 (kernel.org), and patched it.

when I tried to build the linux kernel module (/linuxmodule/gmake install), it gives me the following errors:

g++ -w -W -Wall -fno-exceptions -fno-rtti  -D__SMP__ -DHAVE_CONFIG_H  -I../include -I../include -I. -I.. -I/usr/src/linux/include -INONE/click_wifi -DCLICK_LINUXMODULE -O2 -MD -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: *** [templatei.o] Error 1

Is that because the option "CONFIG_AX25" was turned on when we configured the kernel?  
 


More information about the click mailing list