Перейти до

Рекомендованные сообщения

  • Відповіді 178
  • Створено
  • Остання відповідь

Top Posters In This Topic

Опубліковано:
Заметил что при обнулении stat у пользователя появился stat.bak

всмысле ?

 

СТГ 2.4 обнулил файл стат ?

Да только думаю никто небудет его намеренно килять и стартовать много раз пока укого нибуть stat слетит.

Опубліковано:
Заметил что при обнулении stat у пользователя появился stat.bak

всмысле ?

 

СТГ 2.4 обнулил файл стат ?

Да только думаю никто небудет его намеренно килять и стартовать много раз пока укого нибуть stat слетит.

Т.е. ты много раз ему делал что-то вроде killall -KILL stargazer пока не поймал слет файла стат?

Опубліковано:
Э... а когда они приблизительно появятся? Пагин для диверта или для ВПН? Ну хотябы приблизительне сроки?

ipq есть, работает у товарища, причем вместе с впн-ом, нужно модуль немного причесать, и выложу. Наверное на выходных сделаю.

Опубліковано:
Т.е. ты много раз ему делал что-то вроде killall -KILL stargazer пока не поймал слет файла стат?

Да но это есть неправильно я так думаю.

Опубліковано:
Т.е. ты много раз ему делал что-то вроде killall -KILL stargazer пока не поймал слет файла стат?

Да но это есть неправильно я так думаю.

Неправильно что:

1. килять так сервер

2. то, что он не записал стат

3. то, что он сделал бэкап?

Опубліковано:
1. килять так сервер

2. то, что он не записал стат

3. то, что он сделал бэкап?

Ненадо килять так сервер это жестоко он должен постоянно работать пока електричество есть и в упсе батарейки несели. :rrr:

 

А то что он сделал бекап это есть гут. :loop:

Опубліковано:

А как там с libipq дела обстоят? что и где теперь правим?

Вообще инфы маловато

Пожелание такое - сперва инфу писать, хоть в двух словах, а потом уж выкладывать

На живой сервак ставить - пока не хочется а эксперементировать несчем

Опубліковано:
намного стабильнее 2.0

чесно.

больше гонялся, усиленнее писался :)

учитывались старые баги, учитывались пожелания форумчан.

Хорошо, если так)

 

На версии 2.016 меня беспокоят 3 бага:

- файлы stat;

- иногда стг отключает кучу юзеров и подключал через минуту обратно;

- стг умирает в конце каждого месяца, когда пытается снять у всех абонплату (хотя она стоит 0 в каждом тарифе, абонплата снимается с помощью КК).

 

Как я понял, Борис решил баг со статом с помощью stat.bak )

А 2 и 3, возможно, баги связаны с маломощностью сервера.

 

Ок, перехожу на СТГ 2.4 в ближайшее время.

 

Хотел бы увидеть модуль для диверта для полного счастья)

Опубліковано:

Решил скомпилить, попробовать, не компилится:

OS 2.6.15-gentoo-r1 x86_64 AMD Athlon 64 X2 Dual Core Processor 3800+

 

# ./build

#############################################################################

Building STG 2.4 for Linux

#############################################################################

Makeing stg_logger.lib

../Makefile.in:74: deps: No such file or directory

g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c stg_logger.cpp

ar rc libstg_logger.a stg_logger.o

ranlib libstg_logger.a

cp stg_logger.h ../../include/

cp libstg_logger.a ../../lib/

Makeing crypto.lib

../Makefile.in:74: deps: No such file or directory

g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c ag_md5.c

g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c blowfish.cpp

ar rc libcrypto.a ag_md5.o blowfish.o

ranlib libcrypto.a

cp ag_md5.h blowfish.h ../../include/

cp libcrypto.a ../../lib/

Makeing common.lib

../Makefile.in:74: deps: No such file or directory

g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c debug.c

g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c stg_error.c

g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c common.cpp

common.cpp: In function `int printfd(const char*, const char*, ...)':

common.cpp:141: error: invalid initializer

common.cpp: In function `int strprintf(std::string*, const char*, ...)':

common.cpp:159: error: invalid initializer

gmake: *** [common.o] Ошибка 1

 

Под 64бита пока никак?

Опубліковано:

А 2 и 3, возможно, баги связаны с маломощностью сервера.

Не мощностях дело, машинка у меня шустрая, и ресурсов свободных хоть еще пару десятков таких сетей держать будет как держит - а баги на лицо!! :)

Опубліковано:
2cristal: я про свою машинку )

