Topic: [Solved] Ошибки при сборке PvPGN 1.99 на debian 7
Добрый день HarpyWar
после процесса конфигурации, запускаю процесс сборки, вываливается ошибка:
[ 57%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/command.o
[ 57%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/command_groups.o
[ 58%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/connection.o
/home/pvpgn/src/bnetd/connection.cpp: In function ‘int pvpgn::bnetd::conn_set_channel(pvpgn::bnetd::t_connection*, const char*)’:
/home/pvpgn/src/bnetd/connection.cpp:2040:192: warning: passing NULL to non-pointer argument 3 of ‘pvpgn::bnetd::t_channel* pvpgn::bnetd::channel_create(const char*, const char*, pvpgn::t_clienttag, int, int, int, int, const char*, const char*, int, int, int, int)’ [-Wconversion-null]
/home/pvpgn/src/bnetd/connection.cpp:2042:192: warning: passing NULL to non-pointer argument 3 of ‘pvpgn::bnetd::t_channel* pvpgn::bnetd::channel_create(const char*, const char*, pvpgn::t_clienttag, int, int, int, int, const char*, const char*, int, int, int, int)’ [-Wconversion-null]
[ 58%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/file_cdb.o
[ 59%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/file.o
[ 59%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/file_plain.o
[ 59%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/friends.o
[ 60%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/game_conv.o
[ 60%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/game.o
[ 61%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/handle_anongame.o
[ 61%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/handle_apireg.o
[ 62%] Building CXX object src/bnetd/CMakeFiles/bnetd.dir/handle_bnet.o
/home/pvpgn/src/bnetd/handle_bnet.cpp: In function ‘int pvpgn::bnetd::_client_motdw3(pvpgn::bnetd::t_connection*, const pvpgn::t_packet*)’:
/home/pvpgn/src/bnetd/handle_bnet.cpp:2756:128: error: ‘errno’ was not declared in this scope
make[2]: *** [src/bnetd/CMakeFiles/bnetd.dir/handle_bnet.o] Error 1
make[1]: *** [src/bnetd/CMakeFiles/bnetd.dir/all] Error 2
make: *** [all] Error 2