Jump to content

Recommended Posts

Hello, i am a beginner and i start to learn to compliance the sources but  I ran into this error and i don't know how to fix this.

 

root@Clever-Host:/usr/src/Source/Server/game/src # gmake clean
root@Clever-Host:/usr/src/Source/Server/game/src # gmake -j20
compiling BattleArena.cpp  [OK]
compiling FSM.cpp  [OK]
gmake: clang++-devel: No such file or directory
compiling MarkConvert.cpp  [OK]
gmake: *** [Makefile:116: .obj/FSM.o] Error 127
gmake: *** Waiting for unfinished jobs....
gmake: clang++-devel: No such file or directory
gmake: *** [Makefile:116: .obj/MarkConvert.o] Error 127
gmake: clang++-devel: No such file or directory
gmake: *** [Makefile:116: .obj/BattleArena.o] Error 127
compiling MarkImage.cpp  [OK]
gmake: clang++-devel: No such file or directory
gmake: *** [Makefile:116: .obj/MarkImage.o] Error 127
 

Link to comment
https://metin2.dev/topic/30420-makefile-error-on-compliance-the-source/
Share on other sites

  • Active Member
5 minutes ago, ionutsebastian said:

Hello, i am a beginner and i start to learn to compliance the sources but  I ran into this error and i don't know how to fix this.

 

root@Clever-Host:/usr/src/Source/Server/game/src # gmake clean
root@Clever-Host:/usr/src/Source/Server/game/src # gmake -j20
compiling BattleArena.cpp  [OK]
compiling FSM.cpp  [OK]
gmake: clang++-devel: No such file or directory
compiling MarkConvert.cpp  [OK]
gmake: *** [Makefile:116: .obj/FSM.o] Error 127
gmake: *** Waiting for unfinished jobs....
gmake: clang++-devel: No such file or directory
gmake: *** [Makefile:116: .obj/MarkConvert.o] Error 127
gmake: clang++-devel: No such file or directory
gmake: *** [Makefile:116: .obj/BattleArena.o] Error 127
compiling MarkImage.cpp  [OK]
gmake: clang++-devel: No such file or directory
gmake: *** [Makefile:116: .obj/MarkImage.o] Error 127
 

pkg install llvm-devel

22 minutes ago, Ulas said:

pkg install llvm-devel

compiling BattleArena.cpp  [OK]
compiling FSM.cpp  [OK]
compiling MarkConvert.cpp  [OK]
compiling MarkImage.cpp  [OK]
compiling MarkManager.cpp  [OK]
compiling OXEvent.cpp  [OK]
compiling arena.cpp  [OK]
compiling banword.cpp  [OK]
compiling ani.cpp  [OK]
compiling TrafficProfiler.cpp  [OK]
compiling battle.cpp  [OK]
compiling blend_item.cpp  [OK]
compiling block_country.cpp  [OK]
compiling buffer_manager.cpp  [OK]
compiling castle.cpp  [OK]
compiling building.cpp  [OK]
compiling char.cpp  [OK]
compiling char_affect.cpp  [OK]
compiling char_change_empire.cpp  [OK]
compiling char_battle.cpp  [OK]
In file included from In file included from char_affect.cpp:1:
In file included from ./stdafx.h:7:
In file included from In file included from In file included from In file includ                                                                                                                                                             ed from In file included from battle.cpp:1:
In file included from ./stdafx.h:7:
In file included from block_country.cpp:10:
In file included from ./stdafx.h:7:
banword.cpp:1:
In file included from ./stdafx.h:7:
BattleArena.cpp:1:
In file included from ./stdafx.h:7:
blend_item.cpp:10:
In file included from ./stdafx.h:7:
MarkManager.cpp:1:
In file included from ./stdafx.h:7:
In file included from building.cpp:1:
In file included from ./stdafx.h:7:
In file included from MarkImage.cpp:1:
In file included from ./stdafx.h:7:
In file included from castle.cpp:12:
In file included from ./stdafx.h:7:
In file included from In file included from arena.cpp:1:
In file included from ./stdafx.h:7:
In file included from buffer_manager.cpp:1:
In file included from ./stdafx.h:7:
TrafficProfiler.cpp:10:
In file included from ./stdafx.h:7:
In file included from char_change_empire.cpp:1:
In file included from ./stdafx.h:7:
In file included from ani.cpp:10:
In file included from ./stdafx.h:7:
MarkConvert.cpp:1:
In file included from ./stdafx.h:7:
In file included from OXEvent.cpp:1:
In file included from ./stdafx.h:7:
./debug_allocator.h:4./debug_allocator.h:10:: 4:10fatal error: 'cstdlib' file no                                                                                                                                                             t found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
./debug_allocator.h:4:./debug_allocator.h10::4 :10:fatal error: 'cstdlib' file n                                                                                                                                                             ot found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
./debug_allocator.h./debug_allocator.h:4:10: fatal error: ./debug_allocator.h:4:                                                                                                                                                             ./debug_allocator.h:4:10: ./debug_allocator.h:4:10: ./debug_allocator.hfatal err                                                                                                                                                             or: :4:'cstdlib' file not found10:
 fatal error: 'cstdlib' file not found
