Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2013, 05:21 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled
error in installing new modules in ns-2.35

Hi all,

while trying to install in ns-2.35, i m getting the following errors:

jawad@ubuntu:~/Documents/ns-allinone-2.35/ns-2.35$ make
g++ -c -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_14 -DHAVE_OTCL_H -DHAVE_LIBTK8_5 -DHAVE_TK_H -DHAVE_LIBTCL8_5 -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/jawad/Documents/ns-allinone-2.35/tclcl-1.20 -I/home/jawad/Documents/ns-allinone-2.35/otcl-1.14 -I/home/jawad/Documents/ns-allinone-2.35/include -I/home/jawad/Documents/ns-allinone-2.35/include -I/home/jawad/Documents/ns-allinone-2.35/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./sip -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 sip/sipAgent.o sip/
sip/ In constructor ‘SipAgent::SipAgent()’:
sip/ error: ‘PT_SIP’ was not declared in this scope
make: *** [sip/sipAgent.o] Error 1
i'm using ubuntu 12.04 and ns-2.35

i followed the following steps to add new module.
1:in Makefile (without ".in" extention), under INCLUDES =\, I added -I./sip\ and a folder named "sip" is there in the directory \ns-allinone-2.35\ns-2.35
2:then i added sip/sip_traffic.o sip/sipAgent.o under OBJ_CC =\
3: i added sip/200ms_500rate_p1_190_p2_200.tcl under NS_TCL_LIB = \
4: then i run command "make" but got errors.

any kind of help will be welcomed.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while installing Perl modules by auto installation method. srinietrx Linux From Scratch 3 05-10-2013 12:11 AM
error while installing xml perl modules varunb Linux - Newbie 2 08-10-2012 06:20 AM
modprobe error with modules that are not described in modules.conf soypark Linux - Hardware 1 09-08-2010 10:44 PM
Error installing modules for 2.6.4 PhoenixHawk Debian 1 04-03-2004 05:44 PM
Compile Error- /lib/modules/extra/modules.dep UpChuck Debian 2 01-11-2004 11:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration