Jump to content
  • 0

Compile Error


Kenai

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/14/17
  • Last Seen:  

Spoiler

        MKDIR   obj
        CXX     core.cpp
        CC      socket.c
        CC      timer.c
        CC      db.c
        CC      nullpo.c
        CC      malloc.c
        CC      showmsg.c
        CC      strlib.c
        CC      utils.c
        CXX     utilities.cpp
        CC      grfio.c
        CC      mapindex.c
        CC      ers.c
        CC      md5calc.c
        CXX     core.cpp
        CC      socket.c
        CC      malloc.c
        CC      random.c
        CC      des.c
        CC      conf.c
        CC      thread.c
        CC      mutex.c
        CC      raconf.c
        CC      mempool.c
        CC      msg_conf.c
        CC      cli.c
        CC      sql.c
        CXX     yamlwrapper.cpp
        AR      obj/common.a
make[1]: Leaving directory '/root/rAthena/src/common'
make[1]: Entering directory '/root/rAthena/src/login'
        MKDIR   obj
        CXX     account.cpp
        CXX     ipban.cpp
        CXX     login.cpp
        CXX     loginchrif.cpp
        CXX     loginclif.cpp
        CXX     logincnslif.cpp
        CXX     loginlog.cpp
        LD      login-server
lto1: fatal error: bytecode stream in file '../common/obj/common.a' generated with LTO version 4.2 instead of the e                               xpected 6.0
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Makefile:61: recipe for target 'login-server' failed
make[1]: *** [login-server] Error 1
make[1]: Leaving directory '/root/rAthena/src/login'
Makefile:45: recipe for target 'login' failed
make: *** [login] Error 2
 

Ubuntu 16 64bit
gcc 5 and g++ 5 
please help fix this anywy goodnight i will read tomorow thank you

zzzz.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  12/14/17
  • Last Seen:  

Fix ubuntu 16 auto install to gcc 7 so g++ is 5
i using ubuntu 14 install gcc 5.4 and done

 

/close

Edited by Kenai
Link to comment
Share on other sites

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.

×
×
  • Create New...