Edit: I somehow got a bad version of the files from GitHub, after re-cloning the git it worked fine.
I am having issues compiling the server. I am running on Ubuntu and even after Rebooting/Updating/Upgrading/Fresh Pull from Git/etc. I am having errors during the build and I'm not sure what I'm doing wrong. Attached is the output from make.
make[1]: Entering directory '/root/rathena/src/map'
MKDIR obj
CXX achievement.cpp
In file included from achievement.cpp:21:
battle.hpp:714:9: error: invalid digit "8" in octal constant
714 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from itemdb.hpp:16,
from achievement.cpp:25:
status.hpp:95:9: error: invalid digit "8" in octal constant
95 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
status.hpp:115:9: error: invalid digit "8" in octal constant
115 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from achievement.cpp:29:
pc.hpp:396:9: error: invalid digit "8" in octal constant
396 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from achievement.cpp:29:
pc.hpp:1079:9: error: invalid digit "8" in octal constant
1079 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from achievement.cpp:21:
battle.hpp:692:1: error: version control conflict marker in file
692 | <<<<<<< HEAD
| ^~~~~~~
battle.hpp:713:1: error: version control conflict marker in file
713 | =======
| ^~~~~~~
In file included from itemdb.hpp:16,
from achievement.cpp:25:
status.hpp:92:1: error: version control conflict marker in file
92 | <<<<<<< HEAD
| ^~~~~~~
status.hpp:94:1: error: version control conflict marker in file
94 | =======
| ^~~~~~~
status.hpp:102:1: error: version control conflict marker in file
102 | <<<<<<< HEAD
| ^~~~~~~
status.hpp:109:1: error: version control conflict marker in file
109 | =======
| ^~~~~~~
status.hpp:111:30: error: ‘YAML’ does not name a type
111 | uint64 parseBodyNode( const YAML::Node& node );
| ^~~~
status.hpp:111:40: error: expected unqualified-id before ‘&’ token
111 | uint64 parseBodyNode( const YAML::Node& node );
| ^
status.hpp:111:40: error: expected ‘)’ before ‘&’ token
111 | uint64 parseBodyNode( const YAML::Node& node );
| ~ ^
| )
status.hpp:111:40: error: expected ‘;’ at end of member declaration
111 | uint64 parseBodyNode( const YAML::Node& node );
| ^
| ;
status.hpp:111:42: error: ‘node’ does not name a type
111 | uint64 parseBodyNode( const YAML::Node& node );
| ^~~~
status.hpp:114:39: error: ‘std::shared_ptr<s_refine_level_info> RefineDatabase::findLevelInfo(const item_data&, item&)’ cannot be overloaded with ‘std::shared_ptr<s_refine_level_info> RefineDatabase::findLevelInfo(const item_data&, item&)’
114 | std::shared_ptr<s_refine_level_info> findLevelInfo( const struct item_data& data, struct item& item );
| ^~~~~~~~~~~~~
status.hpp:107:39: note: previous declaration ‘std::shared_ptr<s_refine_level_info> RefineDatabase::findLevelInfo(const item_data&, item&)’
107 | std::shared_ptr<s_refine_level_info> findLevelInfo( const struct item_data& data, struct item& item );
| ^~~~~~~~~~~~~
status.hpp:115:1: error: version control conflict marker in file
115 | >>>>>>> 0828ff00c630d6bcfa7a42826919867f0b8e5250
| ^~~~~~~
status.hpp:118:23: error: cannot declare variable ‘refine_db’ to be of abstract type ‘RefineDatabase’
118 | extern RefineDatabase refine_db;
| ^~~~~~~~~
status.hpp:89:7: note: because the following virtual functions are pure within ‘RefineDatabase’:
89 | class RefineDatabase : public TypesafeYamlDatabase<uint16, s_refine_info>{
| ^~~~~~~~~~~~~~
In file included from achievement.hpp:15,
from achievement.cpp:4:
../common/database.hpp:77:28: note: ‘virtual const string YamlDatabase::getDefaultLocation()’
77 | virtual const std::string getDefaultLocation() = 0;
| ^~~~~~~~~~~~~~~~~~
In file included from achievement.cpp:29:
pc.hpp:390:1: error: version control conflict marker in file
390 | <<<<<<< HEAD
| ^~~~~~~
pc.hpp:395:1: error: version control conflict marker in file
395 | =======
| ^~~~~~~
In file included from achievement.cpp:29:
pc.hpp:1063:1: error: version control conflict marker in file
1063 | <<<<<<< HEAD
| ^~~~~~~
pc.hpp: In function ‘bool pc_cant_act(map_session_data*)’:
pc.hpp:1073:37: error: ‘pc_cant_act2’ was not declared in this scope
1073 | return sd->npc_id || sd->chatID || pc_cant_act2( sd );
| ^~~~~~~~~~~~
pc.hpp:1073:37: note: the macro ‘pc_cant_act2’ had not yet been defined
pc.hpp:1078: note: it was later defined here
1078 | #define pc_cant_act2(sd) ( (sd)->state.vending || (sd)->state.buyingstore || ((sd)->sc.opt1 && (sd)->sc.opt1 != OPT1_BURNING) || (sd)->state.trading || (sd)->state.storage_flag || (sd)->state.prevend || (sd)->state.refineui_open )
|
pc.hpp: At global scope:
pc.hpp:1075:1: error: version control conflict marker in file
1075 | =======
| ^~~~~~~
make[1]: *** [Makefile:84: obj/achievement.o] Error 1
make[1]: Leaving directory '/root/rathena/src/map'
make: *** [Makefile:50: map] Error 2
Question
Pyroclese
Edit: I somehow got a bad version of the files from GitHub, after re-cloning the git it worked fine.
I am having issues compiling the server. I am running on Ubuntu and even after Rebooting/Updating/Upgrading/Fresh Pull from Git/etc. I am having errors during the build and I'm not sure what I'm doing wrong. Attached is the output from make.
Edited by PyrocleseLink to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.