[Click] Click Kernel Compile Problems

Bow-Nan Cheng bcheng at nanwob.net
Fri Mar 12 17:19:21 EST 2004


Hi,

I downloaded Click via CVS today, applied the patches to the 2.4.21 kernel 
and compiled it and all the modules for it. However, when i try to compile 
Click using the following configuration:

./configure --disable-userlevel --with-linux=/usr/src/linux --enable-grid 
--enable-analysis --enable-greedy

 I get the following errors (doing a gmake):

[root at localhost click]# gmake
gmake[1]: Entering directory `/home/cwn/click/linuxmodule'
echo "linuxmodule  standard ethernet aqm ip icmp tcpudp app analysis grid" 
| (cd ..; ./click-buildtool findelem -r "linuxmodule int64 linux_2_4 i686 
i386 i586") > elements.conf
 ../click-buildtool elem2make -x "addressinfo.o 
alignmentinfo.o 
drivermanager.o errorelement.o portinfo.o scheduleinfo.o" < elements.conf 
> elements.mk
gmake[1]: Leaving directory `/home/cwn/click/linuxmodule'
gmake[1]: Entering directory `/home/cwn/click/linuxmodule'
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/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[1]: *** [templatei.o] Error 1
gmake[1]: Leaving directory `/home/cwn/click/linuxmodule'
gmake: *** [linuxmodule] Error 2

Anyone have any ideas? Thanks!

-Bow-Nan




More information about the click mailing list