[Click] Click Compile Errors

gaurav dawra openapproject at hotmail.com
Thu Jul 22 19:10:14 EDT 2004


hey ,

I am trying to compile click with this configuration:
./configure --enable-wifi --with-wifi=/home/madwifi.stripped/ 
--enable-linuxmodule --with-linux=/usr/src/linux-2.4.20 --disable-adaptive 
--disable-userlevel
It was succesfull.
-----------------------------------------------------------------------------------------
"gmake" gave me these errors.

../elements/wifi/linkfailuredetection.cc: In member function `virtual int
   LinkFailureDetection::configure(Vector<String>&, ErrorHandler*)':
../elements/wifi/linkfailuredetection.cc:55: cannot convert `
   LinkFailureDetection* const' to `Element**' for argument `2' to `bool
   cp_handler_name(const String&, Element**, String*, Element*, 
ErrorHandler*)'
gmake[1]: *** [linkfailuredetection.o] Error 1
gmake[1]: Leaving directory `/root/click/linuxmodule'
gmake: *** [linuxmodule] Error 2


Infile : ../elements/wifi/linkfailuredetection.cc--->This Function:

LinkFailureDetection::configure(Vector<String> &conf, ErrorHandler *errh)
{

  if (conf.size() != 2) {
    return errh->error("LinkFailureDetection need two args THRESHOLD and 
HANLDER");
  }

  if (!cp_integer(conf[0], &_threshold) || _threshold < 1) {
    return errh->error("THRESHOLD must be >= 1");
  }

  if (!cp_handler_name(conf[1],this, &_handler_e, &_handler_name, errh)) {
    return errh->error("invalid handler %s", conf[1].cc());
  }
  return 0;
}
-------------------
i have downloaded a new 2.4.20kernel from kernel.org and patched it.  This 
is the first time i came accross this error.

As always any ideas will be greatly appreciated.

Thanx,

--Gaurav

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



More information about the click mailing list