Перейти до

И снова Opensuse11 и Stg-2.405.9.8, нужна помощь


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

Уважаемые Гуру, очень нужна Ваша помощь, я новичек в linux, поэтому попрошу не ругать меня, а помочь. Прободался больше 4 суток результат плачевный, перелапатил весь форум.

Суть проблеммы в следующем если берем до версии STG 2.016.7.6 включительно то все замечательно!!!

Если же ставим 2.405.9.8 то результат плачевный. sad.gif Очень прошу помочь!!!

 

Версия ядра

Linux 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux

 

stargazer # ./build

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

Building STG 2.4 for Linux

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

Checking for -lexpat... yes

Checking for -lfbclient... no

Checking for -lmysqlclient... yes

gmake -C /var/tmp/stg-2.405.9.8/projects/stargazer/../../stglibs includes

gmake[1]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs'

gmake includes -C stg_logger.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'

cp -p stg_logger.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'

gmake includes -C stg_locker.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'

cp -p stg_locker.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'

gmake includes -C crypto.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/crypto.lib'

cp -p ag_md5.h blowfish.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/crypto.lib'

gmake includes -C common.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/common.lib'

cp -p debug.h stg_error.h common.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/common.lib'

gmake includes -C script_executer.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/script_executer.lib'

cp -p script_executer.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/script_executer.lib'

gmake includes -C conffiles.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/conffiles.lib'

cp -p conffiles.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/conffiles.lib'

gmake includes -C hostallow.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/hostallow.lib'

cp -p hostallow.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/hostallow.lib'

gmake includes -C pinger.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/pinger.lib'

cp -p pinger.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/pinger.lib'

gmake includes -C dotconfpp.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'

cp -p dotconfpp.h mempool.h /var/tmp/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'

gmake[1]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs'

gmake -C /var/tmp/stg-2.405.9.8/projects/stargazer/../../stglibs

gmake[1]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs'

gmake -C stg_logger.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libstg_logger.a stg_logger.o

ranlib libstg_logger.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/stg_logger.lib'

gmake -C stg_locker.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libstg_locker.a stg_locker.o

ranlib libstg_locker.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/stg_locker.lib'

gmake -C crypto.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/crypto.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/crypto.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/crypto.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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: warning: deprecated conversion from string constant to ‘char*’

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/crypto.lib'

gmake -C common.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/common.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/common.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/common.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/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: 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 /var/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 /var/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 /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/common.lib'

gmake -C script_executer.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/script_executer.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/script_executer.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/script_executer.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libscript_executer.a script_executer.o

ranlib libscript_executer.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/script_executer.lib'

gmake -C conffiles.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/conffiles.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/conffiles.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/conffiles.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libconffiles.a conffiles.o

ranlib libconffiles.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/conffiles.lib'

gmake -C hostallow.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/hostallow.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/hostallow.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/hostallow.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libhostallow.a hostallow.o

ranlib libhostallow.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/hostallow.lib'

gmake -C pinger.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/pinger.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/pinger.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/pinger.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libstg_pinger.a pinger.o

ranlib libstg_pinger.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/pinger.lib'

gmake -C dotconfpp.lib

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'

g++ -O2 -I/usr/local/include -Wall -fPIC -I /var/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 /var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

ar rc libdotconfpp.a dotconfpp.o mempool.o

ranlib libdotconfpp.a

cp *.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

cp *.a /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs/dotconfpp.lib'

gmake[1]: Leaving directory `/var/tmp/stg-2.405.9.8/stglibs'

gmake -C /var/tmp/stg-2.405.9.8/projects/stargazer/plugins

gmake[1]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins'

gmake -C authorization/ao

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'

g++ -c ao.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ ao.o /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ao.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/ao'

gmake -C authorization/inetaccess

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'

g++ -c inetaccess.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ inetaccess.o /usr/lib/libpthread.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_auth_ia.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/authorization/inetaccess'

gmake -C configuration/sgconfig

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'

g++ -c stgconfig.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ -c rsconf.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ -c configproto.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ -c parser.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/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: warning: ‘creditExpire’ may be used uninitialized in this function

g++ -c parser_tariff.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ -c parser_admin.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/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: 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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_logger.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_conf_sg.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/configuration/sgconfig'

gmake -C other/ping

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'

g++ -c ping.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ ping.o /usr/lib/libpthread.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_pinger.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_ping.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/ping'

gmake -C other/rscript

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'

g++ -c rscript.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ rscript.o /usr/lib/libpthread.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_remote_script.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/rscript'

gmake -C other/radius

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'

g++ -c radius.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_radius.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/other/radius'

gmake -C store/files

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'

g++ -c file_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

/var/tmp/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In function ‘const USER_IPS StrToIPS(const std::string&)’:

/var/tmp/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libconffiles.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_store_files.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/store/files'

gmake -C capture/ether_linux

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'

gmake[2]: Entering directory `/var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