Я говорю что такие баги есть ! и от производительности машинки они не зависят ! А баг с умиранием стг в 0:00 первого числа при начислении абонки, по всей видимости вылазяет если внести каке либо изменения в тарифах или изменить тарифы юзерам (юзеру) и после этого не ребутнуть стг - вот тогда в указаный срок оно и умираеть. А если после онного ребутнуть - то вроде умираний не замечено. :)

Опубліковано:

g++ -c user.cpp -g3 -Wall -I ../../include

../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor

../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>':

user.h:80: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor

user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>':

user.h:90: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor

user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>':

user.h:100: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor

user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>':

users.h:69: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor

users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor

users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor

user.cpp: In member function 'void USER::Run()':

user.cpp:646: error: no match for 'operator=' in '((USER*)this)->USER::lastActivityTime = stgTime'

user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]

user_property.h:36: note: USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&)

user.cpp: In member function 'virtual void CHG_CASH_NOTIFIER::Notify(const double&, const double&)':

user.cpp:1116: error: no match for 'operator=' in '((CHG_CASH_NOTIFIER*)this)->CHG_CASH_NOTIFIER::user->USER::lastCashAddTime = stgTime'

user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]

user_property.h:36: note: USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&)

../../include/notifer.h: At global scope:

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<USER_IPS>':

user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = USER_IPS]'

user.cpp:119: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<USER_IPS>' has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<DIR_TRAFF>':

user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = DIR_TRAFF]'

user.cpp:188: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<DIR_TRAFF>' has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<time_t>':

user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]'

user.cpp:191: instantiated from here

../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<time_t>' has virtual functions but non-virtual destructor

 

Все никак не могу понять почему не собирается( есно изза двух ероров, но вчём прикол) на мандрива 2006, хотя поставил виртуалку федоры 3 всё собралось без проблем. :)

Опубліковано:

Ошибки компиляции на FC4

./build
#############################################################################
      Building STG 2.4 for Linux
