Jump to content
  • 0

Question

Posted

hye guys i keep having this same error every time i try to compile with non root user on centos 7

core.cpp:35:4: error: #error "GCC versions older than GCC 5 are not officially s                                                                                                                                                             upported anymore"
   #error "GCC versions older than GCC 5 are not officially supported anymore"

i try to update my gcc but failed, can someone guide me on how to fix this?

8 answers to this question

Recommended Posts

  • 0
Posted (edited)
5 hours ago, Dolphin86 said:

hye guys i keep having this same error every time i try to compile with non root user on centos 7

core.cpp:35:4: error: #error "GCC versions older than GCC 5 are not officially s                                                                                                                                                             upported anymore"
   #error "GCC versions older than GCC 5 are not officially supported anymore"

i try to update my gcc but failed, can someone guide me on how to fix this?

type: gcc --version

if you install gcc version upper than 4.8 you need to type this:
type this :

scl enable devtoolset-7 bash

the no 7 represent your gcc version it depends in what version you are using , you can check it by typing  gcc --version
 

then 

./configure
make clean
make server




 

Edited by chadness
  • 0
Posted
On 3/1/2022 at 12:04 PM, GM Winter said:

type: gcc --version

if you install gcc version upper than 4.8 you need to type this:
type this :

scl enable devtoolset-7 bash

the no 7 represent your gcc version it depends in what version you are using , you can check it by typing  gcc --version
 

then 

./configure
make clean
make server




 

i have try that, dint work

 

On 3/1/2022 at 10:39 AM, Vy Low said:

check your gcc version if its updated after compiling. if not i suggest try this
https://serverkurma.com/linux/how-to-install-and-update-gcc-on-centos-7/

did not work either

  • 0
Posted
31 minutes ago, Vy Low said:

this should work, i used it on my centos 7 vps

im also using centos 7 and it works from me

i used this steps

 

try this:

How To Install GCC on CentOS 7 | LinuxHostSupport

after that then this :

 

type: gcc --version

"if you install gcc version upper than 4.8 you need to type this:
type this :"

scl enable devtoolset-7 bash

the no 7 represent your gcc version it depends in what version you are using , you can check it by typing  gcc --version
 

then 

./configure
make clean
make server

  • 0
Posted
13 minutes ago, GM Winter said:

im also using centos 7 and it works from me

i used this steps

 

try this:

How To Install GCC on CentOS 7 | LinuxHostSupport

after that then this :

 

type: gcc --version

"if you install gcc version upper than 4.8 you need to type this:
type this :"

scl enable devtoolset-7 bash

the no 7 represent your gcc version it depends in what version you are using , you can check it by typing  gcc --version
 

then 

./configure
make clean
make server

Im using xterm for vnc, devtoolset-7 doesnt work in xterm this is why i manually install the preferred gcc version for rathena

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...