facing cc1plus: error: unrecognized command line option "-std=c++11"

603 views
Skip to first unread message

ilaya raja

unread,
Feb 2, 2017, 12:19:25 AM2/2/17
to ns-3-users
Hi,
 while i try to install ns-allinone3.26 .i got error as below
[ 843/1727] Compiling src/uan/model/uan-phy-gen.cc
cc1plus: error: unrecognized command line option "-std=c++11"

cc1plus: error: unrecognized command line option "-std=c++11"

Waf: Leaving directory `/home/project/ns-allinone-3.26/ns-3.26/build'

i am using fedora 14 and gcc version is 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) .
 is it possible to give solution for this ..

thanks in advance
Regards
S.ilayaraja



Tommaso Pecorella

unread,
Feb 4, 2017, 6:48:15 AM2/4/17
to ns-3-users
Please give more info. Most importantly if you did change the build scripts in any way and/or if you're using any custom option for the compilation.

T.

PS: are you sure you didn't miss a "-" or you didn't use a dash instead of a minus ?

ilaya raja

unread,
Feb 4, 2017, 7:03:34 AM2/4/17
to ns-3-...@googlegroups.com
Just i have downloaded ns-allinone-3.26 versikn package from nsnam release and extract and i gave cd ns-allinone-3.26 and then ./build.py 

While giving  this i got the error ..i didn't change anything inside the package ..

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/hC-rUujjHGo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Tommaso Pecorella

unread,
Feb 4, 2017, 7:51:16 AM2/4/17
to ns-3-users
Right. Sorry, I didn't check the GCC version number.
Your OS is too old, you need a newer one with a newer compiler.
I fear you'll have to upgrade your Fedora.

Cheers,

T.



On Saturday, February 4, 2017 at 1:03:34 PM UTC+1, ilaya raja wrote:
Just i have downloaded ns-allinone-3.26 versikn package from nsnam release and extract and i gave cd ns-allinone-3.26 and then ./build.py 

While giving  this i got the error ..i didn't change anything inside the package ..
On Feb 4, 2017 5:18 PM, "Tommaso Pecorella" <tomm...@gmail.com> wrote:
Please give more info. Most importantly if you did change the build scripts in any way and/or if you're using any custom option for the compilation.

T.

PS: are you sure you didn't miss a "-" or you didn't use a dash instead of a minus ?



On Thursday, February 2, 2017 at 6:19:25 AM UTC+1, ilaya raja wrote:
Hi,
 while i try to install ns-allinone3.26 .i got error as below
[ 843/1727] Compiling src/uan/model/uan-phy-gen.cc
cc1plus: error: unrecognized command line option "-std=c++11"

cc1plus: error: unrecognized command line option "-std=c++11"

Waf: Leaving directory `/home/project/ns-allinone-3.26/ns-3.26/build'

i am using fedora 14 and gcc version is 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) .
 is it possible to give solution for this ..

thanks in advance
Regards
S.ilayaraja



--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/hC-rUujjHGo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

ilaya raja

unread,
Feb 4, 2017, 7:54:49 AM2/4/17
to ns-3-...@googlegroups.com
Thank you sir ...

To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages