Problema compilare sursa

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
Seka420
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 85
Membru din: 06 Noi 2022, 11:45
Regat: Chunjo
Aprecieri: 247  
Mulţumiri: 130  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

*Problemă/Întrebare:Am o problema cand compilez sursa game pe un vdi.
Tipologie server:Pvm
*Resursă folosită: Sursa game
*ServerFiles utilizat:Nu mai stiu de unde il am
*Syserr: Asta imi arata in Putty dupa comanda gmake -j20
gmake: Warning: File `../../common/length.h' has modification time 42004 s in the future
compiling Config.cpp
compiling NetBase.cpp
compiling Peer.cpp
compiling PeerBase.cpp
compiling Main.cpp
compiling Lock.cpp
compiling DBManager.cpp
compiling Cache.cpp
In file included from stdafx.h:13,
from Peer.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from NetBase.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from Config.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling LoginData.cpp
In file included from stdafx.h:13,
from PeerBase.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from Main.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling ClientManager.cpp
In file included from stdafx.h:13,
from DBManager.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from Lock.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from Cache.cpp:2:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling ClientManagerPlayer.cpp
compiling ClientManagerLogin.cpp
In file included from stdafx.h:13,
from LoginData.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from ClientManager.cpp:2:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling ClientManagerBoot.cpp
In file included from stdafx.h:13,
from ClientManagerPlayer.cpp:2:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling ClientManagerParty.cpp
In file included from stdafx.h:13,
from ClientManagerLogin.cpp:2:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling ClientManagerGuild.cpp
In file included from stdafx.h:13,
from ClientManagerBoot.cpp:3:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling GuildManager.cpp
In file included from stdafx.h:13,
from ClientManagerParty.cpp:2:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from GuildManager.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
In file included from stdafx.h:13,
from ClientManagerGuild.cpp:2:
../../common/length.h:74: error: integer constant is too large for 'long' type
compiling HB.cpp
gmake: *** [.obj/Lock.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [.obj/Peer.o] Error 1
gmake: *** [.obj/Config.o] Error 1
gmake: *** [.obj/PeerBase.o] Error 1
In file included from stdafx.h:13,
from HB.cpp:1:
../../common/length.h:74: error: integer constant is too large for 'long' type
gmake: *** [.obj/HB.o] Error 1
gmake: *** [.obj/LoginData.o] Error 1
gmake: *** [.obj/NetBase.o] Error 1
gmake: *** [.obj/DBManager.o] Error 1
gmake: *** [.obj/ClientManagerLogin.o] Error 1
gmake: *** [.obj/Cache.o] Error 1
gmake: *** [.obj/ClientManagerParty.o] Error 1
gmake: *** [.obj/ClientManagerGuild.o] Error 1
gmake: *** [.obj/GuildManager.o] Error 1
gmake: *** [.obj/Main.o] Error 1
gmake: *** [.obj/ClientManagerPlayer.o] Error 1
gmake: *** [.obj/ClientManagerBoot.o] Error 1
gmake: *** [.obj/ClientManager.o] Error 1

Poză:am lasat mai sus syserr
*Detalii suplimentare:Sunt incepator, e prima data cand compilez o sursa
Imagine
Afișează semnătura
Avatar utilizator
Seka420
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 85
Membru din: 06 Noi 2022, 11:45
Regat: Chunjo
Aprecieri: 247  
Mulţumiri: 130  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii

Puteti da T/C am rezolvat! Cine mai intampina problema! In sursa/server/common in fisierul lenght.h am pus 2 zerouri la limita de gold
Imagine
Afișează semnătura
Închis
Răspunsuri
6
Vizualizări
697
Răspunsuri
5
Vizualizări
539
Răspunsuri
6
Vizualizări
232
Răspunsuri
1
Vizualizări
234

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

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