LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install ns.26 on fedora 12 and gcc-g++-3.2.3 (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-ns-26-on-fedora-12-and-gcc-g-3-2-3-a-851561/)

ashok.alluri8011 12-21-2010 05:08 AM

How to install ns.26 on fedora 12 and gcc-g++-3.2.3
 
I Already installed gcc-g++34, and gcc g++ 4.4.4

My system is Linux localhost.localdomain 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
Purpose of giving above line is to tell u that i686 compatible version i need

And i want know which compiler version is suitable for ns-2.26?? ...and plz post link here

When i installed ns2-allinone-2.26 with gcc34 and gcc4.4.4 im getting errors like



/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:307: error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:384: error: expected unqualified-id before '(' token
make: *** [diffusion3/ns/difftimer.o] Error 1
Ns make failed!



plz help me...


Thanx in advance

knudfl 12-21-2010 09:17 AM

Quote:

.. I want know which compiler version is suitable for ns-2.26
'gcc33-3.3.3' : Is available from Suse, as another "compat" compiler.

Instructions for Fedora / ns-allinone-2.26, please read posts #12 + #14
http://www.linuxquestions.org/questi...2-a-797763/#12


More ns-allinone-2.26 : LQ Search , keyword = ns-allinone-2.26

..


All times are GMT -5. The time now is 03:39 AM.