[Click] compiling error with kernel 2.4.26

Guanling Chen glchen at cs.uml.edu
Fri Feb 10 20:26:51 EST 2006


I am using 3.3, also tried 3.4 and 4.0, having the same problem. I am  
using
click release 1.4.3, but also tried CVS checkout (today), no luck  
either.

On Feb 10, 2006, at 1:55 PM, Bob Keyes wrote:


> Which version of GCC are you using? And this is Click from CVS,  
> what date?
>
> On Fri, 10 Feb 2006, Guanling Chen wrote:
>
>
>
>> I have Debian 3.1 and installed a vanilla kernel 2.4.26 with Click
>> patches. But I got following errors (no parameters to the configure
>> script):
>>
>> g++ -w -W -Wall -fno-exceptions -fno-rtti  -DHAVE_CONFIG_H  -I../
>> include -I../include -I. -I.. -I/usr/src/linux/include -
>> DCLICK_LINUXMODULE -O2 -MD -c ../lib/templatei.cc
>> In file included from /usr/src/linux/include/net/sctp/structs.h:94,
>>          from /usr/src/linux/include/net/sock.h:53,
>>          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/sctp/ulpevent.h: In function `sk_buff*
>>    sctp_event2skb(sctp_ulpevent*)':
>> /usr/src/linux/include/net/sctp/ulpevent.h:65: error: invalid
>> conversion from `
>>    void*' to `const char (*)[48]'
>> make[1]: *** [templatei.o] Error 1
>> make[1]: Leaving directory `/root/click/click-1.4.3/linuxmodule'
>> make: *** [linuxmodule] Error 2
>>
>> Could you help?
>> Thanks,
>> Guanling
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
>>
>
>




More information about the click mailing list