[Click] compiling error with kernel 2.4.26
Eddie Kohler
kohler at cs.ucla.edu
Sun Feb 12 15:07:02 EST 2006
Hi Guanling,
For now, try recompiling with SCTP disabled. From the INSTALL file:
If you get errors while compiling the Linux kernel module (the
'linuxmodule' directory), and the errors look like they are in
Linux
header files, you may have turned on too many options when
configuring
your kernel. Return to Step 5, turn off the option that seems to be
causing a problem (for example, an error involving the
"atalk_iface *"
type means you should turn off AppleTalk via CONFIG_ATALK), and try
again.
We'll put this on our queue of things to add to the patch.
Eddie
On Feb 10, 2006, at 10:39 AM, 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