[Click] user level click compile problem with click-1.7.0rc1 on linux 2.4

JiaFenggen jfg6688 at hotmail.com
Wed Jun 3 06:00:13 EDT 2009


hi,all,

    I am compiling user level click on linux,my linux kernel version is :2.4.20-8smp(redhat 9.0),when i compile click-1.7.0rc1(just "./configure  and  make"),it complains:

"make[1]: Entering directory `/usr/click-1.7.0rc1/userlevel'
echo "userlevel  app aqm ethernet icmp ip standard tcpudp threads" | ../click-buildtool findelem -r userlevel -p .. -X ./elements.exclude > elements.conf
../click-buildtool elem2make -x "addressinfo.o alignmentinfo.o errorelement.o portinfo.o scheduleinfo.o" < elements.conf > elements.mk
make[1]: Leaving directory `/usr/click-1.7.0rc1/userlevel'
make[1]: Entering directory `/usr/click-1.7.0rc1/userlevel'
  CXX ../lib/string.cc
  CXX ../lib/straccum.cc
  CXX ../lib/nameinfo.cc
In file included from ../include/click/element.hh:7,
                 from ../include/click/router.hh:4,
                 from ../lib/nameinfo.cc:23:
../include/click/packet.hh:587: semicolon missing after enum declaration
../include/click/packet.hh:587: warning: `deprecated' attribute ignored
make[1]: *** [nameinfo.o] Error 1
make[1]: Leaving directory `/usr/click-1.7.0rc1/userlevel'
make: *** [userlevel] Error 2

"

I have tried click-1.6.0 but end with the same error,however,click-1.5.0 compiles ok on 2.4.20.

But on kernel 2.6(Fedora),all three versions compiles ok,is there kernel version dependence of click?

Yours,Fenggen

 

_________________________________________________________________
Messenger10年嘉年华,礼品大奖等你拿!
http://10.msn.com.cn


More information about the click mailing list