Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-12-2012, 02:40 AM   #1
LQ Newbie
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled cause error in ns-2.34 in

thats what the error could you please help me to resolve

mympeg/ In constructor ‘myUdpAgent::myUdpAgent()’:
mympeg/ error: cannot call constructor ‘myUdpAgent::UdpAgent’ directly
mympeg/ error: for a function-style cast, remove the redundant ‘::UdpAgent’
mympeg/ In member function ‘virtual void myUdpAgent::sendmsg(int, AppData*, const char*)’:
mympeg/ error: ‘getFrameType’ was not declared in this scope
mympeg/ error: ‘getFrameType’ was not declared in this scope
Makefile:93: recipe for target `mympeg/myudp.o' failed
make: *** [mympeg/myudp.o] Error 1
Old 09-12-2012, 05:13 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,703

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Welcome to LQ.

The mympeg that I know, is for ns-2.28

You can have as may versions of ns-allinone-2.xx as you want,
installed at the same time. But do not any of them to a *PATH.
The binary ns is hard coded to know the location of it's libraries.

Ubuntu example ns-2.28 :
cd ns-allinone-2.28/ && patch -p1 < ns-2.28-gcc410.patch &&
export CC=gcc41 CXX=g++41 && ./install
gcc41 g++41

Which version of Ubuntu are you using ?


Last edited by knudfl; 09-12-2012 at 05:15 AM.
Old 09-20-2012, 06:12 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.

Last edited by jschiwal; 09-22-2012 at 08:04 PM.


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
Make-3.82 error:Makefile:282:error: mixed implicit and normal rules Ramanc51 Linux - Newbie 5 06-08-2011 07:55 AM
makefile error pantera Programming 3 05-21-2005 08:05 AM
makefile error durden2.0 Programming 2 01-25-2004 04:45 PM
makefile error puckney Linux - Newbie 3 04-25-2002 09:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:39 PM.

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