Eroare compilare

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
[MR]Danny
Nivel 2

Nivel 2
Mesaje: 280
Membru din: 10 Oct 2013, 13:57
Server: Metin2D&B
Regat: Jinno
Aprecieri: 187  
Mulţumiri: 176  
Medalii

*Problemă/Întrebare:Eroare compilare sursa game
Tipologie server: pvm
*Resursă folosită:https://forum.turkmmo.com/konu/3756079- ... 6-gcc-9-3/
*ServerFiles utilizat:svf-pentru-resurse/serverfiles-craciun- ... 86495.html
*Syserr:
Poză: fara
*Detalii suplimentare: Am luat FreeBSD12 sa fac compilare sursa game dar imi da eroare
Cand bag:cd /usr/src/server/game/src
gmake clean
gmake -j20
root@localhost:~ # cd /usr/src/server/game/src
root@localhost:/usr/src/server/game/src # gmake clean
root@localhost:/usr/src/server/game/src # gmake -j20
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile TrafficProfiler.cpp
compile OXEvent.cpp
compile ani.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile arena.cpp
compile banword.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile block_country.cpp
compile buffer_manager.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile battle.cpp
compile building.cpp
compile castle.cpp
compile blend_item.cpp
compile char.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from BattleArena.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** [Makefile:119: OBJDIR/BattleArena.o] Error 1
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** Waiting for unfinished jobs....
In file included from MarkImage.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compile char_battle.cpp
compile char_change_empire.cpp
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_affect.cpp
In file included from MarkManager.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from TrafficProfiler.cpp:10:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from OXEvent.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:120: OBJDIR/MarkManager.o] Error 1
In file included from arena.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compilation terminated.
gmake: *** [Makefile:120: OBJDIR/MarkImage.o] Error 1
In file included from MarkConvert.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:120: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:120: OBJDIR/arena.o] Error 1
In file included from banword.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:120: OBJDIR/TrafficProfiler.o] Error 1
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** [Makefile:120: OBJDIR/MarkConvert.o] Error 1
In file included from ani.cpp:10:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:120: OBJDIR/banword.o] Error 1
gmake: *** [Makefile:120: OBJDIR/ani.o] Error 1
In file included from char.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from block_country.cpp:10:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from castle.cpp:12:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
gmake: *** [Makefile:120: OBJDIR/char.o] Error 1
gmake: *** [Makefile:120: OBJDIR/block_country.o] Error 1
gmake: *** [Makefile:120: OBJDIR/castle.o] Error 1
In file included from buffer_manager.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:119: OBJDIR/buffer_manager.o] Error 1
In file included from battle.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from char_battle.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from building.cpp:1:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from blend_item.cpp:10:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
compilation terminated.
gmake: *** [Makefile:119: OBJDIR/battle.o] Error 1
gmake: *** [Makefile:119: OBJDIR/char_battle.o] Error 1
In file included from char_change_empire.cpp:2:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:119: OBJDIR/blend_item.o] Error 1
compilation terminated.
gmake: *** [Makefile:119: OBJDIR/building.o] Error 1
gmake: *** [Makefile:119: OBJDIR/char_change_empire.o] Error 1
In file included from char_affect.cpp:2:
stdafx.h:10:10: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
10 | #include "../../libthecore/include/stdafx.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:119: OBJDIR/char_affect.o] Error 1
root@localhost:/usr/src/server/game/src #
Am incercat si cu gmake clean
gmake dep
gmake -j20
Lafel

Stie cineva cauza, va multumesc
Avatar utilizator
#kasyro
Nivel 1

Nivel 1
Mesaje: 91
Membru din: 20 Mai 2020, 20:19
Server: Elysium II
Aprecieri: 107  
Mulţumiri: 564  
Discord: Copiază ID
 Contact:
Medalii

./libthecore/include/stdafx.h: No such file or directory
Avatar utilizator
[MR]Danny
Nivel 2

Nivel 2
Mesaje: 280
Membru din: 10 Oct 2013, 13:57
Server: Metin2D&B
Regat: Jinno
Aprecieri: 187  
Mulţumiri: 176  
Medalii

#kasyro scrie: ↑07 Oct 2020, 22:51 ./libthecore/include/stdafx.h: No such file or directory
Asta am vazut si eu dar cum rezolv eroarea ?
din ce am cauta pe google ar fii lipsa g++ gcc48 sau gcc49
Dar nu stiu cum se instaleaza sau de unde le iau....
Am bagat pkg install gcc49 sau pkg install gcc48 y/N am dat y si mi-a dat:
pkg: Error fetching http://pkg.FreeBSD.org/freebsd:9:x86:32 ... st/pkg.txz: No address record
Avatar utilizator
[MR]Danny
Nivel 2

Nivel 2
Mesaje: 280
Membru din: 10 Oct 2013, 13:57
Server: Metin2D&B
Regat: Jinno
Aprecieri: 187  
Mulţumiri: 176  
Medalii

Numeni ?
Avatar utilizator
Vaynz
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 729
Membru din: 07 Iun 2018, 15:16
Server: -
Regat: Chunjo
Aprecieri: 153  
Mulţumiri: 3618  
Medalii

Esti sigur ca ai freebsd 9.2 compilare?
Avatar utilizator
[MR]Danny
Nivel 2

Nivel 2
Mesaje: 280
Membru din: 10 Oct 2013, 13:57
Server: Metin2D&B
Regat: Jinno
Aprecieri: 187  
Mulţumiri: 176  
Medalii

Vaynz scrie: ↑13 Oct 2020, 12:04 Esti sigur ca ai freebsd 9.2 compilare?
Da, am si 11 si 12 dar nici unu nu are instalat gcc48
Nu gasesc tutorial
Oricum am schimbat serverul
Avatar utilizator
Asky
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 1472
Membru din: 08 Oct 2014, 17:32
Regat: Chunjo
Aprecieri: 98  
Mulţumiri: 4811  
Discord: Copiază ID
 Contact:
Medalii

Arhivat!
Imagine
Afișează semnătura
Închis
Răspunsuri
5
Vizualizări
428
Răspunsuri
18
Vizualizări
666
Răspunsuri
3
Vizualizări
247
Răspunsuri
2
Vizualizări
494

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 105 vizitatori