Actions
Bug #53
openОшибка сборки на FreeBSD 11
Start date:
01/26/2018
Due date:
% Done:
0%
Estimated time:
Description
F11-STG # env CC=clang CXX=clang++ sh build ############################################################################# Building STG 2.4 for FreeBSD 11.1-RELEASE ############################################################################# Checking CC... found Checking CXX... found Checking endianess... Little Endian Checking for -lexpat... yes Checking for iconv 2nd argument... non-const Checking for fb_config... no Checking for -lfbclient... no Checking for mysql_config... yes Checking for mysql_config --cflags... [-I/usr/local/include/mysql -pipe -fstack-protector -fno-strict-aliasing -g -DNDEBUG] Checking for mysql_config --libs_r... [-L/usr/local/lib/mysql -lmysqlclient_r -pthread -lz -lm] Checking for pg_config... no Checking for -lpq... no Checking for xmlrpc-c-config... no Checking for -lxmlrpc... no Checking for -lnfnetlink... no Checking for -lnetfilter_queue... no gmake -C /usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/../../stglibs gmake[1]: Entering directory '/usr/home/pavel/install/stg-2.409-rc4/stglibs' for LIB in logger.lib crypto.lib common.lib scriptexecuter.lib conffiles.lib pinger.lib dotconfpp.lib smux.lib ; do\ gmake -C $LIB;\ done #########Пропущено############ gmake[2]: Leaving directory '/usr/home/pavel/install/stg-2.409-rc4/stglibs/crypto.lib' gmake[2]: Entering directory '/usr/home/pavel/install/stg-2.409-rc4/stglibs/common.lib' clang++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DFREE_BSD5 -DSTG_TIME -c common.cpp common.cpp:240:30: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] sprintf(str, "%lld", a); ~~~~ ^ %ld 1 warning generated. #########Пропущено############ clang -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -I ./include/stg -DNDEBUG -DFREE_BSD5 -DSTG_TIME -c OBJECT_IDENTIFIER.c OBJECT_IDENTIFIER.c:162:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(v & (-1 << CHAR_BIT)) { ~~ ^ 1 warning generated. #########Пропущено############ gmake[2]: Leaving directory '/usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/plugins/other/ping' gmake -C other/rscript gmake[2]: Entering directory '/usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/plugins/other/rscript' clang++ -c rscript.cpp -I/usr/local/include -DARCH_LE -fPIC -DNDEBUG -DFREE_BSD5 -I /usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/../../include -I ../../../../. ./stglibs/common.lib/include -I ../../../../../stglibs/crypto.lib/include -I ../../../../../stglibs/logger.lib/include -I ../../../../../stglibs/scriptexecuter.lib/include -I /usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/../../include -DNDEBUG -DFREE_BSD5 In file included from rscript.cpp:25: In file included from ./send_functor.h:36: /usr/include/netinet/ip.h:69:17: error: field has incomplete type 'struct in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:69:9: note: forward declaration of 'in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:69:24: error: field has incomplete type 'struct in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:69:9: note: forward declaration of 'in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:181:19: error: field has incomplete type 'struct in_addr' struct in_addr ipt_addr; ^ /usr/include/netinet/ip.h:69:9: note: forward declaration of 'in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:216:17: error: field has incomplete type 'struct in_addr' struct in_addr ippseudo_src; /* source internet address */ ^ /usr/include/netinet/ip.h:69:9: note: forward declaration of 'in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:217:17: error: field has incomplete type 'struct in_addr' struct in_addr ippseudo_dst; /* destination internet address */ ^ /usr/include/netinet/ip.h:69:9: note: forward declaration of 'in_addr' struct in_addr ip_src,ip_dst; /* source and dest address */ ^ In file included from rscript.cpp:25: ./send_functor.h:47:28: error: variable has incomplete type 'struct sockaddr_in' struct sockaddr_in sendAddr; ^ ./send_functor.h:47:16: note: forward declaration of 'sockaddr_in' struct sockaddr_in sendAddr; ^ 6 errors generated. gmake[2]: *** [deps:38: rscript.o] Error 1 gmake[2]: Leaving directory '/usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/plugins/other/rscript' gmake[1]: *** [Makefile:13: other/rscript] Error 2 gmake[1]: Leaving directory '/usr/home/pavel/install/stg-2.409-rc4/projects/stargazer/plugins' gmake: *** [Makefile:64: plugins] Error 2 F11-STG #
No data to display
Actions