• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Compiling tfs debian 7

TiMan

New Member
Joined
Dec 31, 2010
Messages
14
Reaction score
0
Hello
I receive that error when i compiling:
Code:
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2   -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__   -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT creature.o -MD -MP -MF .deps/creature.Tpo -c -o creature.o creature.cpp
chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
chat.cpp:1144:10: warning: converting ‘false’ to pointer type ‘ChatChannel*’ [-Wconversion-null]
configmanager.cpp: In member function ‘bool ConfigManager::load()’:
configmanager.cpp:44:15: error: ‘lua_open’ was not declared in this scope
make[1]: *** [configmanager.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
mv -f .deps/container.Tpo .deps/container.Po
mv -f .deps/chat.Tpo .deps/chat.Po
mv -f .deps/connection.Tpo .deps/connection.Po
mv -f .deps/creature.Tpo .deps/creature.Po
make[1]: Opuszczenie katalogu `/var/serwer/zrodla'
make: *** [all] Błąd 2
On debian 6 i compile that wihout any error
Please someone help me!
 
Code:
||/ Nazwa          Wersja       Architektura Opis
+++-==============-============-============-=================================
ii  liblua5.1-0:i3 5.1.5-4      i386         Shared library for the Lua interp
ii  liblua5.1-0-de 5.1.5-4      i386         Development files for the Lua lan
un  liblua5.1-dev  <brak>                    (brak dostępnego opisu)
ii  liblua5.1-sql- 2.3.0-1      all          Transitional package for lua-sql-
ii  liblua5.1-sql- 2.3.0-1      all          Transitional package for lua-sql-
un  liblua5.1-sql- <brak>                    (brak dostępnego opisu)
ii  liblua5.1-sql- 2.3.0-1      all          Transitional package for lua-sql-
rc  liblua5.2-0:i3 5.2.1-3      i386         Shared library for the Lua interp
ii  liblua50       5.0.3-6      i386         Main interpreter library for the
ii  liblualib50    5.0.3-6      i386         Extension library for the Lua 5.0
un  lua            <brak>                    (brak dostępnego opisu)
ii  lua-dbi-common 0.5+svn78-4  all          DBI library for the Lua language,
ii  lua-dbi-sqlite 0.5+svn78-4  i386         DBI library for the Lua language,
ii  lua-dbi-sqlite 0.5+svn78-4  i386         DBI library for the Lua language,
ii  lua-sql-mysql: 2.3.0-1+b1   i386         luasql library for the Lua langua
ii  lua-sql-mysql- 2.3.0-1+b1   i386         luasql development files for the
ii  lua-sql-sqlite 2.3.0-1+b1   i386         luasql library for the Lua langua
ii  lua-sql-sqlite 2.3.0-1+b1   i386         luasql development files for the
ii  lua5.1         5.1.5-4      i386         Simple, extensible, embeddable pr
un  lua5.1-dbi-com <brak>                    (brak dostępnego opisu)
un  lua5.1-dbi-sql <brak>                    (brak dostępnego opisu)
un  lua5.1-dbi-sql <brak>                    (brak dostępnego opisu)
un  lua5.1-sql-mys <brak>                    (brak dostępnego opisu)
un  lua5.1-sql-mys <brak>                    (brak dostępnego opisu)
un  lua5.1-sql-sql <brak>                    (brak dostępnego opisu)
un  lua5.1-sql-sql <brak>                    (brak dostępnego opisu)
ii  lua5.2         5.2.1-3      i386         Simple, extensible, embeddable pr
un  lua5.2-sql-mys <brak>                    (brak dostępnego opisu)
un  lua5.2-sql-mys <brak>                    (brak dostępnego opisu)
un  lua5.2-sql-sql <brak>                    (brak dostępnego opisu)
un  lua5.2-sql-sql <brak>                    (brak dostępnego opisu)
ii  lua50          5.0.3-6      i386         Small embeddable language with si
 
That's doing nothing;/
Code:
configmanager.cpp: In member function ‘bool ConfigManager::load()’:
configmanager.cpp:44:15: error: ‘lua_open’ was not declared in this scope
cc1plus: all warnings being treated as errors
make[1]: *** [chat.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [configmanager.o] Błąd 1
mv -f .deps/container.Tpo .deps/container.Po
mv -f .deps/connection.Tpo .deps/connection.Po
mv -f .deps/creature.Tpo .deps/creature.Po
make[1]: Opuszczenie katalogu `/var/serwer/czysty'
make: *** [all] Błąd 2
 
nothing
Code:
configmanager.cpp: In member function ‘bool ConfigManager::load()’:
configmanager.cpp:44:15: error: ‘lua_open’ was not declared in this scope
chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
chat.cpp:1144:10: warning: converting ‘false’ to pointer type ‘ChatChannel*’ [-Wconversion-null]
make[1]: *** [configmanager.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
mv -f .deps/depot.Tpo .deps/depot.Po
mv -f .deps/fileloader.Tpo .deps/fileloader.Po
mv -f .deps/dispatcher.Tpo .deps/dispatcher.Po
mv -f .deps/chat.Tpo .deps/chat.Po
make[1]: Opuszczenie katalogu `/var/serwer/czysty'
make: *** [all] Błąd 2

- - - Updated - - -

Refreshh
 
Back
Top