Jump to content

Compile error


Frank92

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/19/15
  • Last Seen:  

Guten Tag,
vorhin habe ich mein server mit Debian 8 neu aufgesetzt updates gemacht und alle schritte von https://github.com/rathena/rathena/wiki/Install-on-Debian genau so aufgefürt wie sie da stehen( bis auf ./configure vorm compilen) und bekomme beim compilen den folgenden error:

lto1: fatal error: bytecode stream generated with LTO version 4.2 instead of the expected 3.0
compilation terminated.
lto-wrapper: gcc returned 1 exit status
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Makefile:61: recipe for target 'login-server' failed

 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  796
  • Reputation:   101
  • Joined:  05/23/12
  • Last Seen:  

Du musst

Quote

./configure

make clean && make server

ausführen.

 

Rynbef~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/19/15
  • Last Seen:  

Hatte ich doch gemacht. In der Anleitung steht nix von ./configure  das war ja mein erstes Problem was ich aber mit etwas googlen schnell lösen konnte. Das Problem welches ich hir geschrieben hab lässt sich dadurch leider nicht lösen was man eigendlich schon am errorcode erkennen kann. Scheinbar erwartet der Compiler von irgendwas ne andere Version aber von was und wie ich das lösen kann.. ka.

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   2
  • Joined:  10/31/17
  • Last Seen:  

lto1: fatal error: bytecode stream in file '../common/obj/common.a' generated with LTO version 4.2 instead of the expected 6.0

Ich habe fast das selbe Problem allerdings habe ich schon ein paar mal ./configure gemacht und dann make Clean && make server , jedoch immer noch die selbe Fehlermeldung ...

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  796
  • Reputation:   101
  • Joined:  05/23/12
  • Last Seen:  

Mach mal "GCC -v" und schau was da für eine Version da steht.

 

Rynbef~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   2
  • Joined:  10/31/17
  • Last Seen:  

Das Problem besteht wenn eine neuere gcc Version geupdatet wurde..

Hatte ich auch ..

einfach autoremove für den gcc machen und dann wie hier im Forum beschrieben die unstable wieder drauf machen . dann gehts wieder ^^

 

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
Reply to this topic...

×   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...