Jump to content

Stargazer+mysql+freeradius_mysql+vpn+stg-web


Recommended Posts

Попробуйте переразвернуть архив с сорцами и собрать снова.

распаковал заново - таже самая ошибка при сборке :)

 

.....

cp dotconfpp.h mempool.h ../../include/

cp libdotconfpp.a ../../lib/

Makefile:103: deps: No such file or directory

deps:11: *** пропущен разделитель. Останов.

Link to post
Share on other sites
  • Replies 148
  • Created
  • Last Reply

Top Posters In This Topic

Странно. Попробуйте поудалять перед новой сборкой все файлы deps из всех каталогов, а также сделать make clean.

Все сделал - стало еще хуже :)

 

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

Building STG 2.4 for Linux

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

Makeing stg_logger.lib

../Makefile.in:74: deps: No such file or directory

deps:2: *** пропущен разделитель. Останов.

 

 

не пойму в какую сторону капать ?

Link to post
Share on other sites
Странно. Попробуйте поудалять перед новой сборкой все файлы deps из всех каталогов, а также сделать make clean.

Все сделал - стало еще хуже :)

 

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

Building STG 2.4 for Linux

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

Makeing stg_logger.lib

../Makefile.in:74: deps: No such file or directory

deps:2: *** пропущен разделитель. Останов.

 

 

не пойму в какую сторону капать ?

make/gmake версии этих варезов.

Link to post
Share on other sites
Что в файле deps?

dotconfpp.o: dotconfpp.cpp dotconfpp.h mempool.h Makefile

$(CC) -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c $<

mempool.o: mempool.cpp mempool.h Makefile

$(CC) -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c $<

Link to post
Share on other sites

Вобщем поставил я Ubuntu 7.10 с нуля , поставил все что для ее работы нужно, пробовал собрать - результат тотже самый - может кто потестить в чем особенность при сборке на Ubuntu заключается ?

 

1. скачал патченные исходники с первой страницы

2. распаковал исходники

3. Поставил mysql server 5.0 со всеми зависимостями

4. открыл консоль

5. sudo su -

6. apt-get install mysqlclient*

7. apt-get install libexpat*

8. проверил наличие libexpat

9. сделал ln -s /usr/bin/make /usr/bin/gmake

10. apt-get install g++

11. cd /путь_к_корню_старгейзера/projects/stargazer/

12. ./build

 

и вот ошибка и получается :)

Link to post
Share on other sites

To Scorpikor

Тоже мучился сначало с убунтой. Чегото она не кушала у мну gmake. Установил build-essential и прописал симлинк ln -s /usr/bin/make /usr/bin/gmake

Завелось

Link to post
Share on other sites
To Scorpikor

Тоже мучился сначало с убунтой. Чегото она не кушала у мну gmake. Установил build-essential и прописал симлинк ln -s /usr/bin/make /usr/bin/gmake

Завелось

Чет не помогло - ошибка всеравно остается та же - специально поставил с нуля Ubuntu 7.10 и попробовал :)

 

вот еще лог по make - может кто-нить из продвинутых поймет в чем ошибка заключается

 

root@scorp-desktop:/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer# make

Makefile:103: deps: No such file or directory

g++ -c admin.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

g++ -c admins.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

g++ -c main.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

../../include/base_plugin.h:30: предупреждение: ‘class BASE_PLUGIN’ has virtual functions but non-virtual destructor

../../include/base_auth.h:19: предупреждение: ‘class BASE_AUTH’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<int>’:

user.h:82: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<int>’ has virtual functions but non-virtual destructor

user.h:82: предупреждение: ‘class CHG_PASSIVE_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:

user.h:92: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ has virtual functions but non-virtual destructor

user.h:92: предупреждение: ‘class CHG_TARIFF_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<double>’:

user.h:102: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<double>’ has virtual functions but non-virtual destructor

user.h:102: предупреждение: ‘class CHG_CASH_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<unsigned int>’:

users.h:61: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<unsigned int>’ has virtual functions but non-virtual destructor

users.h:61: предупреждение: ‘class PROPERTY_NOTIFER_IP_BEFORE’ has virtual functions but non-virtual destructor

users.h:72: предупреждение: ‘class PROPERTY_NOTIFER_IP_AFTER’ has virtual functions but non-virtual destructor

traffcounter.h:105: предупреждение: ‘class TRF_IP_BEFORE’ has virtual functions but non-virtual destructor

traffcounter.h:118: предупреждение: ‘class TRF_IP_AFTER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘NOTIFIER_BASE<std::_List_iterator<USER> >’:

traffcounter.h:130: instantiated from here

