Всем доброго времени суток.
Приношу извинения если тут запрещено поднимать на столько старые ветки, но у меня проблема по сабжу.
Решил попробовать установить stargazer на DIR-320.
Установил стороннюю прошивку, поставил дополнительный софт, подключил своп, скачал и поставил expat-2.1.0.tar.gz
Вот что выдает ./build debug:
[admin@DLINK-C00000 stargazer]$ ./build debug
#############################################################################
Building STG 2.4 for Linux
#############################################################################
Checking CC... found
Checking CXX... found
Checking endianess... Little Endian
Checking for -lexpat... yes
Checking for -lfbclient... no
Checking for mysql_config... yes
Checking for mysql_config --cflags... [-I/opt/include/mysql]
Checking for mysql_config --libs_r... [-L/home/slug/optware/ddwrt/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/ddwrt/staging/opt/lib -Wl,-rpath,/opt/lib/mysql -L/opt/lib/mysql -lmysqlclient_r -L/home/slug/optware/ddwrt/staging/opt/lib -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/home/slug/optware/ddwrt/staging/opt/lib -lssl -lcrypto]
Checking for pg_config... no
Checking for -lpq... no
Checking for xmlrpc-c-config... yes (version 1.11)
Checking for xmlrpc-c-config --cflags... [-I/opt/include ]
Checking for xmlrpc-c-config --libs... [-L/opt/lib -lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss -lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -L/opt/lib -lxml2 -lz -lm ]
Debug build. Type make explicitly
Насколько я могу понимать – вроде говорит что все условия для установки есть и теперь пора собственно устанавливать… ОК набираем ./build, начинается сборка но через какое-то время вываливается вот такая ошибка:
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/capture/ether_linux'
g++ -c ether_cap.cpp -I/usr/local/include -DARCH_LE -fPIC -I ../../../../../stglibs/common.lib/include -I /mnt/distr/stargazer/stg-2.408/projects/stargazer/../../include -DNDEBUG -DLINUX
g++ ether_cap.o -L/usr/local/lib -shared -Wl,-rpath,/opt/billing/usr/lib/stg -L ../../../../../stglibs/common.lib -lpthread -lstgcommon -o mod_cap_ether.so
ln -fs "`pwd`/mod_cap_ether.so" /mnt/distr/stargazer/stg-2.408/projects/stargazer/modules/mod_cap_ether.so
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/capture/ether_linux'
make -C capture/ipq_linux
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/capture/ipq_linux'
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/capture/ipq_linux'
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/capture/ipq_linux'
g++ -c ipq_cap.cpp -I/usr/local/include -DARCH_LE -fPIC -I ../../../../../stglibs/common.lib/include -I /mnt/distr/stargazer/stg-2.408/projects/stargazer/../../include -DNDEBUG -DLINUX
cc -c libipq.c -DARCH_LE -fPIC -I ../../../../../stglibs/common.lib/include -I /mnt/distr/stargazer/stg-2.408/projects/stargazer/../../include -DNDEBUG -DLINUX
g++ ipq_cap.o libipq.o -L/usr/local/lib -shared -Wl,-rpath,/opt/billing/usr/lib/stg -L ../../../../../stglibs/common.lib -lpthread -lstgcommon -o mod_cap_ipq.so
ln -fs "`pwd`/mod_cap_ipq.so" /mnt/distr/stargazer/stg-2.408/projects/stargazer/modules/mod_cap_ipq.so
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/capture/ipq_linux'
make -C store/mysql
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/store/mysql'
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/store/mysql'
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/store/mysql'
g++ -c mysql_store.cpp -I/usr/local/include -DARCH_LE -I/opt/include/mysql -fPIC -I ../../../../../stglibs/common.lib/include -I ../../../../../stglibs/crypto.lib/include -I /mnt/distr/stargazer/stg-2.408/projects/stargazer/../../include -DNDEBUG -DLINUX
g++ mysql_store.o -L/usr/local/lib -shared -Wl,-rpath,/opt/billing/usr/lib/stg -L ../../../../../stglibs/common.lib -L ../../../../../stglibs/crypto.lib -L/home/slug/optware/ddwrt/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/ddwrt/staging/opt/lib -Wl,-rpath,/opt/lib/mysql -L/opt/lib/mysql -lmysqlclient_r -L/home/slug/optware/ddwrt/staging/opt/lib -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/home/slug/optware/ddwrt/staging/opt/lib -lssl -lcrypto -lstgcommon -lstgcrypto -o mod_store_mysql.so
ln -fs "`pwd`/mod_store_mysql.so" /mnt/distr/stargazer/stg-2.408/projects/stargazer/modules/mod_store_mysql.so
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/store/mysql'
make -C configuration/rpcconfig
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/configuration/rpcconfig'
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/configuration/rpcconfig'
make[2]: Entering directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/configuration/rpcconfig'
g++ -c rpcconfig.cpp -I/usr/local/include -DARCH_LE -fPIC -I ../../../../../stglibs/common.lib/include -I ../../../../../stglibs/locker.lib/include -I ../../../../../stglibs/logger.lib/include -I ../../../../../stglibs/scriptexecuter.lib/include -I /mnt/distr/stargazer/stg-2.408/projects/stargazer/../../include -DNDEBUG -DLINUX
In file included from rpcconfig.cpp:21:
rpcconfig.h:11:29: error: xmlrpc-c/base.hpp: No such file or directory
rpcconfig.h:12:33: error: xmlrpc-c/registry.hpp: No such file or directory
rpcconfig.h:13:37: error: xmlrpc-c/server_abyss.hpp: No such file or directory
rpcconfig.h:105: error: 'xmlrpc_c' has not been declared
rpcconfig.h:105: error: expected ';' before 'rpcRegistry'
rpcconfig.h:106: error: 'xmlrpc_c' has not been declared
rpcconfig.h:106: error: expected ';' before '*' token
info_methods.h:17: error: 'xmlrpc_c' has not been declared
info_methods.h:17: error: expected `{' before 'method'
info_methods.h:17: error: invalid function declaration
info_methods.h:44: error: 'xmlrpc_c' has not been declared
info_methods.h:44: error: expected `{' before 'method'
info_methods.h:44: error: invalid function declaration
info_methods.h:62: error: 'xmlrpc_c' has not been declared
info_methods.h:62: error: expected `{' before 'method'
info_methods.h:62: error: invalid function declaration
users_methods.h:14: error: 'xmlrpc_c' has not been declared
users_methods.h:14: error: expected `{' before 'method'
users_methods.h:14: error: invalid function declaration
users_methods.h:34: error: 'xmlrpc_c' has not been declared
users_methods.h:34: error: expected `{' before 'method'
users_methods.h:34: error: invalid function declaration
users_methods.h:57: error: 'xmlrpc_c' has not been declared
users_methods.h:57: error: expected `{' before 'method'
users_methods.h:57: error: invalid function declaration
users_methods.h:80: error: 'xmlrpc_c' has not been declared
users_methods.h:80: error: expected `{' before 'method'
users_methods.h:80: error: invalid function declaration
users_methods.h:100: error: 'xmlrpc_c' has not been declared
users_methods.h:100: error: expected `{' before 'method'
users_methods.h:100: error: invalid function declaration
users_methods.h:129: error: 'xmlrpc_c' has not been declared
users_methods.h:129: error: expected `{' before 'method'
users_methods.h:129: error: invalid function declaration
users_methods.h:155: error: 'xmlrpc_c' has not been declared
users_methods.h:155: error: expected `{' before 'method'
users_methods.h:155: error: invalid function declaration
users_methods.h:181: error: 'xmlrpc_c' has not been declared
users_methods.h:181: error: expected `{' before 'method'
users_methods.h:181: error: invalid function declaration
users_methods.h:210: error: 'xmlrpc_c' has not been declared
users_methods.h:210: error: expected `{' before 'method'
users_methods.h:210: error: invalid function declaration
tariffs_methods.h:12: error: 'xmlrpc_c' has not been declared
tariffs_methods.h:12: error: expected `{' before 'method'
tariffs_methods.h:12: error: invalid function declaration
tariffs_methods.h:32: error: 'xmlrpc_c' has not been declared
tariffs_methods.h:32: error: expected `{' before 'method'
tariffs_methods.h:32: error: invalid function declaration
tariffs_methods.h:55: error: 'xmlrpc_c' has not been declared
tariffs_methods.h:55: error: expected `{' before 'method'
tariffs_methods.h:55: error: invalid function declaration
tariffs_methods.h:75: error: 'xmlrpc_c' has not been declared
tariffs_methods.h:75: error: expected `{' before 'method'
tariffs_methods.h:75: error: invalid function declaration
tariffs_methods.h:98: error: 'xmlrpc_c' has not been declared
tariffs_methods.h:98: error: expected `{' before 'method'
tariffs_methods.h:98: error: invalid function declaration
admins_methods.h:12: error: 'xmlrpc_c' has not been declared
admins_methods.h:12: error: expected `{' before 'method'
admins_methods.h:12: error: invalid function declaration
admins_methods.h:32: error: 'xmlrpc_c' has not been declared
admins_methods.h:32: error: expected `{' before 'method'
admins_methods.h:32: error: invalid function declaration
admins_methods.h:52: error: 'xmlrpc_c' has not been declared
admins_methods.h:52: error: expected `{' before 'method'
admins_methods.h:52: error: invalid function declaration
admins_methods.h:72: error: 'xmlrpc_c' has not been declared
admins_methods.h:72: error: expected `{' before 'method'
admins_methods.h:72: error: invalid function declaration
admins_methods.h:92: error: 'xmlrpc_c' has not been declared
admins_methods.h:92: error: expected `{' before 'method'
admins_methods.h:92: error: invalid function declaration
messages_methods.h:11: error: 'xmlrpc_c' has not been declared
messages_methods.h:11: error: expected `{' before 'method'
messages_methods.h:11: error: invalid function declaration
rpcconfig.cpp: In constructor 'RPC_CONFIG::RPC_CONFIG()':
rpcconfig.cpp:92: error: class 'RPC_CONFIG' does not have any field named 'rpcRegistry'
rpcconfig.cpp:93: error: class 'RPC_CONFIG' does not have any field named 'rpcServer'
rpcconfig.cpp: In destructor 'virtual RPC_CONFIG::~RPC_CONFIG()':
rpcconfig.cpp:106: error: 'rpcServer' was not declared in this scope
rpcconfig.cpp: In member function 'virtual int RPC_CONFIG::Start()':
rpcconfig.cpp:169: error: 'rpcServer' was not declared in this scope
rpcconfig.cpp:169: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:169: error: expected `;' before 'serverAbyss'
rpcconfig.cpp: In static member function 'static void* RPC_CONFIG::Run(void*)':
rpcconfig.cpp:224: error: 'class RPC_CONFIG' has no member named 'rpcServer'
rpcconfig.cpp: In member function 'void RPC_CONFIG::InitiateRegistry()':
rpcconfig.cpp:311: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:311: error: expected initializer before 'const'
rpcconfig.cpp:317: error: 'rpcRegistry' was not declared in this scope
rpcconfig.cpp:317: error: 'methodInfoPtr' was not declared in this scope
rpcconfig.cpp:319: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:319: error: expected initializer before 'const'
rpcconfig.cpp:322: error: 'methodLoginPtr' was not declared in this scope
rpcconfig.cpp:324: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:324: error: expected initializer before 'const'
rpcconfig.cpp:327: error: 'methodLogoutPtr' was not declared in this scope
rpcconfig.cpp:329: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:329: error: expected initializer before 'const'
rpcconfig.cpp:333: error: 'methodGetUserPtr' was not declared in this scope
rpcconfig.cpp:335: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:335: error: expected initializer before 'const'
rpcconfig.cpp:340: error: 'methodAddUserPtr' was not declared in this scope
rpcconfig.cpp:342: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:342: error: expected initializer before 'const'
rpcconfig.cpp:347: error: 'methodDelUserPtr' was not declared in this scope
rpcconfig.cpp:349: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:349: error: expected initializer before 'const'
rpcconfig.cpp:353: error: 'methodGetUsersPtr' was not declared in this scope
rpcconfig.cpp:355: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:355: error: expected initializer before 'const'
rpcconfig.cpp:362: error: 'methodChgUserPtr' was not declared in this scope
rpcconfig.cpp:364: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:364: error: expected initializer before 'const'
rpcconfig.cpp:370: error: 'methodAddCashPtr' was not declared in this scope
rpcconfig.cpp:372: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:372: error: expected initializer before 'const'
rpcconfig.cpp:378: error: 'methodSetCashPtr' was not declared in this scope
rpcconfig.cpp:380: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:380: error: expected initializer before 'const'
rpcconfig.cpp:387: error: 'methodTariffChangePtr' was not declared in this scope
rpcconfig.cpp:389: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:389: error: expected initializer before 'const'
rpcconfig.cpp:393: error: 'methodGetTariffPtr' was not declared in this scope
rpcconfig.cpp:395: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:395: error: expected initializer before 'const'
rpcconfig.cpp:400: error: 'methodChgTariffPtr' was not declared in this scope
rpcconfig.cpp:402: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:402: error: expected initializer before 'const'
rpcconfig.cpp:406: error: 'methodGetTariffsPtr' was not declared in this scope
rpcconfig.cpp:408: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:408: error: expected initializer before 'const'
rpcconfig.cpp:413: error: 'methodAddTariffPtr' was not declared in this scope
rpcconfig.cpp:415: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:415: error: expected initializer before 'const'
rpcconfig.cpp:421: error: 'methodDelTariffPtr' was not declared in this scope
rpcconfig.cpp:423: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:423: error: expected initializer before 'const'
rpcconfig.cpp:427: error: 'methodGetAdminPtr' was not declared in this scope
rpcconfig.cpp:429: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:429: error: expected initializer before 'const'
rpcconfig.cpp:433: error: 'methodAddAdminPtr' was not declared in this scope
rpcconfig.cpp:435: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:435: error: expected initializer before 'const'
rpcconfig.cpp:439: error: 'methodDelAdminPtr' was not declared in this scope
rpcconfig.cpp:441: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:441: error: expected initializer before 'const'
rpcconfig.cpp:445: error: 'methodChgAdminPtr' was not declared in this scope
rpcconfig.cpp:447: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:447: error: expected initializer before 'const'
rpcconfig.cpp:451: error: 'methodGetAdminsPtr' was not declared in this scope
rpcconfig.cpp:453: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:453: error: expected initializer before 'const'
rpcconfig.cpp:457: error: 'methodSendMessagePtr' was not declared in this scope
rpcconfig.cpp:459: error: 'xmlrpc_c' has not been declared
rpcconfig.cpp:459: error: expected initializer before 'const'
rpcconfig.cpp:463: error: 'methodGetOnlinIPsPtr' was not declared in this scope
make[2]: *** [rpcconfig.o] Error 1
make[2]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins/configuration/rpcconfig'
make[1]: *** [configuration/rpcconfig] Error 2
make[1]: Leaving directory `/mnt/distr/stargazer/stg-2.408/projects/stargazer/plugins'
make: *** [plugins] Error 2
Подскажите, пожалуйста, что означают эти ошибки? Проблема с библиотекой expat?