...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.
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.
The question has been answered in one of the other
"@ritika_sharma ns-2.1b9a threads" earlier today :
I guess that Fedora 8 is used because the author here uses it
P.S. : 'ns-allinone-2.1b9a-gcc32' compiles OK in Fedora 13, Fedora 14 too.
|All times are GMT -5. The time now is 02:54 PM.|