Кто нить собирал на нормальной ОС версии 7.2 x86 iserverd из портов ?
после апдейта с 6.2 на 7.2 все обновилось нормально кроме iserverd ...с конфигами
Код: Выделить всё
root@TA3IK# uname -a
FreeBSD TA3IK.LOCAL.DOMAIN 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #1: Sun Aug 30 09:19:38 EEST 2009 root@TA3IK.LOCAL.DOMAIN:/usr/obj/usr/src/sys/TA3IK i386
Код: Выделить всё
root@TA3IK# cd /usr/ports/net-im/iserverd/
root@TA3IK# make clean
===> Cleaning for iserverd-2.5.5_3
root@TA3IK#
Код: Выделить всё
........
database/ssi_db.cpp:714: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:727: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:727: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:727: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:730: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:735: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp: In function 'BOOL db_ssi_auth_grant(long unsigned int, long unsigned int)':
database/ssi_db.cpp:762: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:765: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:765: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:765: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:769: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp: In function 'void db_ssi_auth_add(long unsigned int, long unsigned int, long unsigned int)':
database/ssi_db.cpp:804: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp: In function 'BOOL db_ssi_get_added(long unsigned int, long unsigned int)':
database/ssi_db.cpp:819: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:819: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:819: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:823: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp:829: warning: deprecated conversion from string constant to 'char*'
database/ssi_db.cpp: In function 'void db_ssi_added_add(long unsigned int, long unsigned int, long unsigned int)':
database/ssi_db.cpp:867: warning: deprecated conversion from string constant to 'char*'
c++ -I. -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -Iinclude/ -I/usr/local/include -I/usr/local/include/libpq -DVAR_DIR=/var/run/iserverd -DBIN_DIR=/usr/local/bin -DETC_DIR=/usr/local/etc/iserverd -DLOG_DIR=/var/log/iserverd -c icqlog/log_alarm.cpp -o icqlog/log_alarm.o
icqlog/log_alarm.cpp: In function 'void alrbufr_print()':
icqlog/log_alarm.cpp:93: warning: deprecated conversion from string constant to 'char*'
icqlog/log_alarm.cpp: In function 'void format_alarm_text(char*)':
icqlog/log_alarm.cpp:115: warning: deprecated conversion from string constant to 'char*'
c++ -I. -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -Iinclude/ -I/usr/local/include -I/usr/local/include/libpq -DVAR_DIR=/var/run/iserverd -DBIN_DIR=/usr/local/bin -DETC_DIR=/usr/local/etc/iserverd -DLOG_DIR=/var/log/iserverd -c icqlog/log_debug.cpp -o icqlog/log_debug.o
icqlog/log_debug.cpp: In function 'void log_alarm_packet(int, Packet&)':
icqlog/log_debug.cpp:51: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:51: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:51: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:53: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:57: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void reopen_logs()':
icqlog/log_debug.cpp:105: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void check_log_size()':
icqlog/log_debug.cpp:179: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void bufr_print()':
icqlog/log_debug.cpp:247: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void format_debug_text(char*)':
icqlog/log_debug.cpp:275: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'BOOL dbghdr(int, char*, char*, int)':
icqlog/log_debug.cpp:306: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void log_debug_packet(int, Packet&)':
icqlog/log_debug.cpp:340: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:340: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:340: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:342: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:346: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void dbg_dump_data(int, const char*, int)':
icqlog/log_debug.cpp:361: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:367: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:371: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:374: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:377: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:381: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:383: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:384: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:393: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:394: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:396: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:400: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp:404: warning: deprecated conversion from string constant to 'char*'
icqlog/log_debug.cpp: In function 'void dbg_print_asc(int, const unsigned char*, int)':
icqlog/log_debug.cpp:416: warning: deprecated conversion from string constant to 'char*'
c++ -I. -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -Iinclude/ -I/usr/local/include -I/usr/local/include/libpq -DVAR_DIR=/var/run/iserverd -DBIN_DIR=/usr/local/bin -DETC_DIR=/usr/local/etc/iserverd -DLOG_DIR=/var/log/iserverd -c icqlog/log_system.cpp -o icqlog/log_system.o
icqlog/log_system.cpp: In function 'void sysbufr_print()':
icqlog/log_system.cpp:92: warning: deprecated conversion from string constant to 'char*'
icqlog/log_system.cpp: In function 'void format_system_text(char*)':
icqlog/log_system.cpp:114: warning: deprecated conversion from string constant to 'char*'
c++ -I. -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -Iinclude/ -I/usr/local/include -I/usr/local/include/libpq -DVAR_DIR=/var/run/iserverd -DBIN_DIR=/usr/local/bin -DETC_DIR=/usr/local/etc/iserverd -DLOG_DIR=/var/log/iserverd -c icqlog/log_users.cpp -o icqlog/log_users.o
icqlog/log_users.cpp: In function 'void usrbufr_print()':
icqlog/log_users.cpp:110: warning: deprecated conversion from string constant to 'char*'
icqlog/log_users.cpp: In function 'void format_users_text(char*)':
icqlog/log_users.cpp:131: warning: deprecated conversion from string constant to 'char*'
c++ -I. -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -Iinclude/ -I/usr/local/include -I/usr/local/include/libpq -DVAR_DIR=/var/run/iserverd -DBIN_DIR=/usr/local/bin -DETC_DIR=/usr/local/etc/iserverd -DLOG_DIR=/var/log/iserverd -c isdcore/main.cpp -o isdcore/main.o
isdcore/main.cpp: In function 'int main(int, char**)':
isdcore/main.cpp:79: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:83: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:84: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:108: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:109: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:110: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:111: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:129: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:136: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:143: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:153: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:162: warning: deprecated conversion from string constant to 'char*'
isdcore/main.cpp:166: warning: deprecated conversion from string constant to 'char*'
c++ -I. -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -Iinclude/ -I/usr/local/include -I/usr/local/include/libpq -DVAR_DIR=/var/run/iserverd -DBIN_DIR=/usr/local/bin -DETC_DIR=/usr/local/etc/iserverd -DLOG_DIR=/var/log/iserverd -L/usr/local/lib -o bin/iserverd system/daemon.o system/lock.o system/signals.o system/slprintf.o system/buffer.o system/talloc.o system/time.o system/icqtime.o system/util.o system/md5.o system/util_file.o system/util_pipe.o system/util_str.o system/util_shm.o system/translate.o system/ps_status.o system/ms_fnmatch.o netlib/udpserver.o netlib/tcpserver.o netlib/interface.o netlib/network.o netlib/icq_addr.o isdcore/v3_proto/proto_handler.o isdcore/v3_proto/make_packet.o isdcore/v3_proto/search.o isdcore/v3_proto/messages.o isdcore/v3_proto/fragment.o isdcore/v3_proto/register.o isdcore/v5_proto/proto_handler.o isdcore/v5_proto/make_packet.o isdcore/v5_proto/meta_user.o isdcore/v5_proto/make_meta.o isdcore/v5_proto/search.o isdcore/v5_proto/messages.o isdcore/v5_proto/register.o isdcore/v5_proto/v5crypt.o isdcore/v7_proto/proto_handler.o isdcore/v7_proto/capabilities.o isdcore/v7_proto/make_packet.o isdcore/v7_proto/aim_util.o isdcore/v7_proto/snac.o isdcore/v7_proto/flap.o isdcore/v7_proto/tlv.o isdcore/v7_proto/snac_families/sn01_generic.o isdcore/v7_proto/snac_families/sn02_location.o isdcore/v7_proto/snac_families/sn03_buddylist.o isdcore/v7_proto/snac_families/sn04_messaging.o isdcore/v7_proto/snac_families/sn05_advert.o isdcore/v7_proto/snac_families/sn06_invitation.o isdcore/v7_proto/snac_families/sn07_admin.o isdcore/v7_proto/snac_families/sn08_popup.o isdcore/v7_proto/snac_families/sn09_bos.o isdcore/v7_proto/snac_families/sn0A_search.o isdcore/v7_proto/snac_families/sn0B_stats.o isdcore/v7_proto/snac_families/sn0C_translate.o isdcore/v7_proto/snac_families/sn0D_chatnvg.o isdcore/v7_proto/snac_families/sn0E_chat.o isdcore/v7_proto/snac_families/sn13_icq_contacts.o isdcore/v7_proto/snac_families/sn15_ext_messages.o isdcore/v7_proto/snac_families/sn17_registration.o isdcore/sys_proto/proto_handler.o config/loadparm.o config/parse.o config/actions/print_tree.o config/actions/parse_tree.o config/actions/actions_publ.o config/actions/y.tab.o config/actions/lex.yy.o isdcore/process.o isdcore/fprocess.o isdcore/process_init.o isdcore/broadcast.o isdcore/packet.o isdcore/sockets-p.o isdcore/sockets-ep.o isdcore/sockets-kq.o isdcore/sprocess.o isdcore/handle.o isdcore/public.o event/epacket.o event/euser.o event/etimer.o event/scheduler.o pactions/actions.o database/online_db.o database/userinfo_db.o database/contacts_db.o database/messages_db.o database/defrag_db.o database/cookies_db.o database/error_db.o database/init_db.o database/ssi_db.o icqlog/log_alarm.o icqlog/log_debug.o icqlog/log_system.o icqlog/log_users.o isdcore/main.o -L/usr/local/lib -L/usr/local/lib -lpq -lm -lfl
system/signals.o(.text+0x205): In function `mySIGSEGVHandler(int)':
: undefined reference to `backtrace'
system/signals.o(.text+0x213): In function `mySIGSEGVHandler(int)':
: undefined reference to `backtrace_symbols'
*** Error code 1
Stop in /usr/ports/net-im/iserverd/work/iserverd-2.5.5.
*** Error code 1
Stop in /usr/ports/net-im/iserverd.
*** Error code 1
Stop in /usr/ports/net-im/iserverd.
root@TA3IK#
были варианты
Код: Выделить всё
cat /etc/make.conf
...
CC=gcc295
CXX=g++295
...
Поправив make.conf к такому состоянию
Код: Выделить всё
#CC=gcc295
#CXX=g++295
Отсебятина. под 500 чел народу начинают долбать када будет аська ...
седня день убил - не понял в чем трабл.
Что понял - gcc295(последние версии iserverd не компилят) линкует тока статически - но бсд 7.2 не дает этого сделать старой версии gcc-шки(тока статик линковка)