Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on Red Hat Enterprise Linux Server release 5.7 #8

Open
GoogleCodeExporter opened this issue Jan 21, 2016 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. svn chekcout code 
2. vi MAKE file change BITS?=32 to BITS?=64
3. make all

What is the expected output? What do you see instead?

cc1plus: error: unrecognized command line option "-Wframe-larger-than=16384"
cc1plus: error: unrecognized command line option "-Wno-unused-but-set-variable"
cc1plus: error: unrecognized command line option "-Wunused-but-set-parameter"
cc1plus: error: unrecognized command line option "-Wvla"
cc1plus: error: unrecognized command line option "-Wno-conversion-null"
cc1plus: error: unrecognized command line option "-Wno-builtin-macro-redefined"
cc1plus: error: unrecognized command line option "-Wno-strict-overflow"
cc1plus: error: unrecognized command line option "-std=gnu++0x"


gcc version 

Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --disable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic 
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)



Original issue reported on code.google.com by fuyou...@gmail.com on 30 Sep 2014 at 2:12

@GoogleCodeExporter
Copy link
Author

One fix for this issue is to update the gcc version. ex: module load gcc/4.9.1

Original comment by ananttib...@gmail.com on 3 Aug 2015 at 8:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant