Перейти до

Stg-2.405.9.8 + Asplinux 14


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

Подскажите плиз, в чем проблема

#############################################################################
      Building STG 2.4 for Linux
#############################################################################
Checking for -lexpat... yes
Checking for -lfbclient... no
Checking for -lmysqlclient... no
Makefile:136: deps: Нет такого файла или каталога
gmake -C /tmp/stg-2.405.9.8/projects/stargazer/../../stglibs includes
gmake[1]: Entering directory `/tmp/stg-2.405.9.8/stglibs'
gmake includes -C stg_logger.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'
cp -p stg_logger.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake includes -C stg_locker.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'
cp -p stg_locker.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake includes -C crypto.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/crypto.lib'
cp -p ag_md5.h blowfish.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/crypto.lib'
gmake includes -C common.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/common.lib'
cp -p debug.h stg_error.h common.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/common.lib'
gmake includes -C script_executer.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/script_executer.lib'
cp -p script_executer.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/script_executer.lib'
gmake includes -C conffiles.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/conffiles.lib'
cp -p conffiles.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/conffiles.lib'
gmake includes -C hostallow.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/hostallow.lib'
cp -p hostallow.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/hostallow.lib'
gmake includes -C pinger.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/pinger.lib'
cp -p pinger.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/pinger.lib'
gmake includes -C dotconfpp.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'
cp -p dotconfpp.h mempool.h /tmp/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/tmp/stg-2.405.9.8/stglibs'
gmake -C /tmp/stg-2.405.9.8/projects/stargazer/../../stglibs
gmake[1]: Entering directory `/tmp/stg-2.405.9.8/stglibs'
gmake  -C stg_logger.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_logger.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_logger.so stg_logger.o  -o libstg_logger.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libstg_logger.a stg_logger.o
ranlib libstg_logger.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake  -C stg_locker.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_locker.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_locker.so stg_locker.o  -o libstg_locker.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libstg_locker.a stg_locker.o
ranlib libstg_locker.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake  -C crypto.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/crypto.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/crypto.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/crypto.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c ag_md5.c
ag_md5.c: In function ‘char* libshadow_md5_crypt(const char*, const char*)’:
ag_md5.c:324: предупреждение: deprecated conversion from string constant to ‘char*’
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c blowfish.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_crypto.so ag_md5.o blowfish.o  -o libstg_crypto.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libstg_crypto.a ag_md5.o blowfish.o
ranlib libstg_crypto.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/crypto.lib'
gmake  -C common.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/common.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/common.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/common.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c debug.c
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_error.c
stg_error.c: In function ‘char* GetErrorString(RESULT_DATA)’:
stg_error.c:30: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:36: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:41: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:46: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:51: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:56: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:61: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:66: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:71: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:76: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:81: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:91: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:96: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:101: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:106: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:111: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:116: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:121: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:127: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:132: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:137: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:142: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:148: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:153: предупреждение: deprecated conversion from string constant to ‘char*’
stg_error.c:158: предупреждение: deprecated conversion from string constant to ‘char*’
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c common.cpp
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c stg_strptime.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_common.so debug.o stg_error.o common.o stg_strptime.o -lstg_crypto -o libstg_common.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libstg_common.a debug.o stg_error.o common.o stg_strptime.o
ranlib libstg_common.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/common.lib'
gmake  -C script_executer.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/script_executer.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/script_executer.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/script_executer.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c script_executer.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libscript_executer.so script_executer.o  -o libscript_executer.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libscript_executer.a script_executer.o
ranlib libscript_executer.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/script_executer.lib'
gmake  -C conffiles.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/conffiles.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/conffiles.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/conffiles.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c conffiles.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libconffiles.so conffiles.o  -o libconffiles.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libconffiles.a conffiles.o
ranlib libconffiles.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/conffiles.lib'
gmake  -C hostallow.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/hostallow.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/hostallow.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/hostallow.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c hostallow.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libhostallow.so hostallow.o  -o libhostallow.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libhostallow.a hostallow.o
ranlib libhostallow.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/hostallow.lib'
gmake  -C pinger.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/pinger.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/pinger.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/pinger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c pinger.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_pinger.so pinger.o  -o libstg_pinger.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libstg_pinger.a pinger.o
ranlib libstg_pinger.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/pinger.lib'
gmake  -C dotconfpp.lib
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c dotconfpp.cpp
g++ -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c mempool.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libdotconfpp.so dotconfpp.o mempool.o  -o libdotconfpp.so -L /tmp/stg-2.405.9.8/projects/stargazer/../../lib
ar rc libdotconfpp.a dotconfpp.o mempool.o
ranlib libdotconfpp.a
cp *.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /tmp/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/tmp/stg-2.405.9.8/stglibs'
gmake -C /tmp/stg-2.405.9.8/projects/stargazer/plugins
gmake[1]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins'
gmake  -C authorization/ao
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
g++ -c ao.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ao.o /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lstg_common -o mod_auth_ao.so
ln -fs "`pwd`/mod_auth_ao.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ao.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake  -C authorization/inetaccess
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
g++ -c inetaccess.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ inetaccess.o /usr/lib/libpthread.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_auth_ia.so
ln -fs "`pwd`/mod_auth_ia.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ia.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake  -C configuration/sgconfig
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
g++ -c stgconfig.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c rsconf.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c configproto.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
parser.cpp: In member function ‘virtual int PARSER_CHG_USER::ParseStart(void*, const char*, const char**)’:
parser.cpp:729: предупреждение: ‘creditExpire’, возможно, используется без инициализации в данной функции
g++ -c parser_tariff.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser_admin.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
parser_admin.cpp: In member function ‘virtual void PARSER_CHG_ADMIN::CreateAnswer()’:
parser_admin.cpp:242: предупреждение: ‘p’, возможно, используется без инициализации в данной функции
g++ stgconfig.o rsconf.o configproto.o parser.o parser_tariff.o parser_admin.o /usr/lib/libpthread.so /usr/lib/libexpat.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_logger.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lexpat -lstg_common -lstg_logger -o mod_conf_sg.so
ln -fs "`pwd`/mod_conf_sg.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_conf_sg.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake  -C other/ping
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
g++ -c ping.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ping.o /usr/lib/libpthread.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_pinger.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_pinger -lstg_common -o mod_ping.so
ln -fs "`pwd`/mod_ping.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_ping.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake  -C other/rscript
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
g++ -c rscript.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ rscript.o /usr/lib/libpthread.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_remote_script.so
ln -fs "`pwd`/mod_remote_script.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_remote_script.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake  -C other/radius
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
g++ -c radius.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
radius.cpp: In member function ‘int RADIUS::ProcessData(RAD_PACKET*)’:
radius.cpp:441: предупреждение: неиспользуемая переменная ‘addr’
g++ radius.o /usr/lib/libpthread.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_radius.so
ln -fs "`pwd`/mod_radius.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_radius.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake  -C store/files
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'
g++ -c file_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
/tmp/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:
/tmp/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:243: предупреждение: ‘m’, возможно, используется без инициализации в данной функции
file_store.cpp: In member function ‘virtual int FILES_STORE::GetMessageHdrs(std::vector<STG_MSG_HDR, std::allocator<STG_MSG_HDR> >*, const std::string&) const’:
file_store.cpp:1948: предупреждение: ‘id’, возможно, используется без инициализации в данной функции
g++ file_store.o /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libconffiles.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lconffiles -lstg_common -o mod_store_files.so
ln -fs "`pwd`/mod_store_files.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_store_files.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake  -C capture/ether_linux
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
g++ -c ether_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ether_cap.o /usr/lib/libpthread.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_cap_ether.so
ln -fs "`pwd`/mod_cap_ether.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ether.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake  -C capture/ipq_linux
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
g++ -c ipq_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
In file included from ipq_cap.cpp:2:
/usr/include/linux/netfilter.h:45: ошибка: поле ‘in’ имеет неполный тип
/usr/include/linux/netfilter.h:46: ошибка: поле ‘in6’ имеет неполный тип
gmake[2]: *** [ipq_cap.o] Ошибка 1
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[1]: *** [capture/ipq_linux] Ошибка 2
gmake[1]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins'
gmake: *** [plugins] Ошибка 2

