Diana Posted July 3, 2017 Posted July 3, 2017 Error while copmiling server at command [make sql] error in words make sql make[1]: Entering directory `/home/Server/3rdparty/mt19937ar' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Server/3rdparty/mt19937ar' make[1]: Entering directory `/home/Server/3rdparty/libconfig' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Server/3rdparty/libconfig' make[1]: Entering directory `/home/Server/src/common' CXX core.cpp cc1plus: error: unrecognized command line option "-std=c++11" cc1plus: warning: unrecognized command line option "-Wno-maybe-uninitialized" make[1]: *** [obj/core.o] Error 1 make[1]: Leaving directory `/home/Server/src/common' make: *** [common] Error 2 Please Help me Quote
1 mrlongshen Posted July 3, 2017 Posted July 3, 2017 4 hours ago, Diana said: Error while copmiling server at command [make sql] error in words make sql make[1]: Entering directory `/home/Server/3rdparty/mt19937ar' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Server/3rdparty/mt19937ar' make[1]: Entering directory `/home/Server/3rdparty/libconfig' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Server/3rdparty/libconfig' make[1]: Entering directory `/home/Server/src/common' CXX core.cpp cc1plus: error: unrecognized command line option "-std=c++11" cc1plus: warning: unrecognized command line option "-Wno-maybe-uninitialized" make[1]: *** [obj/core.o] Error 1 make[1]: Leaving directory `/home/Server/src/common' make: *** [common] Error 2 Please Help me Hi diana. Please follow this tutorial. Its works on me. I believe it should works on you too. Good luck. https://rathena.org/board/topic/111492-guide-centos-6-gcc-update-to-49/ 2 Quote
0 Diana Posted July 3, 2017 Author Posted July 3, 2017 gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) @Cyro Quote
0 Diana Posted July 3, 2017 Author Posted July 3, 2017 Please can you tell me the command that can update it? Quote
0 Mikegyver Posted July 3, 2017 Posted July 3, 2017 Just now, Diana said: CentOS 6 Isn't rA use make server? Quote
0 Diana Posted July 3, 2017 Author Posted July 3, 2017 Yes, I downloaded it from here : git clone https://github.com/rathena/rathena.git ~/rAthena and installed it like this page : https://github.com/rathena/rathena/wiki/Install-on-Centos Quote
0 Mikegyver Posted July 3, 2017 Posted July 3, 2017 rA no longer use make sql command.. instead it use make server command lol Quote
0 Cyro Posted July 3, 2017 Posted July 3, 2017 (edited) wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo yum -y install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran scl enable devtoolset-2 bash source /opt/rh/devtoolset-2/enable run this commands to update your GCC, then check your GCC version and i suggest you to update your os to centos 7 make sql make server still works fine Edited July 3, 2017 by Cyro 1 Quote
0 Mikegyver Posted July 3, 2017 Posted July 3, 2017 10 minutes ago, Diana said: CentOS 6 please go through this link.. i'm not using centos, so i dunno how to fix this error. but, read somewhere in the link down below. centos 6 got this problem. u need to use centos 7 instead.. Quote
0 Diana Posted July 4, 2017 Author Posted July 4, 2017 @mrlongshen It's working !! Thanks for al replies Quote
0 mrlongshen Posted July 5, 2017 Posted July 5, 2017 On 7/4/2017 at 0:36 PM, Diana said: @mrlongshen It's working !! Thanks for al replies Yeay ! Centos life ! AHAHAHAHA Quote
0 Mikegyver Posted July 5, 2017 Posted July 5, 2017 (edited) 12 minutes ago, mrlongshen said: Yeay ! Centos life ! AHAHAHAHA dude... centos don't give me life in if i want view all the changes i have done using git diff command... the diff got NO colors to distinguish between the original contents / lines which got removed & added contents / lines.. u will see the diff more clearly on ubuntu.. the diff on ubuntu comes with green & red color which make u easier to notice the changes.. see the below screenshot... if u really optimize & utilize git diff & git diff command, i guess u should switch to ubuntu.. EDIT: -- markings are original contents / lines those u remove while ++ markings are added contents / lines Edited July 5, 2017 by hazimjauhari90 1 Quote
Question
Diana
Error while copmiling server at command [make sql]
error in words
make sql make[1]: Entering directory `/home/Server/3rdparty/mt19937ar' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Server/3rdparty/mt19937ar' make[1]: Entering directory `/home/Server/3rdparty/libconfig' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Server/3rdparty/libconfig' make[1]: Entering directory `/home/Server/src/common' CXX core.cpp cc1plus: error: unrecognized command line option "-std=c++11" cc1plus: warning: unrecognized command line option "-Wno-maybe-uninitialized" make[1]: *** [obj/core.o] Error 1 make[1]: Leaving directory `/home/Server/src/common' make: *** [common] Error 2
Please Help me
18 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.