[Click] compiling error with kernel 2.4.26

Bob Keyes bob at xa.net
Fri Feb 10 13:55:15 EST 2006


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