[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] ns-2allinone2.1b6 / Mandrake v8.0



Hi friends!

I installed ns-allinone-2.1b6 package in Mandrake v8.0 distribution 
and happened three erros.
I need use this version becouse sinsensor module was developed and 
tested only this package.
Thus, I would like of know if there are solutions for these problems. 
I thank for any help.

Thank you,

Wagner [email protected]

(...) � ERROR 1
tracedvar.cc: In method `char *TracedInt::value (char *, int)':
tracedvar.cc:102: `abort' undeclared (first use this function)
tracedvar.cc:102: (Each undeclared identifier is reported only once 
for each function it appears in.)
make: ** [tracedvar.o] Erro 1
tclcl-1.0b9 make failed! Exiting ...
See http://www-mash.CS.Berkeley.EDU/ns/ns-
problems.html for problems

(...) � ERROR 2
utils.cc: In function `int saccept (int)':
utils.cc:358: cannot convert `int *' to `socklen_t *' for argument `3'
to `accept (int, sockaddr *, socklen_t *)'
utils.cc: In function `int sportnum (int)':
utils.cc:469: cannot convert `int *' to `socklen_t *' for argument `3'
to `getsockname (int, sockaddr *, socklen_t *)'
make[1]: ** [utils.o] Erro 1
make[1]: Saindo do diret�rio 
`/home/wfreitas/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/u
cb'
make: ** [all-recursive] Erro 2
Ns make failed!
See http://www-mash.CS.Berkeley.EDU/ns/ns-
problems.html for problems

(...) � ERROR 3
In file included from netview.cc:48:
paint.h:70: declaration does not declare anything
paint.h:70: parse error before `^'
paint.h:71: semicolon missing after declaration of `Paint'
paint.h:71: parse error at null character
paint.h: In function `Paint *Paint::instance ()':
paint.h:58: `instance_' undeclared (first use this function)
paint.h:58: (Each undeclared identifier is reported only once for each
function it appears in.)
paint.h: In method `_XGC *Paint::paint_to_gc (int)':
paint.h:60: `gctab_' undeclared (first use this function)
paint.h: In method `int Paint::num_gc ()':
paint.h:61: `ngc_' undeclared (first use this function)
paint.h: In method `rgb *Paint::paint_to_rgb (int)':
paint.h:62: `rgb_' undeclared (first use this function)
paint.h: In method `int Paint::thick ()':
paint.h:68: `thick_' undeclared (first use this function)
paint.h: In method `int Paint::thin ()':
paint.h:69: `thin_' undeclared (first use this function)
paint.h: At top level:
paint.h:71: parse error at null character
paint.h:74: `Paint *instance_' used prior to declaration
paint.h:75: `int ngc_' used prior to declaration
paint.h:77: `_XGC **gctab_' used prior to declaration
paint.h:78: `rgb *rgb_' used prior to declaration
paint.h:79: `int thick_' used prior to declaration
paint.h:80: `int thin_' used prior to declaration
paint.h:83: parse error before `}'
make: ** [netview.o] Erro 1
Nam make failed! Continue ...
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems
Please compile your nam separately.
Ns-allinone package has been installed successfully.
Here are the installation places:
ns:     /home/wfreitas/ns-allinone-2.1b6/ns-2.1b6/ns
otcl:   /home/wfreitas/ns-allinone-2.1b6/otcl-1.0a5
tclcl:  /home/wfreitas/ns-allinone-2.1b6/tclcl-1.0b9
tcl8.0.4:       /home/wfreitas/ns-allinone-2.1b6/tclbox
tk8.0.4:        /home/wfreitas/ns-allinone-2.1b6/tkbox
xgraph: /home/wfreitas/ns-allinone-2.1b6/xgraph-12.1
gt-itm:   /home/wfreitas/ns-allinone-2.1b6/itm, edriver, sgb2alt, 
sgb2ns, sgb2comns, sgb2hierns
 
 You can delete /home/wfreitas/ns-allinone-2.1b6/tcl8.0.4 and 
/home/wfreitas/ns-allinone-2.1b6/tk8.0.4 if you want save your disk 
space
 -----------------------------------------------------
 Please put /home/wfreitas/ns-allinone-2.1b6/bin into your PATH 
environment.
 On some systems you many need to put 
/home/wfreitas/ns-allinone-2.1b6/otcl-1.0a5 into your LD_LIBRARY_PATH 
environment!  
  You can run the ns validation suite with cd ns-2.1b6; ./validate