Перейти до

mater

Маглы
  • Всього повідомлень

    5
  • Приєднався

  • Останній візит

mater's Achievements

Пролетал Мимо

Пролетал Мимо (1/9)

0

Репутація

  1. gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
  2. Помогите пожалуйста разобраться в чем дело. в процессе компиляции выдает вот что: Makeing dotconfpp.lib cp dotconfpp.h mempool.h ../../include/ cp libdotconfpp.a ../../lib/ g++ -c admin.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:25: warning: class BASE_STORE' has virtual functions but non-virtual destructor /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_construct.h: In function void std::_Destroy(_ForwardIterator, _ForwardIterator, _Allocator) [with _ForwardIterator = RESETABLE<std::string>*, _Allocator = std::allocator<RESETABLE<std::string> >]': /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_vector.h:273: instantiated from std::vector<_Tp, _Alloc>::~vector() [with _Tp = RESETABLE<std::string>, _Alloc = std::allocator<RESETABLE<std::string> >]' ../../include/user_conf.h:74: instantiated from here /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_construct.h:174: error: no matching function for call to std::allocator<RESETABLE<std::string> >::destroy(std::string*)' /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/ext/mt_allocator.h:614: note: candidates are: void __gnu_cxx::__mt_alloc_base<_Tp>::destroy(_Tp*) [with _Tp = RESETABLE<std::string>] /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../../include/c++/4.0.0/bits/stl_construct.h: In function void std::_Destroy(_ForwardIterator, _ForwardIterator, _Allocator) [with _ForwardIterator = __gnu_cxx::__normal_iterator<RESETABLE<std::string>*, std::vector<RESETABLE<std::string>, std::allocator<RESETABLE<std::string
  3. проблема в том что не компилируется один из модулей admin.cpp компиляция завершается с ошибками. может не хватает каких либо библиотек переустановил линукс с максимально возможным набором библиотек из дистрибутива. результат тот же. не компилируется.
  4. Итак вкратце: 1. Мои знания в линуксе ограничиваются тем что я слышал что такой есть. 2. Собирал в Fedora Core 2.6.11, дистрибутив дал знакомый, у которого stargazer работает. 3. Libexpat устаноил, собрал из expat-2.0.0.tar взял с сайта Expat пробовал делать так ./build >> log.txt вобще в последней строчке запускается компилятор для модуля админ и уже компилятор выдает какие то ошибки при компиляции а по нему логов нету.
  5. ./build выдает вот это: gmake: *** [admin.0] Error1 что может быть?
×
×
  • Створити нове...