g++ ether_cap.o /usr/lib/libpthread.so /var/tmp/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/var/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" /var/tmp/stg-2.405.9.8/projects/stargazer/modules/mod_cap_ether.so

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ether_linux'

gmake -C capture/ipq_linux

gmake[2]: Entering directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'

gmake[2]: Entering directory `/var/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 /var/tmp/stg-2.405.9.8/projects/stargazer/../../include -DLINUX

In file included from ipq_cap.cpp:2:

/usr/include/linux/netfilter.h:41: error: ‘__be32’ does not name a type

/usr/include/linux/netfilter.h:42: error: ‘__be32’ does not name a type

/usr/include/linux/netfilter.h:43: error: field ‘in’ has incomplete type

/usr/include/linux/netfilter.h:44: error: field ‘in6’ has incomplete type

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

gmake[2]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'

gmake[1]: *** [capture/ipq_linux] Ошибка 2

gmake[1]: Leaving directory `/var/tmp/stg-2.405.9.8/projects/stargazer/plugins'

gmake: *** [plugins] Ошибка 2

 

Зараннее премного благодарен.

Ссылка на сообщение
Поделиться на других сайтах
Ядро какой версии? Там поломали заголовочные файлы. Те-же яйца в альте и в дебиане есть.

 

Версия ядра

Linux 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux

Ссылка на сообщение
Поделиться на других сайтах
http://fixunix.com/debian/494850-bug-48710...-h-include.html

"I can certainly solve this problem in my package, as I do include "in.h" a few lines later. Nevertheless I think there should be no dependance on the order of the includes."

 

http://www.archivum.info/debian-bugs-dist@...6/msg15326.html

 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482331

"We believe that the bug you reported is fixed in the latest version of linux-2.6..."

 

http://marc.info/?l=netfilter-devel&m=...3411431&w=2

 

Я так мыслю, есть 2 воркеарунда:

#include <linux/in.h> перед #include <linux/netfilter.h>

или

#include <linux/types.h> перед #include <linux/netfilter.h>

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

Спасибо за подсказку, буду пробывать 1 числа посмотрим что получится, если честно то все это настораживает, так как с 1 и 2 stg не возникло ни каких проблем ни на одной платформе будь то suse, redhat, mandriva, debian и т.д и т.п. как пошел 2.4 так начались проблеммы. Но несмотря не на что спасибо огромное разработчикам.

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

Строго говоря, SuSE, RH, Debian и др. - это не платформы а дистрибутивы. Проблемы же возникают потому что растет сложность проекта. Так, анпример, 1-я и 2-я версии были полностью автономными (ну, кроме зависимости по -lexpat). Теперь же приходится работать с глючным мускулом. А тут еще и в ядре поламали заголовочные файлы - теперь ipq не собирается.

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

Помогите собрать 2.405.9.8 на OpenSUSE 11 ядро 2.6.25-18-0.2-pae #1 SMP 2008-10-21 i686 i686 i386 GNU/Linux

 

#include <linux/in.h> перед #include <linux/netfilter.h>

или

#include <linux/types.h> перед #include <linux/netfilter.h>

 

не помогает.

build_with_in.txt

build_with_types.txt

build_with_types_in_in6.txt

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

#include <linux/in.h> перед #include <linux/netfilter.h>

или

#include <linux/types.h> перед #include <linux/netfilter.h>

либо

#include <netinet/in.h> перед #include <linux/netfilter.h>

 

ни чего из выше указанного не помогает всеравно о остаются ошибки

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

1. Какой дистр?

2. Приведи шапку файла со своими правками.

3. Как вариант - возьми этот файл из 406-альфа или 406-бета.

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

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

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

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

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

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

Вхід

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

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

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

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