2015-07-11 99 views
0

n階安裝朱古力,這是用於深性學習的一些問題,我需要在redhat 6.5從GCC 4.4.7版本升級到4.8.2。約在redhat安裝gcc版本4.8.2

First run ./configure it worked, 
then make -j4, it will report 
options.c:11145: error: narrowing conversion of '-0x00000000000000001' from 'int' to 'short unsigned int' inside { } 
g++ -std=gnu++0x -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace ../../gcc/hash-table.c -o hash-table.o 
g++ -std=gnu++0x -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace ../../gcc/file-find.c -o file-find.o 
make[3]: *** [options.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 

我搜索谷歌,但找不到好的方法來解決它,誰有相同的問題之前?

+0

你用什麼版本的gcc構建gcc版本4.8.2以及你使用的是哪個版本的紅帽? – missimer

+0

gcc版本是4.4.7-4 –

回答