Ссылка на сообщение
Поделиться на других сайтах

Поиск по форуму дал такое решение:

добавить #include <netinet/in.h> перед #include <linux/netfilter.h> в файле ipq_cap.cpp

Помогло, но появилась другая ошибка

gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[2]: Entering directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
g++ -c ipq_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c libipq.c -O2 -I/usr/local/include -Wall -fPIC -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
libipq.c:86: предупреждение: deprecated conversion from string constant to ‘char*’
g++ ipq_cap.o libipq.o /usr/lib/libpthread.so /tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/tmp/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_common -o mod_cap_ipq.so
ln -fs "`pwd`/mod_cap_ipq.so" /tmp/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ipq.so
gmake[2]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[1]: Leaving directory `/tmp/stg-2.405.9.8/projects/stargazer/plugins'
g++ -c admin.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c admins.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c main.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c curr_ip.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c settings.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c stg_timer.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c tariff.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c tariffs.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c traffcounter.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c user.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
user.cpp:1364:11: warning: #warning "TODO: gcc v. 4.x generate ICE on x86_64"
user.cpp:1452:23: warning: #warning "TODO: gcc v. 4.x generate ICE on x86_64"
/tmp/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:
/tmp/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:243: предупреждение: ‘m’, возможно, используется без инициализации в данной функции
g++ -c user_property.cpp -O2 -I/usr/local/include -Wall -I /tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
In file included from admin.h:46,
                from user_property.h:22,
                from user_property.cpp:1:
/tmp/stg-2.405.9.8/projects/stargazer/../../include/admin_conf.h: In constructor ‘ADMIN_CONF::ADMIN_CONF()’:
/tmp/stg-2.405.9.8/projects/stargazer/../../include/admin_conf.h:32: ошибка: нет декларации ‘memset’ в этой области видимости
gmake: *** [user_property.o] Ошибка 1

 

Проблема решилась файлом admin_conf.h из версии stg-2.4-2009.03.05-09.41.01

Ссылка на сообщение
Поделиться на других сайтах

Может и есть, а может и нет. Я надеюсь в ближайшие пару дней выложить 2.406-rc1

По крайней мере, по сравнению с 2.405 в новых версиях были исправлены 3 серьезных бага и сделано несколько улучшений.

Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Вхід

Уже зарегистрированы? Войдите здесь.

Войти сейчас
  • Зараз на сторінці   0 користувачів

    Немає користувачів, що переглядають цю сторінку.

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