[ns] NS-2.34 -- Installation problem

2009-09-08 Thread Dalton Cézane

 Has someone ever seen this problem when installing the ns-2.34:

>
> "gcc -c -O2 -Wall -Wno-write-strings  -DTCP_DELAY_BIND_ALL -DNO_TK
> -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL
> -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H
> -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H  -DHAVE_CONFIG_H
> -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE
> -Drng_test  -I. -I. -I/home/dalton/NS-2/ns-allinone-2.34/tclcl-1.19
> -I/home/dalton/NS-2/ns-allinone-2.34/otcl-1.13
> -I/home/dalton/NS-2/ns-allinone-2.34/include
> -I/home/dalton/NS-2/ns-allinone-2.34/include
> -I/home/dalton/NS-2/ns-allinone-2.34/include -I/usr/include/pcap -I./tcp
> -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile
> -I./trace -I./routing -I./tools -I./classifier -I./mcast
> -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr
> -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv
> -I./satellite -I./wpan -o tcp/linux/ns-linux-c.o tcp/linux/ns-linux-c.c
> In file included from /usr/include/sys/types.h:270,
>  from /usr/include/stdlib.h:320,
>  from tcp/linux/ns-linux-util.h:20,
>  from tcp/linux/ns-linux-c.c:21:
> /usr/include/bits/pthreadtypes.h:99: warning: unnamed struct/union that
> defines no instances
> tcp/linux/ns-linux-c.c: In function `find_param_by_proto_name':
> tcp/linux/ns-linux-c.c:99: parse error before `struct'
> tcp/linux/ns-linux-c.c:100: `q' undeclared (first use in this function)
> tcp/linux/ns-linux-c.c:100: (Each undeclared identifier is reported only
> once
> tcp/linux/ns-linux-c.c:100: for each function it appears in.)
> tcp/linux/ns-linux-c.c:111: warning: control reaches end of non-void
> function
> make: ** [tcp/linux/ns-linux-c.o] Erro 1
> Ns make failed! "
>
> I'm using Ubuntu 8.10. Thanks in advance!
>
>
-- 
===
Dalton Cézane - Voip UFCG: 1075-2005
Mestrando em Ciência da Computação (UFCG)
Bacharel em Ciência da Computação (UFCG)
Técnico em Informática (ETER)


[ns] tcl language ns-2.27

2009-09-08 Thread ali majeed

 

hi to all i need help to solve this problem 

i need to change the queue reference? to be multi step (multi level 300 ,200, 
500 200)? like the attach picture instead of one value because i bulit my tcl 
prgram at 200 only , so i need to make multi level for queue refrence in tcl 
language. .

note:
the below ?instruction i used to set queue reference?? in tcl program in AQM in 
queue.

"$ que set quref_ 200 "

how to modify it to be (multi level 300 200 500 200)

thank you very much 

ENG. ali m


      

--

___
Ns-users mailing list
Ns-users@isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users


End of Ns-users Digest, Vol 69, Issue 6
***



  

[ns] how to use extern libraries?

2009-09-08 Thread pedro chaparro

hi,  i'd like to  use functions from an extern linux libray (libc.so.6) how
can i integrate it with ns-2?
thanks

-- 
Ing Pedro Alonso Chaparro Valero
Ciudad Politecnica de la Innovación
iTEAM - Mobile Communications Group
Polytechnic University of Valencia
C\ Camino de Vera S/N, Edificio 8G
46022 Valencia, Spain


[ns] segmentation fault with 802_11e

2009-09-08 Thread ali bala

hi,all
when i change 802_11 in examples in ns\tcl\ex  
with 802_11e and run it i get segmentation fault
this script work well without changing 
i need to tcl script that run with 802_11 correctly
and i need to guide about using 802_11e in my tcl script correctly
please help me about that soon

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