Scorpikor Posted February 17, 2008 Posted February 17, 2008 Попробуйте переразвернуть архив с сорцами и собрать снова. распаковал заново - таже самая ошибка при сборке ..... cp dotconfpp.h mempool.h ../../include/ cp libdotconfpp.a ../../lib/ Makefile:103: deps: No such file or directory deps:11: *** пропущен разделитель. Останов.
egor2fsys Posted February 17, 2008 Posted February 17, 2008 Странно. Попробуйте поудалять перед новой сборкой все файлы deps из всех каталогов, а также сделать make clean.
Scorpikor Posted February 17, 2008 Posted February 17, 2008 Странно. Попробуйте поудалять перед новой сборкой все файлы deps из всех каталогов, а также сделать make clean. Все сделал - стало еще хуже ############################################################################# Building STG 2.4 for Linux ############################################################################# Makeing stg_logger.lib ../Makefile.in:74: deps: No such file or directory deps:2: *** пропущен разделитель. Останов. не пойму в какую сторону капать ?
den68 Posted February 17, 2008 Posted February 17, 2008 Странно. Попробуйте поудалять перед новой сборкой все файлы 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 версии этих варезов.
Scorpikor Posted February 17, 2008 Posted February 17, 2008 Что в файле 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 $<
Scorpikor Posted February 17, 2008 Posted February 17, 2008 Перед $(CC) стоит двойная табуляция? нет - один таб там стоит
madf Posted February 17, 2008 Posted February 17, 2008 Закинь патченную версию на faust@stg.dp.ua И патчи тоже приложи
Scorpikor Posted February 17, 2008 Posted February 17, 2008 Закинь патченную версию на faust@stg.dp.uaИ патчи тоже приложи выслал
Scorpikor Posted February 21, 2008 Posted February 21, 2008 Вобщем поставил я 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 и вот ошибка и получается
goonman Posted February 22, 2008 Posted February 22, 2008 To Scorpikor Тоже мучился сначало с убунтой. Чегото она не кушала у мну gmake. Установил build-essential и прописал симлинк ln -s /usr/bin/make /usr/bin/gmake Завелось
Scorpikor Posted February 23, 2008 Posted February 23, 2008 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
madf Posted February 23, 2008 Posted February 23, 2008 Это 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.
Scorpikor Posted February 24, 2008 Posted February 24, 2008 Это 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)
madf Posted February 24, 2008 Posted February 24, 2008 У тебя в каталоге projects/stargazer после сборки должен остаться файлик .OS . Кинь его содержимое сюда, плз.
Scorpikor Posted February 26, 2008 Posted February 26, 2008 У тебя в каталоге projects/stargazer после сборки должен остаться файлик .OS . Кинь его содержимое сюда, плз. linux это все что в этом файле есть
madf Posted February 27, 2008 Posted February 27, 2008 Если честно - тогда я вобще ничего не понимаю. Все должно работать. Под рукой есть какой-нибуть другой дистрибутив? Попробовать собрать на нем?
ar2r Posted February 27, 2008 Posted February 27, 2008 Сделал всё как здесь указанно...имеется следующий вопрос...как запретить впн соеденение больше одного раза одновременно? то есть сейчас можно с двух разных ipесов законектится одновременно под одним логином. Как сиё недразумение исправляется?
-HS- Posted April 8, 2008 Author Posted April 8, 2008 Еслибы при работе с впн нормально работал модуль пинга, то можно былобы при впн конекте чекать онлайн ли юзер, и если онлайн то рвать соединение. Т.е. на мой взгляд нужно доработать пинговалку.
ankos Posted April 11, 2008 Posted April 11, 2008 Помогите с 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 Что мне с этим делать?
ankos Posted April 11, 2008 Posted April 11, 2008 (edited) ошибка синтаксиса А как ее исправить? Я вообще с тим никогда не сталкивался и незнаю что с этим делать! Несколько минут спустя: Смотрел в МАН МУСКУЛ и ХЕЛП - ну ничего непонимаю Edited April 11, 2008 by ankos
ankos Posted April 11, 2008 Posted April 11, 2008 (edited) mysql -u stg_user -p mysql> < dump.sql; А также: mysql -u stg_user -p mysql> 'stg_base' <dump.sql; Edited April 11, 2008 by ankos
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now