Hi,

 

when i tried to include
" .. /ns-2.35/tools/queue-monitor.h" file into " ..
/ns-2.35/mobile/energy-model.h"

i got this error message
during the compiling time..

 

In file
included from ./mobile/energy-model.h:51:0,

 
               from ./common/node.h:59,

 
               from webcache/webtraf.h:64,

 
               from
webcache/logweb.h:55,

 
               from
webcache/logweb.cc:54:

./tools/queue-monitor.h:68:37:
error: no matching function for call to ‘QueueMonitor::bind(const char [13],
int64_t*)’

./tools/queue-monitor.h:68:37:
note: candidates are:

In file
included from webcache/logweb.cc:52:0:

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:177:7:
note: void TclObject::bind(const char*, TracedInt*)

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:177:7:
note:   no known conversion for argument 2 from ‘int64_t* {aka long long
int*}’ to ‘TracedInt*’

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:178:7:
note: void TclObject::bind(const char*, TracedDouble*)

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:178:7:
note:   no known conversion for argument 2 from ‘int64_t* {aka long long
int*}’ to ‘TracedDouble*’

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:179:7:
note: void TclObject::bind(const char*, double*)

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:179:7:
note:   no known conversion for argument 2 from ‘int64_t* {aka long long
int*}’ to ‘double*’

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:182:7:
note: void TclObject::bind(const char*, unsigned int*)

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:182:7:
note:   no known conversion for argument 2 from ‘int64_t* {aka long long
int*}’ to ‘unsigned int*’

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:183:7:
note: void TclObject::bind(const char*, int*)

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:183:7:
note:   no known conversion for argument 2 from ‘int64_t* {aka long long
int*}’ to ‘int*’

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:185:7:
note: void TclObject::bind(const char*, TclObject**)

/usr/local/ns-allinone-2.35-RC7/tclcl-1.20/tclcl.h:185:7:
note:   no known conversion for argument 2 from ‘int64_t* {aka long long
int*}’ to ‘TclObject**’

webcache/logweb.cc:
In member function ‘int LogWebTrafPool::launchReq(int, int, int)’:

webcache/logweb.cc:166:50:
warning: operation on ‘((LogWebTrafPool*)this)->LogWebTrafPool::num_obj’
may be undefined [-Wsequence-point]

Makefile:93:
recipe for target `webcache/logweb.o' failed

make:
*** [webcache/logweb.o] Error 1

 

 i will appreciate
any help.
Dalia
                                                                                
  

Reply via email to