[ns] error when install ns-allinone-2.1b7a on fedora 8

2009-08-12 Thread ma-haiyuan

Hi!

when I install ns-alinone-2.1b7a on Fedora, there is an error which made the 
installing failed:

tclcl-mappings.h: In static member function ‘static int 
TclObjectHelperT::dispatch_(void*, Tcl_Interp*, int, char**)’:
tclcl-mappings.h:51: error: incomplete type ‘Tcl’ used in nested name specifier
tclcl-mappings.h:52: error: invalid use of undefined type ‘struct Tcl’
tclcl-mappings.h:41: error: forward declaration of ‘struct Tcl’
tclcl-mappings.h:57: error: invalid use of undefined type ‘struct Tcl’
tclcl-mappings.h:41: error: forward declaration of ‘struct Tcl’
make: *** [Tcl.o] Error 1
tclcl-1.0b10 make failed! Exiting ...

please help me! 
Thank you and best wishes!



[ns] please help me fo installing 802.11etkn

2009-08-12 Thread ali bala


 mr.ali.balador
homepage:www.balador.org 



- Forwarded Message 
From: ali bala mrbala...@yahoo.com
To: Maggi. chandra.ma...@gmail.com
Sent: Wednesday, August 12, 2009 12:47:22 PM
Subject: Re: please help me fo installing 802.11etkn


hi 
i have a same problem 
i installed ns-2.33 and when i modify my makefile and follow the instruction 
in  the readme file of 802.11e tkn i see the error when i run make
and after that i cleen the new modification but i still the error
i confused.
please help me 
 mr.ali.balador
homepage:www.balador.org 





From: Maggi. chandra.ma...@gmail.com
To: ali bala mrbala...@yahoo.com
Sent: Monday, August 10, 2009 4:44:22 PM
Subject: Re: please help me fo installing 802.11etkn


ya..i also encountered same problem.
dont change the existing Makefile.in(if u have already installed nsallinone) if 
you do so then u'l encounter problem when running make command.
so what i did is, i replaced the current Makefile.in with a new Makefile.in and 
modified the new Makefile.
then run the  make comand.
i think it'l work fine.else let me knw.

mahinthan

2009/8/10 ali bala mrbala...@yahoo..com

hi 
i download 802.11e from tkn and flow the instruction but after ./configure 
when i run make i see this error
whats the reason and way?for solving?
pleaes help for installing 802.11e tkn
 mr.ali.balador
homepage:www.balador.org 



-- 
B.C.Mahinthan
School of Computer Engineering
Nanyang Technological University
Singapore


  


[ns] interference or influence between two nodes in NS2, please help me

2009-08-12 Thread Wei Zhang



Hi All,
 
I have a problem for performing the interference in NS2:
 
Two nodes A and B are in transmission(or interference) range each other and 
susgest that interference level between us is x  How do I must declare some 
parameters and where to the network can understand that there is interference 
between A and B to be x in NS2?
 
Thank you very much for your help.
Wei Zhang




  


[ns] Fwd: Problem recompiling NS-2

2009-08-12 Thread Larissa Lucena

-- Forwarded message --
From: Larissa Lucena larissaluc...@gmail.com
Date: Wed, Aug 12, 2009 at 09:55
Subject: Problem recompiling NS-2
To: ns-users@isi.edu


Hello, everyone!

Iḿ having a problem when I try to recompile the NS-2 code after a little
change in aodv code (I just tried to get the mobile node position and print
it). I hope you could help me. I tried to delete the config. status and
Makefile and did ./configure make clean and make again, but didn't work...

The error I get is

