La Paste
Create new paste
Pastes Archive
2025-12-26 18:20:51
copy
raw
download
/home/nightfly/stg-2.409/projects/rscriptd# ./build ############################################################################# Building rscriptd for Linux 6.17.0-8-generic ############################################################################# Checking CC... found Checking CXX... found Checking AR... found Checking RANLIB... found Checking endianess... Little Endian Checking for iconv 2nd argument... non-const make -C /home/nightfly/stg-2.409/projects/rscriptd/../../stglibs make[1]: Entering directory '/home/nightfly/stg-2.409/stglibs' for LIB in logger.lib crypto.lib common.lib scriptexecuter.lib conffiles.lib ; do\ make -C $LIB;\ done make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/logger.lib' g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c logger.cpp ar rc libstglogger.a logger.o ranlib libstglogger.a make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/logger.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/crypto.lib' gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c ag_md5.c gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c blowfish.c g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c bfstream.cpp ar rc libstgcrypto.a ag_md5.o blowfish.o bfstream.o ranlib libstgcrypto.a make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/crypto.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/common.lib' g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c common.cpp common.cpp: In function ‘const char* IntToKMG(int64_t, int)’: common.cpp:240:26: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 240 | sprintf(str, "%lld", a); | ~~~^ ~ | | | | | int64_t {aka long int} | long long int | %ld common.cpp: In function ‘const char* LogDate(time_t)’: common.cpp:596:23: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 18 [-Wformat-truncation=] 596 | snprintf(s, 20, "%d-%s%d-%s%d %s%d:%s%d:%s%d", | ^~ common.cpp:596:17: note: directive argument in the range [-2147483647, 2147483647] 596 | snprintf(s, 20, "%d-%s%d-%s%d %s%d:%s%d:%s%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.cpp:596:9: note: ‘snprintf’ output 12 or more bytes (assuming 32) into a destination of size 20 596 | snprintf(s, 20, "%d-%s%d-%s%d %s%d:%s%d:%s%d", | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 597 | tt->tm_year + 1900, | ~~~~~~~~~~~~~~~~~~~ 598 | tt->tm_mon + 1 < 10 ? "0" : "", tt->tm_mon + 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 599 | tt->tm_mday < 10 ? "0" : "", tt->tm_mday, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 600 | tt->tm_hour < 10 ? "0" : "", tt->tm_hour, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 601 | tt->tm_min < 10 ? "0" : "", tt->tm_min, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 602 | tt->tm_sec < 10 ? "0" : "", tt->tm_sec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c strptime.cpp ar rc libstgcommon.a common.o strptime.o ranlib libstgcommon.a make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/common.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/scriptexecuter.lib' gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c scriptexecuter.c scriptexecuter.c: In function ‘Executer’: scriptexecuter.c:88:18: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 88 | newsa.sa_handler = CatchUSR1Executer; | ^ scriptexecuter.c:25:13: note: ‘CatchUSR1Executer’ declared here 25 | static void CatchUSR1Executer() | ^~~~~~~~~~~~~~~~~ In file included from scriptexecuter.c:9: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make[2]: *** [deps:2: scriptexecuter.o] Error 1 make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/scriptexecuter.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/conffiles.lib' g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c conffiles.cpp ar rc libstgconffiles.a conffiles.o ranlib libstgconffiles.a make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/conffiles.lib' make[1]: Leaving directory '/home/nightfly/stg-2.409/stglibs' make -C /home/nightfly/stg-2.409/projects/rscriptd/../../stglibs make[1]: Entering directory '/home/nightfly/stg-2.409/stglibs' for LIB in logger.lib crypto.lib common.lib scriptexecuter.lib conffiles.lib ; do\ make -C $LIB;\ done make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/logger.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/logger.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/crypto.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/crypto.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/common.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/common.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/scriptexecuter.lib' gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c scriptexecuter.c scriptexecuter.c: In function ‘Executer’: scriptexecuter.c:88:18: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 88 | newsa.sa_handler = CatchUSR1Executer; | ^ scriptexecuter.c:25:13: note: ‘CatchUSR1Executer’ declared here 25 | static void CatchUSR1Executer() | ^~~~~~~~~~~~~~~~~ In file included from scriptexecuter.c:9: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make[2]: *** [deps:2: scriptexecuter.o] Error 1 make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/scriptexecuter.lib' make[2]: Entering directory '/home/nightfly/stg-2.409/stglibs/conffiles.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/nightfly/stg-2.409/stglibs/conffiles.lib' make[1]: Leaving directory '/home/nightfly/stg-2.409/stglibs' g++ -I/usr/local/include -DARCH_LE -DNDEBUG -DLINUX -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/conffiles.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/crypto.lib/include -I ../../stglibs/common.lib/include -I ../../include -c main.cpp In file included from main.cpp:48: listener.h:57:35: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 57 | class IsNotTimedOut : public std::unary_function<const AliveData &, bool> { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/bits/stl_tree.h:67, from /usr/include/c++/15/set:64, from main.cpp:41: /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ listener.h:134:36: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 134 | class DisconnectUser : public std::unary_function<const UserData &, void> { | ^~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ g++ -I/usr/local/include -DARCH_LE -DNDEBUG -DLINUX -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/conffiles.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/crypto.lib/include -I ../../stglibs/common.lib/include -I ../../include -c listener.cpp In file included from listener.cpp:39: listener.h:57:35: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 57 | class IsNotTimedOut : public std::unary_function<const AliveData &, bool> { | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/15/string:51, from /usr/include/c++/15/bits/locale_classes.h:42, from /usr/include/c++/15/bits/ios_base.h:43, from /usr/include/c++/15/ios:46, from /usr/include/c++/15/istream:42, from /usr/include/c++/15/sstream:42, from listener.cpp:33: /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ listener.h:134:36: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 134 | class DisconnectUser : public std::unary_function<const UserData &, void> { | ^~~~~~~~~~~~~~ /usr/include/c++/15/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ g++ -I/usr/local/include -DARCH_LE -DNDEBUG -DLINUX -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/conffiles.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/crypto.lib/include -I ../../stglibs/common.lib/include -I ../../include -c pidfile.cpp g++ main.o listener.o pidfile.o -L/usr/local/lib -Wl,-E -L ../../stglibs/scriptexecuter.lib -L ../../stglibs/conffiles.lib -L ../../stglibs/logger.lib -L ../../stglibs/crypto.lib -L ../../stglibs/common.lib -lstgscriptexecuter -lstgconffiles -lstglogger -lstgcrypto -lstgcommon -lpthread -o rscriptd /usr/bin/ld: cannot find -lstgscriptexecuter: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:44: rscriptd] Error 1
↑