LinuxQuestions.org
Review your favorite Linux distribution.
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 12-10-2010, 07:53 AM   #1
ritika_sharma
LQ Newbie
 
Registered: Dec 2010
Distribution: Ubuntu, Fedora
Posts: 7

Rep: Reputation: 0
...c++/4.1.2/bits/vector.tcc:452: error: expected unqualified-id before ( token


I am trying to install NS-2.1b9a in Fedora 8.0.
I have already installed gcc-3.3 and made new link to the newly installed gcc. I used patch made for NS-2.1b9a (found in http://mohittahiliani.blogspot.com/2...-8-ubuntu.html) to install in Fedora 8.0.
Now, when I run ./install I get follwoing error.

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:452: error: expected unqualified-id before ( token
make: *** [diffusion3/ns/difftimer.o] Error 1
Ns make failed!

I searched in google, but there is no complete answer.
Pls. help. I am very new in Linux.
 
Old 12-10-2010, 08:32 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,473

Rep: Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540Reputation: 2540
Quote:
Originally Posted by ritika_sharma View Post
I am trying to install NS-2.1b9a in Fedora 8.0.
I have already installed gcc-3.3 and made new link to the newly installed gcc. I used patch made for NS-2.1b9a (found in http://mohittahiliani.blogspot.com/2...-8-ubuntu.html) to install in Fedora 8.0.
Now, when I run ./install I get follwoing error.

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:452: error: expected unqualified-id before ( token
make: *** [diffusion3/ns/difftimer.o] Error 1
Ns make failed!

I searched in google, but there is no complete answer.
Pls. help. I am very new in Linux.
Spell out your words.

And I'm hardly surprised you're getting errors. Fedora 8? That's ancient..the latest is FC14. First thing I'd suggest, is installing an up-to-date distro, which will include the libraries/compilers/etc, that you're going to need to get this built. You CAN probably go through the libraries one at a time, and recompile them from source (FC8 isn't supported...so you won't be able to use YUM), but a fresh install of FC14 will be much faster.
 
Old 12-10-2010, 09:42 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,557

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
The question has been answered in one of the other
"@ritika_sharma ns-2.1b9a threads" earlier today :
http://www.linuxquestions.org/questi...post4187015/#7

I guess that Fedora 8 is used because the author here uses it
for ns-allinone-2.1b9a-gcc32.


P.S. : 'ns-allinone-2.1b9a-gcc32' compiles OK in Fedora 13, Fedora 14 too.
..

Last edited by knudfl; 12-10-2010 at 11:57 AM.
 
  


Reply

Tags
fedora, gcc, installation


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
line 11: error: expected ':', ',', ';','}' or '_attribute_' before '}' token pppwww Linux - Newbie 4 02-02-2010 07:06 PM
compile error: expected ; before * token osc~ Linux - Software 12 12-10-2009 11:18 AM
ERROR MESSAGE: ' Expected class name before ',' token. biplabbijay Programming 6 11-18-2009 10:26 PM
expected unqualified-id before { token in C knobby67 Programming 3 04-25-2009 04:11 AM
compile error: expected ; before * token osc~ Linux - Software 2 12-05-2008 08:52 AM


All times are GMT -5. The time now is 03:34 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