Some issues about installing gcc version 4.8.2 in redhat -
n order install caffe,which used deep learing,i need upgrade gcc version 4.4.7 4.8.2 in redhat 6.5。
first run ./configure worked, make -j4, report options.c:11145: error: narrowing conversion of '-0x00000000000000001' 'int' '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 unfinished jobs....
i search google,but can't find ways fix ,who has same issues before?
replacing original gcc can cause problems. alternative install developer toolset installs new gcc version (currently @ 4.9) along side original avoid file conflict. started here: http://developers.redhat.com/products/developertoolset/overview/
Comments
Post a Comment