fito@fitorey:~/Documents/otserver/3777/src$ cmake ..
-- MySQL Include dir: /usr/include/mysql library dir: /usr/lib/x86_64-linux-gnu
-- MySQL client libraries: /usr/lib/x86_64-linux-gnu/libmysqlclient.so;-ldl
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fito/Documents/otserver/3777/src
fito@fitorey:~/Documents/otserver/3777/src$ make -j$(grep processor /proc/cpuinfo | wc -l)
[ 5%] Building CXX object CMakeFiles/theforgottenserver.dir/actions.cpp.o
[ 5%] Building CXX object CMakeFiles/theforgottenserver.dir/admin.cpp.o
[ 5%] Building CXX object CMakeFiles/theforgottenserver.dir/allocator.cpp.o
[ 5%] Building CXX object CMakeFiles/theforgottenserver.dir/baseevents.cpp.o
[ 6%] Building CXX object CMakeFiles/theforgottenserver.dir/beds.cpp.o
[ 7%] Building CXX object CMakeFiles/theforgottenserver.dir/chat.cpp.o
In file included from /usr/include/boost/bind.hpp:30,
from /home/fito/Documents/otserver/3777/src/otpch.h:35,
from /home/fito/Documents/otserver/3777/src/baseevents.cpp:17:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/bind.hpp:30,
from /home/fito/Documents/otserver/3777/src/otpch.h:35,
from /home/fito/Documents/otserver/3777/src/actions.cpp:17:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/bind.hpp:30,
from /home/fito/Documents/otserver/3777/src/otpch.h:35,
from /home/fito/Documents/otserver/3777/src/beds.cpp:17:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/bind.hpp:30,
from /home/fito/Documents/otserver/3777/src/otpch.h:35,
from /home/fito/Documents/otserver/3777/src/chat.cpp:17:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /home/fito/Documents/otserver/3777/src/baseevents.h:20,
from /home/fito/Documents/otserver/3777/src/actions.h:20,
from /home/fito/Documents/otserver/3777/src/actions.cpp:20:
/home/fito/Documents/otserver/3777/src/otsystem.h: In function ‘int64_t OTSYS_TIME()’:
/home/fito/Documents/otserver/3777/src/otsystem.h:105:9: error: ‘timeb’ was not declared in this scope; did you mean ‘timex’?
105 | timeb t;
| ^~~~~
| timex
/home/fito/Documents/otserver/3777/src/otsystem.h:106:16: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
106 | ftime(&t);
| ^
| tm
/home/fito/Documents/otserver/3777/src/otsystem.h:106:9: error: ‘ftime’ was not declared in this scope; did you mean ‘time’?
106 | ftime(&t);
| ^~~~~
| time
In file included from /home/fito/Documents/otserver/3777/src/chat.h:20,
from /home/fito/Documents/otserver/3777/src/chat.cpp:18:
/home/fito/Documents/otserver/3777/src/otsystem.h: In function ‘int64_t OTSYS_TIME()’:
/home/fito/Documents/otserver/3777/src/otsystem.h:105:9: error: ‘timeb’ was not declared in this scope; did you mean ‘timex’?
105 | timeb t;
| ^~~~~
| timex
/home/fito/Documents/otserver/3777/src/otsystem.h:106:16: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
106 | ftime(&t);
| ^
| tm
/home/fito/Documents/otserver/3777/src/otsystem.h:106:9: error: ‘ftime’ was not declared in this scope; did you mean ‘time’?
106 | ftime(&t);
| ^~~~~
| time
In file included from /home/fito/Documents/otserver/3777/src/item.h:20,
from /home/fito/Documents/otserver/3777/src/beds.h:20,
from /home/fito/Documents/otserver/3777/src/beds.cpp:19:
/home/fito/Documents/otserver/3777/src/otsystem.h: In function ‘int64_t OTSYS_TIME()’:
/home/fito/Documents/otserver/3777/src/otsystem.h:105:9: error: ‘timeb’ was not declared in this scope; did you mean ‘timex’?
105 | timeb t;
| ^~~~~
| timex
/home/fito/Documents/otserver/3777/src/otsystem.h:106:16: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
106 | ftime(&t);
| ^
| tm
In file included from /home/fito/Documents/otserver/3777/src/baseevents.h:20,
from /home/fito/Documents/otserver/3777/src/baseevents.cpp:20:
/home/fito/Documents/otserver/3777/src/otsystem.h: In function ‘int64_t OTSYS_TIME()’:
/home/fito/Documents/otserver/3777/src/otsystem.h:105:9: error: ‘timeb’ was not declared in this scope; did you mean ‘timex’?
105 | timeb t;
| ^~~~~
| timex
/home/fito/Documents/otserver/3777/src/otsystem.h:106:9: error: ‘ftime’ was not declared in this scope; did you mean ‘time’?
106 | ftime(&t);
| ^~~~~
| time
/home/fito/Documents/otserver/3777/src/otsystem.h:106:16: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
106 | ftime(&t);
| ^
| tm
/home/fito/Documents/otserver/3777/src/otsystem.h:106:9: error: ‘ftime’ was not declared in this scope; did you mean ‘time’?
106 | ftime(&t);
| ^~~~~
| time
In file included from /home/fito/Documents/otserver/3777/src/creature.h:28,
from /home/fito/Documents/otserver/3777/src/player.h:23,
from /home/fito/Documents/otserver/3777/src/actions.cpp:23:
/home/fito/Documents/otserver/3777/src/map.h: At global scope:
/home/fito/Documents/otserver/3777/src/map.h:81:50: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
81 | template<class T> class lessPointer: public std::binary_function<T*, T*, bool>
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:37,
from /usr/include/c++/12/memory:76,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:25,
from /usr/include/unicode/ucnv.h:52,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:812,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /home/fito/Documents/otserver/3777/src/otpch.h:28:
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /home/fito/Documents/otserver/3777/src/creature.h:28,
from /home/fito/Documents/otserver/3777/src/player.h:23,
from /home/fito/Documents/otserver/3777/src/party.h:20,
from /home/fito/Documents/otserver/3777/src/chat.h:24:
/home/fito/Documents/otserver/3777/src/map.h: At global scope:
/home/fito/Documents/otserver/3777/src/map.h:81:50: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
81 | template<class T> class lessPointer: public std::binary_function<T*, T*, bool>
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:37,
from /usr/include/c++/12/memory:76,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:25,
from /usr/include/unicode/ucnv.h:52,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:812,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /home/fito/Documents/otserver/3777/src/otpch.h:28:
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /home/fito/Documents/otserver/3777/src/creature.h:28,
from /home/fito/Documents/otserver/3777/src/player.h:23,
from /home/fito/Documents/otserver/3777/src/house.h:27,
from /home/fito/Documents/otserver/3777/src/beds.cpp:20:
/home/fito/Documents/otserver/3777/src/map.h: At global scope:
/home/fito/Documents/otserver/3777/src/map.h:81:50: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
81 | template<class T> class lessPointer: public std::binary_function<T*, T*, bool>
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:37,
from /usr/include/c++/12/memory:76,
from /usr/include/unicode/localpointer.h:45,
from /usr/include/unicode/uenum.h:25,
from /usr/include/unicode/ucnv.h:52,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:812,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from /home/fito/Documents/otserver/3777/src/otpch.h:28:
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /home/fito/Documents/otserver/3777/src/game.h:24,
from /home/fito/Documents/otserver/3777/src/actions.cpp:30:
/home/fito/Documents/otserver/3777/src/scheduler.h:52:30: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
52 | class lessTask : public std::binary_function<SchedulerTask*&, SchedulerTask*&, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /home/fito/Documents/otserver/3777/src/game.h:24,
from /home/fito/Documents/otserver/3777/src/chat.cpp:25:
/home/fito/Documents/otserver/3777/src/scheduler.h:52:30: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
52 | class lessTask : public std::binary_function<SchedulerTask*&, SchedulerTask*&, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
In file included from /home/fito/Documents/otserver/3777/src/game.h:24,
from /home/fito/Documents/otserver/3777/src/beds.cpp:25:
/home/fito/Documents/otserver/3777/src/scheduler.h:52:30: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
52 | class lessTask : public std::binary_function<SchedulerTask*&, SchedulerTask*&, bool>
| ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/stl_function.h:131:12: note: declared here
131 | struct binary_function
| ^~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/theforgottenserver.dir/build.make:118: CMakeFiles/theforgottenserver.dir/baseevents.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/theforgottenserver.dir/build.make:132: CMakeFiles/theforgottenserver.dir/beds.cpp.o] Error 1
make[2]: *** [CMakeFiles/theforgottenserver.dir/build.make:146: CMakeFiles/theforgottenserver.dir/chat.cpp.o] Error 1
make[2]: *** [CMakeFiles/theforgottenserver.dir/build.make:76: CMakeFiles/theforgottenserver.dir/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/theforgottenserver.dir/all] Error 2
make: *** [Makefile:91: all] Error 2