[Click] Error while installing click on the Emulab

donghong.qin donghong.qin at gmail.com
Tue May 24 03:16:15 EDT 2011


Hi Eddie,

Thanks for your help.

I install the click as the way of "make clean;make", but there are some new errors. Could you help me to fix that agian?

*************************************************************
[henry at client1 click-1.8.0]$ make -j2
make[1]: Entering directory `/users/henry/source/click-1.8.0/tools'
make[2]: Entering directory `/users/henry/source/click-1.8.0/tools/lib'
make[1]: Entering directory `/users/henry/source/click-1.8.0/userlevel'
echo "userlevel  analysis app aqm ethernet icmp ip local simple standard tcpudp test threads" | ../click-buildtool findelem -r userlevel -p .. -X ./elements.exclude > elements.conf
  CXX ../../lib/string.cc
  CXX ../../lib/straccum.cc
  CXX ../../lib/glue.cc
  CXX ../../lib/bitvector.cc
  CXX ../../lib/vectorv.cc
  CXX ../../lib/hashallocator.cc
  CXX ../../lib/ipaddress.cc
  CXX ../../lib/etheraddress.cc
  CXX ../../lib/timestamp.cc
  CXX ../../lib/error.cc
  CXX elementt.cc
In file included from eclasst.hh:7,
                 from elementt.hh:4,
                 from elementt.cc:25:
../../include/click/hashtable.hh:365: partial specialization `HashTable<T, 
   void>' declared `friend'
../../include/click/hashtable.hh:421: partial specialization `HashTable<T, 
   void>' declared `friend'
make[2]: *** [elementt.o] Error 1
make[2]: Leaving directory `/users/henry/source/click-1.8.0/tools/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/users/henry/source/click-1.8.0/tools'
make: *** [tools] Error 2
make: *** Waiting for unfinished jobs....
../click-buildtool elem2make -x "addressinfo.o alignmentinfo.o errorelement.o portinfo.o scheduleinfo.o" < elements.conf > elements.mk
make[1]: Leaving directory `/users/henry/source/click-1.8.0/userlevel'
make[1]: Entering directory `/users/henry/source/click-1.8.0/userlevel'
  CXX ../lib/string.cc
  CXX ../lib/straccum.cc
  CXX ../lib/nameinfo.cc
  CXX ../lib/bitvector.cc
  CXX ../lib/vectorv.cc
  CXX ../lib/templatei.cc
  CXX ../lib/bighashmap_arena.cc
  CXX ../lib/hashallocator.cc
  CXX ../lib/ipaddress.cc
  CXX ../lib/ipflowid.cc
  CXX ../lib/etheraddress.cc
  CXX ../lib/packet.cc
  CXX ../lib/error.cc
  CXX ../lib/timestamp.cc
  CXX ../lib/glue.cc
  CXX ../lib/task.cc
  CXX ../lib/timer.cc
In file included from ../lib/task.cc:26:
../include/click/timer.hh: In member function `void 
   Master::timer_place::operator()(Timer**)':
../include/click/timer.hh:286: `int Timer::_schedpos1' is private
../include/click/master.hh:152: within this context
make[1]: *** [task.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../lib/timer.cc:24:
../include/click/timer.hh: In member function `void 
   Master::timer_place::operator()(Timer**)':
../include/click/timer.hh:286: `int Timer::_schedpos1' is private
../include/click/master.hh:152: within this context
make[1]: *** [timer.o] Error 1
make[1]: Leaving directory `/users/henry/source/click-1.8.0/userlevel'
make: *** [userlevel] Error 2
**************************************************************

Best,
Henry




发件人: Eddie Kohler 
发送时间: 2011-05-23  22:54:18 
收件人: donghong.qin 
抄送: click 
主题: Re: [Click] Error while installing click on the Emulab 
 
Hi Henry,
This type of error indicates that the Emulab headers may have changed, but 
Click still has dependencies on the old headers.  Have you built Click in this 
directory before?  Try "make clean; make".  Sorry this is necessary.
E
On 5/23/11 5:05 AM, donghong.qin wrote:
> Hallo,
>
> I want to install the click-1.8.0 into my Emulab nodes, whose OS are FC6-STD(linux kernel 2.4.20), but after I try to make -j2 there are the
> following error message:
>
> make[1]: Entering directory `/users/henry/source/click-1.8.0/tools'
> make[1]: Entering directory `/users/henry/source/click-1.8.0/userlevel'
> echo "userlevel  analysis app aqm ethernet icmp ip local simple standard tcpudp test threads" | ../click-buildtool findelem -r userlevel -p .. -X
> ./elements.exclude>  elements.conf
> make[2]: Entering directory `/users/henry/source/click-1.8.0/tools/lib'
> make[2]: *** No rule to make target `/usr/include/machine/ansi.h', needed by `string.o'.  Stop.
> make[2]: Leaving directory `/users/henry/source/click-1.8.0/tools/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/users/henry/source/click-1.8.0/tools'
> make: *** [tools] Error 2
> make: *** Waiting for unfinished jobs....
> ../click-buildtool elem2make -x "addressinfo.o alignmentinfo.o errorelement.o portinfo.o scheduleinfo.o"<  elements.conf>  elements.mk
> make[1]: Leaving directory `/users/henry/source/click-1.8.0/userlevel'
> make[1]: Entering directory `/users/henry/source/click-1.8.0/userlevel'
> make[1]: *** No rule to make target `/usr/include/machine/ansi.h', needed by `string.o'.  Stop.
> make[1]: Leaving directory `/users/henry/source/click-1.8.0/userlevel'
> make: *** [userlevel] Error 2
>
> I would appreciate any help or tips.
>
> Best,
> Henry
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list