• 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 ERROR compile Ubuntu 11.10

Ramallah

~Pepuz~
Joined
Mar 2, 2010
Messages
76
Reaction score
12
./autogen.sh​
root@t:/home/trunk# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'

--------------------------------------------
./configure --enable-mysql --enable-server-diag --enable-root-permission​


checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for ceil... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.6.5... yes (version 2.7.8)
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-mt... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... yes
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.hpp... yes
checking cryptopp/sha.h usability... yes
checking cryptopp/sha.h presence... yes
checking for cryptopp/sha.h... yes
checking cryptopp/md5.h usability... yes
checking cryptopp/md5.h presence... yes
checking for cryptopp/md5.h... yes
checking cryptopp/adler32.h usability... yes
checking cryptopp/adler32.h presence... yes
checking for cryptopp/adler32.h... yes
checking cryptopp/hex.h usability... yes
checking cryptopp/hex.h presence... yes
checking for cryptopp/hex.h... yes
checking cryptopp/base64.h usability... yes
checking cryptopp/base64.h presence... yes
checking for cryptopp/base64.h... yes
checking cryptopp/hmac.h usability... yes
checking cryptopp/hmac.h presence... yes
checking for cryptopp/hmac.h... yes
checking cryptopp/cryptlib.h usability... yes
checking cryptopp/cryptlib.h presence... yes
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for main in -lcrypto... yes
checking for LUA... no
checking lua.hpp usability... yes
checking lua.hpp presence... yes
checking for lua.hpp... yes
checking for main in -llua... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for main in -lmysqlclient... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

theforgottenserver 0.4

Server diagnostics.......... : yes
Login server mode........... : no
OTAdmin protocol............ : no
Root run permission......... : yes
Login server mode........... : no
Home-directory configuration : no
OTServ custom allocator..... : no
Debug build................. : no
Using LuaJIT................ : no

Build with MySQL............ : yes
Build with SQLite........... : no
Build with PostgreSQL....... : no

Configure complete, now you may type './build.sh'.
-------------------------------------------------------------------------
./build.sh​

otserv.cpp:296:9: error: ‘SIGTERM’ was not declared in this scope
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(const string&, Npc*, bool)’:
luascript.cpp:741:23: error: ‘class boost::filesystem3::directory_entry’ has no member named ‘leaf’
luascript.cpp:744:61: error: no match for ‘operator+’ in ‘boost::filesystem3::path::filename() const() + "/"’
mv -f .deps/networkmessage.Tpo .deps/networkmessage.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PER
MISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT outfit.o -MD -MP -MF .deps
/outfit.Tpo -c -o outfit.o outfit.cpp
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
monster.cpp: In member function ‘virtual void Monster::doAttacking(uint32_t)’:
monster.cpp:626:26: error: variable ‘outOfRange’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make[1]: *** [monster.o] Error 1
make[1]: *** [luascript.o] Error 1
mv -f .deps/movement.Tpo .deps/movement.Po
mv -f .deps/monsters.Tpo .deps/monsters.Po
mv -f .deps/map.Tpo .deps/map.Po
game.cpp: In constructor ‘Game::Game()’:
game.cpp:80:22: error: array subscript is above array bounds [-Werror=array-bounds]
mv -f .deps/npc.Tpo .deps/npc.Po
game.h: In member function ‘void Game::globalSave()’:
game.h:623:76: error: array subscript is above array bounds [-Werror=array-bounds]
game.cpp: In member function ‘void Game::prepareGlobalSave()’:
game.cpp:6256:30: error: array subscript is above array bounds [-Werror=array-bounds]
game.cpp:6258:22: error: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors

make[1]: *** [game.o] Error 1
mv -f .deps/outfit.Tpo .deps/outfit.Po
make[1]: Leaving directory `/home/trunk'
make: *** [all] Error 2
root@t:/home/trunk#
------------------------------------------
make​
root@t:/home/trunk# make
make all-am
make[1]: Entering directory `/home/trunk'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PER
MISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT game.o -MD -MP -MF .deps/g
ame.Tpo -c -o game.o game.cpp
game.cpp: In constructor ‘Game::Game()’:
game.cpp:80:22: error: array subscript is above array bounds [-Werror=array-bounds]
game.h: In member function ‘void Game::globalSave()’:
game.h:623:76: error: array subscript is above array bounds [-Werror=array-bounds]
game.cpp: In member function ‘void Game::prepareGlobalSave()’:
game.cpp:6256:30: error: array subscript is above array bounds [-Werror=array-bounds]
game.cpp:6258:22: error: array subscript is above array bounds [-Werror=array-bounds]
cc1plus: all warnings being treated as errors

make[1]: *** [game.o] Error 1
make[1]: Leaving directory `/home/trunk'
make: *** [all] Error 2

- - - Updated - - -

upp
 
Back
Top