../../include/notifer.h:19: предупреждение: ‘class NOTIFIER_BASE<std::_List_iterator<USER> >’ has virtual functions but non-virtual destructor

g++ -c curr_ip.cpp -g3 -Wall -I ../../include

g++ -c settings.cpp -g3 -Wall -I ../../include

g++ -c stg_timer.cpp -g3 -Wall -I ../../include

g++ -c tariff2.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

../../include/base_plugin.h:30: предупреждение: ‘class BASE_PLUGIN’ has virtual functions but non-virtual destructor

../../include/base_auth.h:19: предупреждение: ‘class BASE_AUTH’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<int>’:

user.h:82: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<int>’ has virtual functions but non-virtual destructor

user.h:82: предупреждение: ‘class CHG_PASSIVE_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:

user.h:92: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ has virtual functions but non-virtual destructor

user.h:92: предупреждение: ‘class CHG_TARIFF_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<double>’:

user.h:102: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<double>’ has virtual functions but non-virtual destructor

user.h:102: предупреждение: ‘class CHG_CASH_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<unsigned int>’:

users.h:61: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<unsigned int>’ has virtual functions but non-virtual destructor

users.h:61: предупреждение: ‘class PROPERTY_NOTIFER_IP_BEFORE’ has virtual functions but non-virtual destructor

users.h:72: предупреждение: ‘class PROPERTY_NOTIFER_IP_AFTER’ has virtual functions but non-virtual destructor

g++ -c traffcounter.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

../../include/base_plugin.h:30: предупреждение: ‘class BASE_PLUGIN’ has virtual functions but non-virtual destructor

../../include/base_auth.h:19: предупреждение: ‘class BASE_AUTH’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<int>’:

user.h:82: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<int>’ has virtual functions but non-virtual destructor

user.h:82: предупреждение: ‘class CHG_PASSIVE_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:

user.h:92: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ has virtual functions but non-virtual destructor

user.h:92: предупреждение: ‘class CHG_TARIFF_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<double>’:

user.h:102: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<double>’ has virtual functions but non-virtual destructor

user.h:102: предупреждение: ‘class CHG_CASH_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<unsigned int>’:

users.h:61: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<unsigned int>’ has virtual functions but non-virtual destructor

users.h:61: предупреждение: ‘class PROPERTY_NOTIFER_IP_BEFORE’ has virtual functions but non-virtual destructor

users.h:72: предупреждение: ‘class PROPERTY_NOTIFER_IP_AFTER’ has virtual functions but non-virtual destructor

traffcounter.h:105: предупреждение: ‘class TRF_IP_BEFORE’ has virtual functions but non-virtual destructor

traffcounter.h:118: предупреждение: ‘class TRF_IP_AFTER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘NOTIFIER_BASE<std::_List_iterator<USER> >’:

traffcounter.h:130: instantiated from here

../../include/notifer.h:19: предупреждение: ‘class NOTIFIER_BASE<std::_List_iterator<USER> >’ has virtual functions but non-virtual destructor

g++ -c user.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

../../include/base_plugin.h:30: предупреждение: ‘class BASE_PLUGIN’ has virtual functions but non-virtual destructor

../../include/base_auth.h:19: предупреждение: ‘class BASE_AUTH’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<int>’:

user.h:82: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<int>’ has virtual functions but non-virtual destructor

user.h:82: предупреждение: ‘class CHG_PASSIVE_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:

user.h:92: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ has virtual functions but non-virtual destructor

user.h:92: предупреждение: ‘class CHG_TARIFF_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<double>’:

user.h:102: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<double>’ has virtual functions but non-virtual destructor

user.h:102: предупреждение: ‘class CHG_CASH_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<unsigned int>’:

users.h:61: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<unsigned int>’ has virtual functions but non-virtual destructor

users.h:61: предупреждение: ‘class PROPERTY_NOTIFER_IP_BEFORE’ has virtual functions but non-virtual destructor

users.h:72: предупреждение: ‘class PROPERTY_NOTIFER_IP_AFTER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<USER_IPS>’:

user_property.h:205: instantiated from ‘USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = USER_IPS]’

user.cpp:130: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<USER_IPS>’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<DIR_TRAFF>’:

user_property.h:205: instantiated from ‘USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = DIR_TRAFF]’

user.cpp:211: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<DIR_TRAFF>’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<long int>’:

user_property.h:205: instantiated from ‘USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = long int]’

user.cpp:214: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<long int>’ has virtual functions but non-virtual destructor

g++ -c user_property.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

g++ -c users.cpp -g3 -Wall -I ../../include

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

