Перейти до

Stg 2.405.9.8 и сборка под Opensuse 11


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

Здравствуйте админы!

 

Не являюсь профессионалом в *nix системах. Думаю в следствии этого

не могу собрать STG. При выполнении ./build выходит вот такая ошибка и программа не собирается. Кто-нибудь встречал такое?

 

 

gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake  -C capture/ether_linux
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
g++ -c ether_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ether_cap.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ether.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake  -C capture/ipq_linux
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
deps:1: *** пропущен разделитель.  Останов.
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[1]: *** [capture/ipq_linux] Ошибка 2
gmake[1]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins'
gmake: *** [plugins] Ошибка 2

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

# ./build

 

Если повторится:

# cat ./plugins/capture/ipq_linux/deps

 

blin. tepet vot tak

 

#############################################################################
   Building STG 2.4 for Linux 
#############################################################################
Checking for -lexpat... yes
Checking for -lfbclient... no
Checking for -lmysqlclient... yes
Makefile:136: deps: Нет такого файла или каталога
gmake -C /home/stg-2.405.9.8/projects/stargazer/../../stglibs includes
gmake[1]: Entering directory `/home/stg-2.405.9.8/stglibs'
gmake includes -C stg_logger.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/stg_logger.lib'
cp -p stg_logger.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake includes -C stg_locker.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/stg_locker.lib'
cp -p stg_locker.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake includes -C crypto.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/crypto.lib'
cp -p ag_md5.h blowfish.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/crypto.lib'
gmake includes -C common.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/common.lib'
cp -p debug.h stg_error.h common.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/common.lib'
gmake includes -C script_executer.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/script_executer.lib'
cp -p script_executer.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/script_executer.lib'
gmake includes -C conffiles.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/conffiles.lib'
cp -p conffiles.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/conffiles.lib'
gmake includes -C hostallow.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/hostallow.lib'
cp -p hostallow.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/hostallow.lib'
gmake includes -C pinger.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/pinger.lib'
cp -p pinger.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/pinger.lib'
gmake includes -C dotconfpp.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/dotconfpp.lib'
cp -p dotconfpp.h mempool.h /home/stg-2.405.9.8/projects/stargazer/../../include
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/home/stg-2.405.9.8/stglibs'
gmake -C /home/stg-2.405.9.8/projects/stargazer/../../stglibs
gmake[1]: Entering directory `/home/stg-2.405.9.8/stglibs'
gmake  -C stg_logger.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/stg_logger.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/stg_logger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_logger.a stg_logger.o
ranlib libstg_logger.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/stg_logger.lib'
gmake  -C stg_locker.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/stg_locker.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/stg_locker.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_locker.a stg_locker.o
ranlib libstg_locker.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/stg_locker.lib'
gmake  -C crypto.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/crypto.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/crypto.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/crypto.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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: warning: deprecated conversion from string constant to ‘char*’
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_crypto.a ag_md5.o blowfish.o
ranlib libstg_crypto.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/crypto.lib'
gmake  -C common.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/common.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/common.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/common.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c debug.c
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:36: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:41: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:46: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:51: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:56: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:61: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:66: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:71: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:76: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:81: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:86: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:91: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:96: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:101: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:106: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:111: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:116: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:121: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:127: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:132: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:137: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:142: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:148: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:153: warning: deprecated conversion from string constant to ‘char*’
stg_error.c:158: warning: deprecated conversion from string constant to ‘char*’
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c common.cpp
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/common.lib'
gmake  -C script_executer.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/script_executer.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/script_executer.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/script_executer.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libscript_executer.a script_executer.o
ranlib libscript_executer.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/script_executer.lib'
gmake  -C conffiles.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/conffiles.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/conffiles.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/conffiles.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libconffiles.a conffiles.o
ranlib libconffiles.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/conffiles.lib'
gmake  -C hostallow.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/hostallow.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/hostallow.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/hostallow.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libhostallow.a hostallow.o
ranlib libhostallow.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/hostallow.lib'
gmake  -C pinger.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/pinger.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/pinger.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/pinger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libstg_pinger.a pinger.o
ranlib libstg_pinger.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/pinger.lib'
gmake  -C dotconfpp.lib
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/dotconfpp.lib'
../Makefile.in:85: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[2]: Entering directory `/home/stg-2.405.9.8/stglibs/dotconfpp.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -I ./ -DLINUX -DSTG_TIME -c dotconfpp.cpp
g++ -O2 -I/usr/local/include -Wall -fPIC -I /home/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 /home/stg-2.405.9.8/projects/stargazer/../../lib 
ar rc libdotconfpp.a dotconfpp.o mempool.o
ranlib libdotconfpp.a
cp *.so /home/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /home/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/home/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/home/stg-2.405.9.8/stglibs'
gmake -C /home/stg-2.405.9.8/projects/stargazer/plugins
gmake[1]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins'
gmake  -C authorization/ao
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
g++ -c ao.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ao.o /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ao.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'
gmake  -C authorization/inetaccess
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
g++ -c inetaccess.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ inetaccess.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ia.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'
gmake  -C configuration/sgconfig
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
g++ -c stgconfig.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c rsconf.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c configproto.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/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: warning: ‘creditExpire’ may be used uninitialized in this function
g++ -c parser_tariff.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser_admin.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/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: warning: ‘p’ may be used uninitialized in this function
g++ stgconfig.o rsconf.o configproto.o parser.o parser_tariff.o parser_admin.o /usr/lib/libpthread.so /usr/lib/libexpat.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_logger.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_conf_sg.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'
gmake  -C other/ping
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
g++ -c ping.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ping.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_pinger.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_ping.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/ping'
gmake  -C other/rscript
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
g++ -c rscript.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ rscript.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_remote_script.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'
gmake  -C other/radius
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
g++ -c radius.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
radius.cpp: In member function ‘int RADIUS::ProcessData(RAD_PACKET*)’:
radius.cpp:441: warning: unused variable ‘addr’
g++ radius.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_radius.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/other/radius'
gmake  -C store/files
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/files'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/files'
g++ -c file_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:243: warning: ‘m’ may be used uninitialized in this function
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: warning: ‘id’ may be used uninitialized in this function
g++ file_store.o /home/stg-2.405.9.8/projects/stargazer/../../lib/libconffiles.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_store_files.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/files'
gmake  -C capture/ether_linux
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
g++ -c ether_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ether_cap.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ether.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'
gmake  -C capture/ipq_linux
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
g++ -c ipq_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c libipq.c -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
libipq.c:86: warning: deprecated conversion from string constant to ‘char*’
g++ ipq_cap.o libipq.o /usr/lib/libpthread.so /home/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/home/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" /home/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ipq.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake  -C store/mysql
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
g++ -c mysql_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
In file included from mysql_store.cpp:8:
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:209: error: ‘strcpy’ was not declared in this scope
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:211: error: ‘strtok’ was not declared in this scope
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:225: error: ‘strtok’ was not declared in this scope
gmake[2]: *** [mysql_store.o] Ошибка 1
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
gmake[1]: *** [store/mysql] Ошибка 2
gmake[1]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins'
gmake: *** [plugins] Ошибка 2

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

Да, это уже пофикшено.

Добавь #include <cstring> в include/user_ips.h

Like this:

...
#ifndef USER_IPS_H
#define USER_IPS_H

#include <stdio.h>
#include <vector>
#include <algorithm>
#include <string>
#include <iostream>
#include <sstream>
#include <cstring>
...

Ссылка на сообщение
Поделиться на других сайтах
Да, это уже пофикшено.

Добавь #include <cstring> в include/user_ips.h

Spasibo... no blin! novaya oshibka!

 

gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake  -C store/mysql
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
../../Makefile.in:35: deps: Нет такого файла или каталога
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
gmake[2]: Entering directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
g++ -c mysql_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ mysql_store.o /usr/lib/libmysqlclient_r.so -L/usr/local/lib -shared -L/home/stg-2.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lmysqlclient_r -o mod_store_mysql.so
ln -fs "`pwd`/mod_store_mysql.so" /home/stg-2.405.9.8/projects/stargazer/modules/mod_store_mysql.so
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/store/mysql'
gmake[1]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins'
g++ -c admin.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c admins.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c main.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c curr_ip.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c settings.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c stg_timer.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c tariff.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c tariffs.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c traffcounter.cpp -O2 -I/usr/local/include -Wall -I /home/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c user.cpp -O2 -I/usr/local/include -Wall -I /home/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"
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:
/home/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:244: warning: ‘m’ may be used uninitialized in this function
g++ -c user_property.cpp -O2 -I/usr/local/include -Wall -I /home/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:
/home/stg-2.405.9.8/projects/stargazer/../../include/admin_conf.h: In constructor ‘ADMIN_CONF::ADMIN_CONF()’:
/home/stg-2.405.9.8/projects/stargazer/../../include/admin_conf.h:32: error: ‘memset’ was not declared in this scope
gmake: *** [user_property.o] Ошибка 1

Ссылка на сообщение
Поделиться на других сайтах
Аналогично - в include/admin_conf.h

nepoverish! ya tak i podumal! i poka polu4il tvoi otvet uzrel NOVUU oshibku!!!!!!!!

ya ne tu OS vibral?)

 

:~ # /etc/init.d/stargazer start
/etc/init.d/stargazer: line 8: /etc/init.d/functions: Нет такого файла или каталога
/etc/init.d/stargazer: line 11: .: /etc/sysconfig/network: является директорией
/etc/init.d/stargazer: line 18: [: =: ожидается использование унарного оператора

Ссылка на сообщение
Поделиться на других сайтах
nepoverish! ya tak i podumal! i poka polu4il tvoi otvet uzrel NOVUU oshibku!!!!!!!!

ya ne tu OS vibral?)

 

:~ # /etc/init.d/stargazer start
/etc/init.d/stargazer: line 8: /etc/init.d/functions: Нет такого файла или каталога
/etc/init.d/stargazer: line 11: .: /etc/sysconfig/network: является директорией
/etc/init.d/stargazer: line 18: [: =: ожидается использование унарного оператора

Да :)

Ты какой скрипт для запуска ставил? Там 3 варианта: для древней СуЗи, для Дебиана и Дженты.

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

Ты какой скрипт для запуска ставил? Там 3 варианта: для древней СуЗи, для Дебиана и Дженты.

 

Нормально запускается из /usr/sbin/stargazer

:Р Спасибо за неоценимую помощь!

Ссылка на сообщение
Поделиться на других сайтах
Нормально запускается из /usr/sbin/stargazer

:Р Спасибо за неоценимую помощь!

Если напишеш хороший скрипт для 11 СуЗи - выкладывай. Добавим в архив :)

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

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

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

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

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

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

Вхід

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

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

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

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