• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling ...

Mitsuri

日本人だ
Joined
Sep 14, 2008
Messages
34
Reaction score
1
Location
茅ヶ崎「神奈川県」, Japan
xx:/home/xx/xx/Sources/Compile# make
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -Werror -Wall -O1 -D_THREAD_SAFE -D_REENTRANT -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -c spawn.cpp
In file included from itemloader.h:24,
from items.h:27,
from item.h:26,
from tile.h:27,
from spawn.h:25,
from spawn.cpp:22:
fileloader.h: In member function 'bool PropStream::GET_STRING(std::string&)':
fileloader.h:249: error: 'memcpy' was not declared in this scope
fileloader.h: In member function 'bool PropStream::GET_LSTRING(std::string&)':
fileloader.h:269: error: 'memcpy' was not declared in this scope
fileloader.h: In member function 'bool PropStream::GET_NSTRING(short unsigned int, std::string&)':
fileloader.h:283: error: 'memcpy' was not declared in this scope
fileloader.h: In constructor 'PropWriteStream::propWriteStream()':
fileloader.h:313: error: 'memset' was not declared in this scope
fileloader.h: In member function 'void PropWriteStream::ADD_TYPE(T*)':
fileloader.h:334: error: there are no arguments to 'memcpy' that depend on a template parameter, so a declaration of 'memcpy' must be available
fileloader.h:334: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
fileloader.h: In member function 'void PropWriteStream::ADD_STRING(const std::string&)':
fileloader.h:367: error: 'memcpy' was not declared in this scope
fileloader.h: In member function 'void PropWriteStream::ADD_LSTRING(const std::string&)':
fileloader.h:383: error: 'memcpy' was not declared in this scope
In file included from item.h:26,
from tile.h:27,
from spawn.h:25,
from spawn.cpp:22:
items.h: In constructor 'Abilities::Abilities()':
items.h:66: error: 'memset' was not declared in this scope
In file included from protocolgame.h:25,
from player.h:32,
from game.h:32,
from spawn.cpp:23:
protocol.h: In member function 'void Protocol::setXTEAKey(const uint32_t*)':
protocol.h:74: error: 'memcpy' was not declared in this scope
In file included from scheduler.h:31,
from game.h:35,
from spawn.cpp:23:
tasks.h: At global scope:
tasks.h:72: error: 'OTSYS_THREAD_RETURN' does not name a type
In file included from game.h:35,
from spawn.cpp:23:
scheduler.h:101: error: 'OTSYS_THREAD_RETURN' does not name a type
make: *** [spawn.o] Błąd 1

When I was compiling it first time, nothing happened, they just compiled without errors (except sqlite, but I fixed that). When I re-installed debian, these errors appeared.
 
Back
Top