Перейти к содержимому

Установка Stg 2.405.9.8 Suse 11


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

Вот такой вот лог...

 

 

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
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] Error 1
gmake[2]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins/capture/ipq_linux'
gmake[1]: *** [capture/ipq_linux] Error 2
gmake[1]: Leaving directory `/home/stg-2.405.9.8/projects/stargazer/plugins'
gmake: *** [plugins] Error 2

 

 

 

решение по этому линку не помогает...

http://local.com.ua/forum/index.php?showtopic=11875

 

ВОт:

 

 

 

 

cp *.so /root/Desktop/stg-2.405.9.8/projects/stargazer/../../lib
cp *.a /root/Desktop/stg-2.405.9.8/projects/stargazer/../../lib
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/root/Desktop/stg-2.405.9.8/stglibs'
gmake -C /root/Desktop/stg-2.405.9.8/projects/stargazer/plugins
gmake[1]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins'
gmake  -C authorization/ao
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/authorization/ao'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/authorization/ao'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/authorization/ao'
g++ -c ao.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root/Deskto
p/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ao.o /root/Desktop/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common.
so -L/usr/local/lib -shared -L/root/Desktop/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" /root/Desktop/stg-2.405.9.8/projects/stargazer/mod
ules/mod_auth_ao.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/authorization/ao'
gmake  -C authorization/inetaccess
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/authorization/inetaccess'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/authorization/inetaccess'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/authorization/inetaccess'
g++ -c inetaccess.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /roo
t/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ inetaccess.o /usr/lib/libpthread.so /root/Desktop/stg-2.405.9.8/projects/sta
rgazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/root/Desktop/stg-2
.405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_co
mmon -o mod_auth_ia.so
ln -fs "`pwd`/mod_auth_ia.so" /root/Desktop/stg-2.405.9.8/projects/stargazer/mod
ules/mod_auth_ia.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/authorization/inetaccess'
gmake  -C configuration/sgconfig
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/configuration/sgconfig'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/configuration/sgconfig'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/configuration/sgconfig'
g++ -c stgconfig.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root
/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c rsconf.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root/De
sktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c configproto.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /ro
ot/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root/De
sktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
parser.cpp: In member function Б─≤virtual int PARSER_CHG_USER::ParseStart(void*c c
onst char*, const char**)Б─≥:
parser.cpp:729: warning: Б─≤creditExpireБ─≥ may be used uninitialized in this fincti
on
g++ -c parser_tariff.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /
root/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ -c parser_admin.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /r
oot/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
parser_admin.cpp: In member function Б─≤virtual void PARSER_CHG_ADMIN::CreateAnewe
r()Б─≥:
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 /root/Desktop/stg-2.405.9.8/projects/
stargazer/../../lib/libstg_common.so /root/Desktop/stg-2.405.9.8/projects/starga
zer/../../lib/libstg_logger.so -L/usr/local/lib -shared -L/root/Desktop/stg-2.40
5.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lexpat -ls
tg_common -lstg_logger -o mod_conf_sg.so
ln -fs "`pwd`/mod_conf_sg.so" /root/Desktop/stg-2.405.9.8/projects/stargazer/mod
ules/mod_conf_sg.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/configuration/sgconfig'
gmake  -C other/ping
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/other/ping'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/other/ping'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/other/ping'
g++ -c ping.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root/Desk
top/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ping.o /usr/lib/libpthread.so /root/Desktop/stg-2.405.9.8/projects/stargazer
/../../lib/libstg_pinger.so /root/Desktop/stg-2.405.9.8/projects/stargazer/../..
/lib/libstg_common.so -L/usr/local/lib -shared -L/root/Desktop/stg-2.405.9.8/pro
jects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_pinger -lstg_c
ommon -o mod_ping.so
ln -fs "`pwd`/mod_ping.so" /root/Desktop/stg-2.405.9.8/projects/stargazer/module
s/mod_ping.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/other/ping'
gmake  -C other/rscript
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/other/rscript'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/other/rscript'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/other/rscript'
g++ -c rscript.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root/D
esktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ rscript.o /usr/lib/libpthread.so /root/Desktop/stg-2.405.9.8/projects/starga
zer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/root/Desktop/stg-2.40
5.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_commo
n -o mod_remote_script.so
ln -fs "`pwd`/mod_remote_script.so" /root/Desktop/stg-2.405.9.8/projects/stargaz
er/modules/mod_remote_script.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/other/rscript'
gmake  -C other/radius
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/other/radius'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/other/radius'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/other/radius'
g++ -c radius.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root/De
sktop/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 /root/Desktop/stg-2.405.9.8/projects/stargaz
er/../../lib/libstg_common.so -L/usr/local/lib -shared -L/root/Desktop/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" /root/Desktop/stg-2.405.9.8/projects/stargazer/modu
les/mod_radius.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/other/radius'
gmake  -C store/files
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/store/files'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/store/files'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/store/files'
g++ -c file_store.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /roo
t/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
/root/Desktop/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h: In func
tion Б─≤const USER_IPS StrToIPS(const std::string&)Б─≥:
/root/Desktop/stg-2.405.9.8/projects/stargazer/../../include/user_ips.h:243: war
ning: Б─≤mБ─≥ may be used uninitialized in this function
file_store.cpp: In member function Б─≤virtual int FILES_STORE::GetMessageHdrs(s:d:
: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 /root/Desktop/stg-2.405.9.8/projects/stargazer/../../lib/libcon
ffiles.so /root/Desktop/stg-2.405.9.8/projects/stargazer/../../lib/libstg_common
.so -L/usr/local/lib -shared -L/root/Desktop/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" /root/Desktop/stg-2.405.9.8/projects/stargazer
/modules/mod_store_files.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/store/files'
gmake  -C capture/ether_linux
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/capture/ether_linux'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/capture/ether_linux'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/capture/ether_linux'
g++ -c ether_cap.cpp -D_GNU_SOURCE -O2 -I/usr/local/include -Wall -fPIC -I /root
/Desktop/stg-2.405.9.8/projects/stargazer/../../include -DLINUX
g++ ether_cap.o /usr/lib/libpthread.so /root/Desktop/stg-2.405.9.8/projects/star
gazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/root/Desktop/stg-2.
405.9.8/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lpthread -lstg_com
mon -o mod_cap_ether.so
ln -fs "`pwd`/mod_cap_ether.so" /root/Desktop/stg-2.405.9.8/projects/stargazer/m
odules/mod_cap_ether.so
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/capture/ether_linux'
gmake  -C capture/ipq_linux
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/capture/ipq_linux'
../../Makefile.in:35: deps: п²п╣я┌ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟
In file included from ./ipq_cap.cpp:2:
/usr/include/linux/netfilter.h:30:2: error: invalid preprocessing directive #enu
m
/usr/include/linux/netfilter.h:31:3: error: invalid preprocessing directive #NF_
INET_PRE_ROUTING
/usr/include/linux/netfilter.h:32:3: error: invalid preprocessing directive #NF_
INET_LOCAL_IN
/usr/include/linux/netfilter.h:33:3: error: invalid preprocessing directive #NF_
INET_FORWARD
/usr/include/linux/netfilter.h:34:3: error: invalid preprocessing directive #NF_
INET_LOCAL_OUT
/usr/include/linux/netfilter.h:35:3: error: invalid preprocessing directive #NF_
INET_POST_ROUTING
/usr/include/linux/netfilter.h:36:3: error: invalid preprocessing directive #NF_
INET_NUMHOOKS
/usr/include/linux/netfilter.h:37:2: error: invalid preprocessing directive #}
/usr/include/linux/netfilter.h:39:2: error: invalid preprocessing directive #uni
on
/usr/include/linux/netfilter.h:40:3: error: invalid preprocessing directive #__u
32
/usr/include/linux/netfilter.h:41:3: error: invalid preprocessing directive #__b
e32
/usr/include/linux/netfilter.h:42:3: error: invalid preprocessing directive #__b
e32
/usr/include/linux/netfilter.h:43:3: error: invalid preprocessing directive #str
uct
/usr/include/linux/netfilter.h:44:3: error: invalid preprocessing directive #str
uct
/usr/include/linux/netfilter.h:45:2: error: invalid preprocessing directive #}
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/capture/ipq_linux'
gmake[2]: Entering directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plu
gins/capture/ipq_linux'
deps:1: *** п©я─п╬п©я┐я┴п╣пҐ я─п╟пЇпЄп╣п╩п╦я┌п╣п╩я▄.  п·я│я┌п╟пҐп╬п╡.
gmake[2]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins/capture/ipq_linux'
gmake[1]: *** [capture/ipq_linux] п·я┬п╦п╠п╨п╟ 2
gmake[1]: Leaving directory `/root/Desktop/stg-2.405.9.8/projects/stargazer/plug
ins'
gmake: *** [plugins] п·я┬п╦п╠п╨п╟ 2

 

 

хз что делать

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

Судя по этому:

...
In file included from ./ipq_cap.cpp:2: /usr/include/linux/netfilter.h:30:2: error: invalid preprocessing directive #enum
...

какие-то проблемы с файлом /usr/include/linux/netfilter.h

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

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

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

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

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

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

Войти

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

Войти сейчас
  • Сейчас на странице   0 пользователей

    Нет пользователей, просматривающих эту страницу.

×
×
  • Создать...