: fatal error: 'cstdlib' file not found
 fatal error: 'cstdlib' file not found
:'cstdlib' file not found410: fatal error: 'cstdlib' file not foundfatal error:
'cstdlib' file not found

:10: fatal error: 'cstdlib' file not found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
FSM.cpp:3:10: fatal error: 'cassert' file not found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
#include <cstdlib>#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>#include <cstdlib>#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>#include <cstdlib>
         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~

         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~

         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~
In file included from char_battle.cpp:1:
In file included from ./stdafx.h:7:
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
#include <cstdlib>
         ^~~~~~~~~

#include <cassert>

         ^~~~~~~~~
         ^~~~~~~~~
         ^~~~~~~~~

         ^~~~~~~~~
#include <cstdlib>
         ^~~~~~~~~
In file included from char.cpp:1:
In file included from ./stdafx.h:7:
./debug_allocator.h:4:10: fatal error: 'cstdlib' file not found
#include <cstdlib>
         ^~~~~~~~~
1 error generated.
gmake: *** [Makefile:116: .obj/FSM.o] Error 1
gmake: *** Waiting for unfinished jobs....
1 error11 generated error error generated.
gmake: *** [Makefile:116: .obj/MarkImage.o] Error 1
.
 generated1 error generated.
gmake: *** [Makefile:116: .obj/MarkManager.o] Error 1
.
gmake: *** [Makefile:116: .obj/buffer_manager.o] Error 1
gmake: *** [Makefile:116: .obj/TrafficProfiler.o] Error 1
1 error11 error generated.
gmake: *** [Makefile:116: .obj/banword.o] Error 1
 error1 generated11 error generated.
 generated errorgmake: *** [Makefile:116: .obj/block_country.o] Error 1
 error generated.
gmake: *** [Makefile:116: .obj/ani.o] Error 1
.
1 error generated.
gmake: *** [Makefile:116: .obj/char_change_empire.o] Error 1
1 error generated.
.
1gmake: *** [Makefile:116: .obj/char_affect.o] Error 1
 error generated.
gmake: *** [Makefile:116: .obj/castle.o] Error 1
 generated1 error generated.
gmake: *** [Makefile:116: .obj/BattleArena.o] Error 1
1 error generated.
1 error generated.
gmake: *** [Makefile:116: .obj/arena.o] Error 1
gmake: *** [Makefile:116: .obj/blend_item.o] Error 1
gmake: *** [Makefile:116: .obj/MarkConvert.o] Error 1
gmake: *** [Makefile:116: .obj/battle.o] Error 1
.
gmake: *** [Makefile:116: .obj/OXEvent.o] Error 1
1 error generated.
gmake: *** [Makefile:116: .obj/building.o] Error 1
1 error generated.
gmake: *** [Makefile:116: .obj/char_battle.o] Error 1
1 error generated.
gmake: *** [Makefile:116: .obj/char.o] Error 1
 

29 minutes ago, xXIntelXx said:

Please post screenshots, not the entire error text.

Anyway, install makedepend

pkg install makedepend

and do:

gmake clean
gmake dep

then rebuild it

i still get the same error... 

https://metin2.download/picture/V5ZR3Rywqx1j938zT988iiM3YfpNZrzm/.jpg

Edited by Metin2 Dev
Core X - External 2 Internal

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.