itur 0 Posted 2011-01-04 18:57:52 Share Posted 2011-01-04 18:57:52 Здравсвуйте! Не могу собрать STG под FreeBSD 8.1 # uname -r 8.1-RELEASE библиотеку libexpat поставил. Далее в build подправил case $release in 4) OS=bsd;; 5) OS=bsd5;; 6) OS=bsd5;; 7) OS=bsd7;; 8) OS=bsd7;; *) OS=unknown;; Затем # ./build ############################################################################# Building STG 2.4 for FreeBSD 8 ############################################################################# Makeing stg_logger.lib cp stg_logger.h ../../include/ cp libstg_logger.a ../../lib/ Makeing crypto.lib cp ag_md5.h blowfish.h ../../include/ cp libcrypto.a ../../lib/ Makeing common.lib g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c common.cpp ar rc libstg_common.a debug.o stg_error.o common.o ranlib libstg_common.a cp debug.h stg_error.h common.h ../../include/ cp libstg_common.a ../../lib/ Makeing conffiles.lib cp conffiles.h ../../include/ cp libconffiles.a ../../lib/ Makeing hostallow.lib cp hostallow.h ../../include/ cp libhostallow.a ../../lib/ Makeing pinger.lib g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c pinger.cpp In file included from pinger.h:20, from pinger.cpp:17: /usr/include/netinet/ip_icmp.h:109: error: field 'idi_ip' has incomplete type pinger.cpp: In member function 'void STG_PINGER::PrintAllIP()': pinger.cpp:191: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type 'time_t' gmake: *** [pinger.o] Ошибка 1 и вылетает в ошибку. Link to post Share on other sites
Mobil 68 Posted 2011-01-04 19:49:54 Share Posted 2011-01-04 19:49:54 Обновитесь до FreeBSD 8.2 Link to post Share on other sites
itur 0 Posted 2011-01-05 00:04:42 Author Share Posted 2011-01-05 00:04:42 Обновитесь до FreeBSD 8.2 Установил с нуля 8.2 build вылетает в ошибку /usr/include/netinet/ip_icmp.h:109: error: field 'idi_ip' has incomplete type pinger.cpp: In member function 'void STG_PINGER::PrintAllIP()': pinger.cpp:191: warning: format '%9lu' expects type 'long unsigned int', but argument 3 has type 'time_t' gmake: *** [pinger.o] Error 1 Link to post Share on other sites
madf 279 Posted 2011-01-05 08:46:29 Share Posted 2011-01-05 08:46:29 Здравсвуйте! Не могу собрать STG под FreeBSD 8.1 Какая версия STG? Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now