thunderstruckz
New Member
- Joined
- Jun 7, 2013
- Messages
- 2
- Reaction score
- 0
Plz guys need help, when i did make, that shows:
root@thunderplace:/otserv/github/server/build# make -j2
Scanning dependencies of target otserv
[ 1%] [ 2%] Building CXX object CMakeFiles/otserv.dir/src/configmanager.cpp.o
Building CXX object CMakeFiles/otserv.dir/src/creature_manager.cpp.o
/otserv/github/server/src/configmanager.cpp: In member function âstd::vector<std::basic_string<char> > ConfigManager::getIPServerList()â:
/otserv/github/server/src/configmanager.cpp:263:55: error: expected primary-expression before â)â token
/otserv/github/server/src/configmanager.cpp: In member function âstd::string ConfigManager::getGlobalString(lua_State*, const string&, const string&) constâ:
/otserv/github/server/src/configmanager.cpp:293:13: error: expected primary-expression before âintâ
/otserv/github/server/src/configmanager.cpp:293:13: error: expected â)â before âintâ
make[2]: *** [CMakeFiles/otserv.dir/src/configmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/otserv.dir/all] Error 2
make: *** [all] Error 2
What can I do? =/
I´m making the updated one, getted here: git clone git://github.com/opentibia/server.git
The how to i getted here: https://github.com/opentibia/server/wiki/Compiling-OTServ-under-Linux-systems
- - - Updated - - -
Plz someoneee =/
- - - Updated - - -
I put this:
#define lua_strlen(L, s)
#define lua__strlen(s)
Cos was with that error:
root@thunderplace:/otserv/github/server/build# make -j2
Scanning dependencies of target otserv
[ 1%] [ 2%] Building CXX object CMakeFiles/otserv.dir/src/configmanager.cpp.o
Building CXX object CMakeFiles/otserv.dir/src/cylinder.cpp.o
/otserv/github/server/src/configmanager.cpp: In member function âstd::vector<std::basic_string<char> > ConfigManager::getIPServerList()â:
/otserv/github/server/src/configmanager.cpp:263:38: error: âlua__strlenâ was not declared in this scope
/otserv/github/server/src/configmanager.cpp: In member function âstd::string ConfigManager::getGlobalString(lua_State*, const string&, const string&) constâ:
/otserv/github/server/src/configmanager.cpp:293:17: error: âlua__strlenâ was not declared in this scope
make[2]: *** [CMakeFiles/otserv.dir/src/configmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/otserv.dir/all] Error 2
make: *** [all] Error 2
Now is with the error:
root@thunderplace:/otserv/github/server/build# make -j2
Scanning dependencies of target otserv
[ 1%] [ 2%] Building CXX object CMakeFiles/otserv.dir/src/configmanager.cpp.o
Building CXX object CMakeFiles/otserv.dir/src/database_driver.cpp.o
/otserv/github/server/src/configmanager.cpp: In member function âstd::vector<std::basic_string<char> > ConfigManager::getIPServerList()â:
/otserv/github/server/src/configmanager.cpp:263:55: error: expected primary-expression before â)â token
/otserv/github/server/src/configmanager.cpp: In member function âstd::string ConfigManager::getGlobalString(lua_State*, const string&, const string&) constâ:
/otserv/github/server/src/configmanager.cpp:293:13: error: expected primary-expression before âintâ
/otserv/github/server/src/configmanager.cpp:293:13: error: expected â)â before âintâ
make[2]: *** [CMakeFiles/otserv.dir/src/configmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/otserv.dir/all] Error 2
make: *** [all] Error 2
root@thunderplace:/otserv/github/server/build# make -j2
Scanning dependencies of target otserv
[ 1%] [ 2%] Building CXX object CMakeFiles/otserv.dir/src/configmanager.cpp.o
Building CXX object CMakeFiles/otserv.dir/src/creature_manager.cpp.o
/otserv/github/server/src/configmanager.cpp: In member function âstd::vector<std::basic_string<char> > ConfigManager::getIPServerList()â:
/otserv/github/server/src/configmanager.cpp:263:55: error: expected primary-expression before â)â token
/otserv/github/server/src/configmanager.cpp: In member function âstd::string ConfigManager::getGlobalString(lua_State*, const string&, const string&) constâ:
/otserv/github/server/src/configmanager.cpp:293:13: error: expected primary-expression before âintâ
/otserv/github/server/src/configmanager.cpp:293:13: error: expected â)â before âintâ
make[2]: *** [CMakeFiles/otserv.dir/src/configmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/otserv.dir/all] Error 2
make: *** [all] Error 2
What can I do? =/
I´m making the updated one, getted here: git clone git://github.com/opentibia/server.git
The how to i getted here: https://github.com/opentibia/server/wiki/Compiling-OTServ-under-Linux-systems
- - - Updated - - -
Plz someoneee =/
- - - Updated - - -
I put this:
#define lua_strlen(L, s)
#define lua__strlen(s)
Cos was with that error:
root@thunderplace:/otserv/github/server/build# make -j2
Scanning dependencies of target otserv
[ 1%] [ 2%] Building CXX object CMakeFiles/otserv.dir/src/configmanager.cpp.o
Building CXX object CMakeFiles/otserv.dir/src/cylinder.cpp.o
/otserv/github/server/src/configmanager.cpp: In member function âstd::vector<std::basic_string<char> > ConfigManager::getIPServerList()â:
/otserv/github/server/src/configmanager.cpp:263:38: error: âlua__strlenâ was not declared in this scope
/otserv/github/server/src/configmanager.cpp: In member function âstd::string ConfigManager::getGlobalString(lua_State*, const string&, const string&) constâ:
/otserv/github/server/src/configmanager.cpp:293:17: error: âlua__strlenâ was not declared in this scope
make[2]: *** [CMakeFiles/otserv.dir/src/configmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/otserv.dir/all] Error 2
make: *** [all] Error 2
Now is with the error:
root@thunderplace:/otserv/github/server/build# make -j2
Scanning dependencies of target otserv
[ 1%] [ 2%] Building CXX object CMakeFiles/otserv.dir/src/configmanager.cpp.o
Building CXX object CMakeFiles/otserv.dir/src/database_driver.cpp.o
/otserv/github/server/src/configmanager.cpp: In member function âstd::vector<std::basic_string<char> > ConfigManager::getIPServerList()â:
/otserv/github/server/src/configmanager.cpp:263:55: error: expected primary-expression before â)â token
/otserv/github/server/src/configmanager.cpp: In member function âstd::string ConfigManager::getGlobalString(lua_State*, const string&, const string&) constâ:
/otserv/github/server/src/configmanager.cpp:293:13: error: expected primary-expression before âintâ
/otserv/github/server/src/configmanager.cpp:293:13: error: expected â)â before âintâ
make[2]: *** [CMakeFiles/otserv.dir/src/configmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/otserv.dir/all] Error 2
make: *** [all] Error 2