In file included from aodv/aodv_logs.cc:32:
./aodv/aodv_packet.h:61: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:69: error: expected ‘,’ or ‘...’ before ‘*’ token
./aodv/aodv_packet.h:69: error: ISO C++ forbids declaration of ‘Packet’ with
no type
./aodv/aodv_packet.h: In static member function ‘static hdr_aodv*
hdr_aodv::access(int)’:
./aodv/aodv_packet.h:70: error: ‘p’ was not declared in this scope
./aodv/aodv_packet.h: At global scope:
./aodv/aodv_packet.h:75: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:76: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:77: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:78: error: ‘u_int32_t’ does not name a type
./aodv/aodv_packet.h:80: error: ‘nsaddr_t’ does not name a type
./aodv/aodv_packet.h:81: error: ‘u_int32_t’ does not name a type
./aodv/aodv_packet.h:82: error: ‘nsaddr_t’ does not name a type
./aodv/aodv_packet.h:83: error: ‘u_int32_t’ does not name a type
./aodv/aodv_packet.h: In member function ‘int hdr_aodv_request::size()’:
./aodv/aodv_packet.h:105: error: ‘u_int32_t’ was not declared in this scope
./aodv/aodv_packet.h:106: error: ‘assert’ was not declared in this scope
./aodv/aodv_packet.h: At global scope:
./aodv/aodv_packet.h:112: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:113: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:114: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:115: error: ‘nsaddr_t’ does not name a type
./aodv/aodv_packet.h:116: error: ‘u_int32_t’ does not name a type
./aodv/aodv_packet.h:117: error: ‘nsaddr_t’ does not name a type
./aodv/aodv_packet.h: In member function ‘int hdr_aodv_reply::size()’:
./aodv/aodv_packet.h:135: error: ‘u_int32_t’ was not declared in this scope
./aodv/aodv_packet.h:136: error: ‘assert’ was not declared in this scope
./aodv/aodv_packet.h: At global scope:
./aodv/aodv_packet.h:143: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:144: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:145: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:147: error: ‘nsaddr_t’ does not name a type
./aodv/aodv_packet.h:148: error: ‘u_int32_t’ does not name a type
./aodv/aodv_packet.h: In member function ‘int hdr_aodv_error::size()’:
./aodv/aodv_packet.h:158: error: ‘DestCount’ was not declared in this scope
./aodv/aodv_packet.h:158: error: ‘u_int32_t’ was not declared in this scope
./aodv/aodv_packet.h:159: error: ‘assert’ was not declared in this scope
./aodv/aodv_packet.h: At global scope:
./aodv/aodv_packet.h:166: error: ‘u_int8_t’ does not name a type
./aodv/aodv_packet.h:167: error: ‘u_int8_t’ does not name a type
aodv/aodv_logs.cc: In member function ‘void AODV::log_link_del(nsaddr_t)’:
aodv/aodv_logs.cc:47: error: ‘logtarget’ was not declared in this scope
aodv/aodv_logs.cc:53: error: ‘logtarget’ was not declared in this scope
aodv/aodv_logs.cc:59: error: ‘God’ has not been declared
aodv/aodv_logs.cc: At global scope:
aodv/aodv_logs.cc:65: error: prototype for ‘void
AODV::log_link_broke(Packet*)’ does not match any in class ‘AODV’
aodv.h:321: error: candidate is: void AODV::log_link_broke(int*)
aodv/aodv_logs.cc: In member function ‘void AODV::log_link_kept(nsaddr_t)’:
aodv/aodv_logs.cc:89: error: ‘logtarget’ was not declared in this scope
aodv/aodv_logs.cc:97: error: ‘logtarget’ was not declared in this scope
aodv/aodv_logs.cc:103: error: ‘God’ has not been declared
make: ** [aodv/aodv_logs.o] Erro 1

Thanks in advance!
Larissa


-- 
O maior prazer do inteligente é bancar o  idiota
 diante de um  idiota que banca o inteligente.



-- 
O maior prazer do inteligente é bancar o  idiota
 diante de um  idiota que banca o inteligente.


[ns] installation problem

2009-08-12 Thread COULIBALY Yaya

Dear all,

I am trying NS2 on federa 64 bit without sucess. Any assistance?

Best regards
-- 
@ Patience is the key to success @

COULIBALY Yahaya
PhD Candidate
Optical Burst Switching Research Group
Faculty of Computer Science  Information Systems
Department of Communication  Computer Systems
Malaysia University of Technology (UTM)
81310 Skudai, Johor Bahru, Johor
Cell: 0060196886615
   : 0060137677542


[ns] NS wireless topology in TCL

2009-08-12 Thread El hadi Cherkaoui

hi all,

i need to creat a complexe topology in tcl with:
 N AP for umts 
 M BS for wifi  wimax
 k  terminal

best regards
 



  


[ns] Leopard Install Problem

2009-08-12 Thread Felix Chou

Hello all,
I've been trying to install ns-2 on my Macbook Pro laptop (10.5.8) and I
have been searching the internet for a while hoping to find a quick solution
to my build error.  I see that this error has been posted on the wiki but
don't see a solution to it.  I'm stuck on the error with building nam:

Undefined symbols:
  _TkCreateXEventSource, referenced from:
  _TkpInit in tkUnixInit.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [nam] Error 1

Has anyone come up with a workaround or straight up fix for this yet?

Sincerely,

Felix Chou


[ns] how to add a cpp file to ns2

2009-08-12 Thread kundavi

hello friends,

i downloaded some cpp files of odmrp protocol and i want to implement it in
NS2.33.

for example,

i added rtragent.cc and supporting files of it too

but then also i get an error as invalid command name Agent/RTRAgent.

to make it as a valid command name ..plz help me to make a link between the
c file and tcl file,

with regards

sangeetha.k