Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Share 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 Link to comment Share on other sites More sharing options...
1 mrlongshen Posted July 3, 2017 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 Cyro Posted July 3, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted July 3, 2017 What is your GCC version ? Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted July 3, 2017 How can i know it? @Cyro Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted July 3, 2017 gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) @Cyro Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted July 3, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted July 3, 2017 Try updating it to 4.8 or later Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted July 3, 2017 Please can you tell me the command that can update it? Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted July 3, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted July 3, 2017 What is your operating system ? Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted July 3, 2017 CentOS 6 Quote Link to comment Share on other sites More sharing options...
0 Mikegyver Posted July 3, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted July 3, 2017 Just now, Diana said: CentOS 6 Isn't rA use make server? Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share 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 Link to comment Share on other sites More sharing options...
0 Mikegyver Posted July 3, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share Posted July 3, 2017 rA no longer use make sql command.. instead it use make server command lol Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 3, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted July 3, 2017 The same error Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted July 3, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 Mikegyver Posted July 3, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share 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 Link to comment Share on other sites More sharing options...
0 LearningRO Posted July 4, 2017 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: 3 hours ago Share Posted July 4, 2017 maybe use should install G++ Quote Link to comment Share on other sites More sharing options...
0 Diana Posted July 4, 2017 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted July 4, 2017 @mrlongshen It's working !! Thanks for al replies Quote Link to comment Share on other sites More sharing options...
0 mrlongshen Posted July 5, 2017 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 Mikegyver Posted July 5, 2017 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 399 Reputation: 69 Joined: 12/26/15 Last Seen: December 24, 2022 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.