#############################################################################
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
cp pinger.h ../../include/
cp libstg_pinger.a ../../lib/
Makeing dotconfpp.lib
cp dotconfpp.h mempool.h ../../include/
cp libdotconfpp.a ../../lib/
g++ -c admin.cpp -g3 -Wall -I ../../include -DLINUX
../../include/base_store.h:24: warning: §ў©¤ЎЬclass BASE_STORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
g++ -c admins.cpp -g3 -Wall -I ../../include -DLINUX
../../include/base_store.h:24: warning: §ў©¤ЎЬclass BASE_STORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
g++ -c main.cpp -g3 -Wall -I ../../include -DLINUX
../../include/base_store.h:24: warning: §ў©¤ЎЬclass BASE_STORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/base_plugin.h:30: warning: §ў©¤ЎЬclass BASE_PLUGIN§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ:
user.h:80:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:81: warning: §ў©¤ЎЬclass CHG_PASSIVE_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ:
user.h:90:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:91: warning: §ў©¤ЎЬclass CHG_TARIFF_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ:
user.h:100:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:101: warning: §ў©¤ЎЬclass CHG_CASH_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ:
users.h:69:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:70: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_BEFORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:81: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_AFTER§ў©¤ЎЭ has virtual functions but non-virtual destructor
traffcounter.h:105: warning: §ў©¤ЎЬclass TRF_IP_BEFORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
traffcounter.h:118: warning: §ў©¤ЎЬclass TRF_IP_AFTER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬNOTIFIER_BASE<user_iter>§ў©¤ЎЭ:
traffcounter.h:129:   instantiated from here
../../include/notifer.h:19: warning: §ў©¤ЎЬclass NOTIFIER_BASE<user_iter>§ў©¤ЎЭ has virtual functions but non-virtual destructor
g++ -c curr_ip.cpp -g3 -Wall -I ../../include -DLINUX
g++ -c settings.cpp -g3 -Wall -I ../../include -DLINUX
g++ -c stg_timer.cpp -g3 -Wall -I ../../include -DLINUX
g++ -c tariff2.cpp -g3 -Wall -I ../../include -DLINUX
../../include/base_store.h:24: warning: §ў©¤ЎЬclass BASE_STORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/base_plugin.h:30: warning: §ў©¤ЎЬclass BASE_PLUGIN§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ:
user.h:80:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:81: warning: §ў©¤ЎЬclass CHG_PASSIVE_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ:
user.h:90:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:91: warning: §ў©¤ЎЬclass CHG_TARIFF_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ:
user.h:100:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:101: warning: §ў©¤ЎЬclass CHG_CASH_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ:
users.h:69:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:70: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_BEFORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:81: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_AFTER§ў©¤ЎЭ has virtual functions but non-virtual destructor
g++ -c traffcounter.cpp -g3 -Wall -I ../../include -DLINUX
../../include/base_store.h:24: warning: §ў©¤ЎЬclass BASE_STORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/base_plugin.h:30: warning: §ў©¤ЎЬclass BASE_PLUGIN§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ:
user.h:80:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:81: warning: §ў©¤ЎЬclass CHG_PASSIVE_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ:
user.h:90:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:91: warning: §ў©¤ЎЬclass CHG_TARIFF_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ:
user.h:100:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:101: warning: §ў©¤ЎЬclass CHG_CASH_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ:
users.h:69:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:70: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_BEFORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:81: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_AFTER§ў©¤ЎЭ has virtual functions but non-virtual destructor
traffcounter.h:105: warning: §ў©¤ЎЬclass TRF_IP_BEFORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
traffcounter.h:118: warning: §ў©¤ЎЬclass TRF_IP_AFTER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬNOTIFIER_BASE<user_iter>§ў©¤ЎЭ:
traffcounter.h:129:   instantiated from here
../../include/notifer.h:19: warning: §ў©¤ЎЬclass NOTIFIER_BASE<user_iter>§ў©¤ЎЭ has virtual functions but non-virtual destructor
g++ -c user.cpp -g3 -Wall -I ../../include -DLINUX
../../include/base_store.h:24: warning: §ў©¤ЎЬclass BASE_STORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/base_plugin.h:30: warning: §ў©¤ЎЬclass BASE_PLUGIN§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ:
user.h:80:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<int>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:81: warning: §ў©¤ЎЬclass CHG_PASSIVE_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ:
user.h:90:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<std::string>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:91: warning: §ў©¤ЎЬclass CHG_TARIFF_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ:
user.h:100:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<double>§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.h:101: warning: §ў©¤ЎЬclass CHG_CASH_NOTIFIER§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ:
users.h:69:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<uint32_t>§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:70: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_BEFORE§ў©¤ЎЭ has virtual functions but non-virtual destructor
users.h:81: warning: §ў©¤ЎЬclass PROPERTY_NOTIFER_IP_AFTER§ў©¤ЎЭ has virtual functions but non-virtual destructor
user.cpp: In member function §ў©¤ЎЬvoid USER::Run()§ў©¤ЎЭ:
user.cpp:646: error: no match for §ў©¤ЎЬoperator=§ў©¤ЎЭ in §ў©¤ЎЬ((USER*)this)->USER::lastActivityTime = stgTime§ў©¤ЎЭ
user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]
user_property.h:36: note:                 USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&)
user.cpp: In member function §ў©¤ЎЬvirtual void CHG_CASH_NOTIFIER::Notify(const double&, const double&)§ў©¤ЎЭ:
user.cpp:1116: error: no match for §ў©¤ЎЬoperator=§ў©¤ЎЭ in §ў©¤ЎЬ((CHG_CASH_NOTIFIER*)this)->CHG_CASH_NOTIFIER::user->USER::lastCashAddTime = stgTime§ў©¤ЎЭ
user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]
user_property.h:36: note:                 USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&)
../../include/notifer.h: At global scope:
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<USER_IPS>§ў©¤ЎЭ:
user_property.h:196:   instantiated from §ў©¤ЎЬUSER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = USER_IPS]§ў©¤ЎЭ
user.cpp:119:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<USER_IPS>§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<DIR_TRAFF>§ў©¤ЎЭ:
user_property.h:196:   instantiated from §ў©¤ЎЬUSER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = DIR_TRAFF]§ў©¤ЎЭ
user.cpp:188:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<DIR_TRAFF>§ў©¤ЎЭ has virtual functions but non-virtual destructor
../../include/notifer.h: In instantiation of §ў©¤ЎЬPROPERTY_NOTIFIER_BASE<time_t>§ў©¤ЎЭ:
user_property.h:196:   instantiated from §ў©¤ЎЬUSER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]§ў©¤ЎЭ
user.cpp:191:   instantiated from here
../../include/notifer.h:12: warning: §ў©¤ЎЬclass PROPERTY_NOTIFIER_BASE<time_t>§ў©¤ЎЭ has virtual functions but non-virtual destructor
gmake: *** [user.o] Error 1

Опубліковано:

ТОчно такую же багу отловит на SUSE 10.

На 9.2 всё собралось на ура. Кстати на 10-ке и старая версия не захотела собираться. Видимо это связано с g++ версией. Походу с новыми версиями оно не дружит.

 

Правда у меня возникла другая проблемма.

Всё хорошо, всё работает. Но... почему-то удваивает трафик. Т.е. весь трафик x2. Подозреваю, что считает она его просто сразу на 2-х интерфейсах. А параметр интерфейса то в пользователе упразднили...

Ну и как с этим бороться?

Гость
Эта тема закрыта для публикации сообщений.

×
×
  • Створити нове...