../../include/base_plugin.h:30: предупреждение: ‘class BASE_PLUGIN’ has virtual functions but non-virtual destructor

../../include/base_auth.h:19: предупреждение: ‘class BASE_AUTH’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<int>’:

user.h:82: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<int>’ has virtual functions but non-virtual destructor

user.h:82: предупреждение: ‘class CHG_PASSIVE_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:

user.h:92: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ has virtual functions but non-virtual destructor

user.h:92: предупреждение: ‘class CHG_TARIFF_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<double>’:

user.h:102: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<double>’ has virtual functions but non-virtual destructor

user.h:102: предупреждение: ‘class CHG_CASH_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<unsigned int>’:

users.h:61: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<unsigned int>’ has virtual functions but non-virtual destructor

users.h:61: предупреждение: ‘class PROPERTY_NOTIFER_IP_BEFORE’ has virtual functions but non-virtual destructor

users.h:72: предупреждение: ‘class PROPERTY_NOTIFER_IP_AFTER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘NOTIFIER_BASE<std::_List_iterator<USER> >’:

users.cpp:196: instantiated from here

../../include/notifer.h:19: предупреждение: ‘class NOTIFIER_BASE<std::_List_iterator<USER> >’ has virtual functions but non-virtual destructor

g++ -c plugin_runner.cpp -g3 -Wall -I ../../include

../../include/base_plugin.h:30: предупреждение: ‘class BASE_PLUGIN’ has virtual functions but non-virtual destructor

../../include/base_store.h:25: предупреждение: ‘class BASE_STORE’ has virtual functions but non-virtual destructor

../../include/base_auth.h:19: предупреждение: ‘class BASE_AUTH’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<int>’:

user.h:82: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<int>’ has virtual functions but non-virtual destructor

user.h:82: предупреждение: ‘class CHG_PASSIVE_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’:

user.h:92: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >’ has virtual functions but non-virtual destructor

user.h:92: предупреждение: ‘class CHG_TARIFF_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<double>’:

user.h:102: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<double>’ has virtual functions but non-virtual destructor

user.h:102: предупреждение: ‘class CHG_CASH_NOTIFIER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘PROPERTY_NOTIFIER_BASE<unsigned int>’:

users.h:61: instantiated from here

../../include/notifer.h:12: предупреждение: ‘class PROPERTY_NOTIFIER_BASE<unsigned int>’ has virtual functions but non-virtual destructor

users.h:61: предупреждение: ‘class PROPERTY_NOTIFER_IP_BEFORE’ has virtual functions but non-virtual destructor

users.h:72: предупреждение: ‘class PROPERTY_NOTIFER_IP_AFTER’ has virtual functions but non-virtual destructor

traffcounter.h:105: предупреждение: ‘class TRF_IP_BEFORE’ has virtual functions but non-virtual destructor

traffcounter.h:118: предупреждение: ‘class TRF_IP_AFTER’ has virtual functions but non-virtual destructor

../../include/notifer.h: In instantiation of ‘NOTIFIER_BASE<std::_List_iterator<USER> >’:

traffcounter.h:130: instantiated from here

../../include/notifer.h:19: предупреждение: ‘class NOTIFIER_BASE<std::_List_iterator<USER> >’ has virtual functions but non-virtual destructor

g++ admin.o admins.o main.o curr_ip.o settings.o stg_timer.o tariff2.o traffcounter.o user.o user_property.o users.o plugin_runner.o ../../lib/libconffiles.a ../../lib/libstg_common.a ../../lib/libcrypto.a ../../lib/libstg_logger.a ../../lib/libdotconfpp.a ../../lib/libscript_executer.a ../../lib/libstg_pinger.a -g3 -Wl,-E -o stargazer

main.o: In function `LoadStoragePlugin':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/main.cpp:130: undefined reference to `dlopen'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/main.cpp:133: undefined reference to `dlerror'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/main.cpp:138: undefined reference to `dlsym'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/main.cpp:141: undefined reference to `dlerror'

stg_timer.o: In function `RunStgTimer()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/stg_timer.cpp:84: undefined reference to `pthread_create'

traffcounter.o: In function `TRAFFCOUNTER::Stop()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/traffcounter.cpp:170: undefined reference to `pthread_kill'

traffcounter.o: In function `TRAFFCOUNTER::Start()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/traffcounter.cpp:125: undefined reference to `pthread_create'

users.o: In function `USERS::Stop()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/users.cpp:487: undefined reference to `pthread_kill'

users.o: In function `USERS::Start()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/users.cpp:452: undefined reference to `pthread_create'

