LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 02-28-2013, 10:32 PM   #1
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Rep: Reputation: Disabled
error in rebuilding ns-2.33


i am having following error while rebuild ns-2.33

i have type two command 'make clean' and 'make'

anybody help me

common/packet.h:391: error: ‘PT_LOCS’ was not declared in this scope
common/packet.h:394: error: ‘PT_HLS’ was not declared in this scope
common/packet.h:397: error: ‘PT_GPSR’ was not declared in this scope
common/packet.h:400: warning: deprecated conversion from string constant to ‘char*’
common/scheduler.cc: In member function ‘virtual int Scheduler::command(int, const char* const*)’:
common/scheduler.cc:216: warning: deprecated conversion from string constant to ‘char*’
make: *** [common/scheduler.o] Error 1
 
Old 03-01-2013, 01:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,947

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Rebuilding ns-2.33/ , Ubuntu 10.04 :

Either reconfigure ( If you have a new / edited `Makefile.in` ) with :
$ export CXX=g++-4.1 && ./configure

If you are using an edited Makefile for the rebuild :
Please change Makefile line 37 to : CPP = g++-4.1


.. If you made some changes in 'packet.h' :
Could be you will have to look for errors in packet.h .

-
 
Old 03-01-2013, 07:50 AM   #3
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
i got the following error after changing in packet.h file

i had type 'make clean' and 'make'

trace/cmu-trace.cc:1278: error: invalid use of undefined type ‘struct hdr_hls’
trace/cmu-trace.cc:1151: error: forward declaration of ‘struct hdr_hls’
trace/cmu-trace.cc:1280: error: invalid use of undefined type ‘struct hdr_hls’
trace/cmu-trace.cc:1151: error: forward declaration of ‘struct hdr_hls’
trace/cmu-trace.cc:1281: error: invalid use of undefined type ‘struct hdr_hls’
trace/cmu-trace.cc:1151: error: forward declaration of ‘struct hdr_hls’
make: *** [trace/cmu-trace.o] Error 1
 
  


Reply


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
kernel Rebuilding Error venkatesh710 Linux - Server 1 08-02-2010 07:26 AM
kernel Rebuilding Error venkatesh710 Linux - General 1 08-02-2010 04:57 AM
Error after rebuilding linux kernel pas Red Hat 1 05-15-2005 11:53 PM
Error after rebuilding linux kernel pas Linux - Newbie 2 05-14-2005 01:42 PM
raid rebuilding error wedgeworth Linux - Hardware 0 09-05-2003 01:21 PM


All times are GMT -5. The time now is 01:28 AM.

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