[Click] Help, linuxmodule compile error!

Eddie Kohler kohler at cs.ucla.edu
Sun Jun 27 10:49:20 EDT 2004


Hi Yihong,

Yes, it's because of CONFIG_AX25.  Either turn that off (and turn off 
Appletalk), or use the patch that's in current anonymous CVS, which fixes this 
problem, or wait for stable Click 1.4 to be released early this week.

Eddie


Yihong Zhou wrote:
> 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?  
>  
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list