plugin_runner.o: In function `PLUGIN_RUNNER::Unload()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:133: undefined reference to `dlclose'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:135: undefined reference to `dlerror'

plugin_runner.o: In function `PLUGIN_RUNNER::Load()':

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:86: undefined reference to `dlerror'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:91: undefined reference to `dlopen'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:95: undefined reference to `dlerror'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:102: undefined reference to `dlsym'

/home/scorp/stg-2.4-2007.01.20-13.47.20/projects/stargazer/plugin_runner.cpp:105: undefined reference to `dlerror'

../../lib/libstg_pinger.a(pinger.o): In function `STG_PINGER::Start()':

/root/stg-2.4-2007.01.20-13.47.20/stglibs/pinger.lib/pinger.cpp:49: undefined reference to `pthread_create'

/root/stg-2.4-2007.01.20-13.47.20/stglibs/pinger.lib/pinger.cpp:55: undefined reference to `pthread_create'

collect2: выполнение ld завершилось с кодом возврата 1

make: *** [stargazer] Ошибка 1

Link to post
Share on other sites

Это 2.401 ?

Вижу старые ворнинги по поводу виртуального деструктора (это нормально).

Вижу отсутствие компоновки с -lpthread - а вот это очень подозрительно.

g++ admin.o admins.o main.o curr_ip.o settings.o stg_timer.o tariff2.o traffcounter.o user.o user_property.o users.o plugin_runner.o ../../lib/libconffiles.a ../../lib/libstg_common.a ../../lib/libcrypto.a ../../lib/libstg_logger.a ../../lib/libdotconfpp.a ../../lib/libscript_executer.a ../../lib/libstg_pinger.a -g3 -Wl,-E -o stargazer

Совершенно непонятный кусок. Куда делись -lpthread -ldl?

Какие-то странные у тебя Makefile.

Link to post
Share on other sites
Это 2.401 ?

Вижу старые ворнинги по поводу виртуального деструктора (это нормально).

Вижу отсутствие компоновки с -lpthread - а вот это очень подозрительно.

g++ admin.o admins.o main.o curr_ip.o settings.o stg_timer.o tariff2.o traffcounter.o user.o user_property.o users.o plugin_runner.o ../../lib/libconffiles.a ../../lib/libstg_common.a ../../lib/libcrypto.a ../../lib/libstg_logger.a ../../lib/libdotconfpp.a ../../lib/libscript_executer.a ../../lib/libstg_pinger.a -g3 -Wl,-E -o stargazer

Совершенно непонятный кусок. Куда делись -lpthread -ldl?

Какие-то странные у тебя Makefile.

Это собирался патченый СТГ с первой страницы :)

Так что мне надо сделать|пересобрать|доустановить ?

 

root@Win98:~# g++ --ver

Используются внутренние спецификации.

Целевая архитектура: i486-linux-gnu

Параметры конфигурации: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu

Модель многопотоковости: posix

gcc версия 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

Link to post
Share on other sites

У тебя в каталоге projects/stargazer после сборки должен остаться файлик .OS . Кинь его содержимое сюда, плз.

Link to post
Share on other sites
У тебя в каталоге projects/stargazer после сборки должен остаться файлик .OS . Кинь его содержимое сюда, плз.

linux

 

это все что в этом файле есть

Link to post
Share on other sites

Если честно - тогда я вобще ничего не понимаю.

Все должно работать.

Под рукой есть какой-нибуть другой дистрибутив? Попробовать собрать на нем?

Link to post
Share on other sites

Сделал всё как здесь указанно...имеется следующий вопрос...как запретить впн соеденение больше одного раза одновременно? то есть сейчас можно с двух разных ipесов законектится одновременно под одним логином. Как сиё недразумение исправляется?

Link to post
Share on other sites
  • 1 month later...

Еслибы при работе с впн нормально работал модуль пинга, то можно былобы при впн конекте чекать онлайн ли юзер, и если онлайн то рвать соединение.

Т.е. на мой взгляд нужно доработать пинговалку.

Link to post
Share on other sites

Помогите с MYSQL: при дампе вот что пишет: Наверное должно быть так:

при Импорте теблиц в базу из файла dump.sql

 

ERROR 1064 (42000): You have an error in your SQL syntax; chek the manual that coresponds to your MySQL server version for the right syntax to use near '< dump.sql' at line 1

 

 

Что мне с этим делать?

Link to post
Share on other sites
ошибка синтаксиса

А как ее исправить? Я вообще с тим никогда не сталкивался и незнаю что с этим делать!

 

Несколько минут спустя:

Смотрел в МАН МУСКУЛ и ХЕЛП - ну ничего непонимаю

Edited by ankos
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...