Здравствуйте.
Подскажите пожалуйста почему при компиляции сервера stg-2.402.9.7 на Suse 10.0 Linux выдает ошибки? Библиотека libexpat установлена в /usr/lib/.
inetsrv:/home/diman/2006.11.01/server/stg-2.402.9.7/projects/stargazer # ./build
#############################################################################
Building STG 2.4 for Linux
#############################################################################
Makeing stg_logger.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c stg_logger.cpp
ar rc libstg_logger.a stg_logger.o
ranlib libstg_logger.a
cp stg_logger.h ../../include/
cp libstg_logger.a ../../lib/
Makeing crypto.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c ag_md5.c
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c blowfish.cpp
ar rc libcrypto.a ag_md5.o blowfish.o
ranlib libcrypto.a
cp ag_md5.h blowfish.h ../../include/
cp libcrypto.a ../../lib/
Makeing common.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c debug.c
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c stg_error.c
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c common.cpp
ar rc libstg_common.a debug.o stg_error.o common.o
ranlib libstg_common.a
cp debug.h stg_error.h common.h ../../include/
cp libstg_common.a ../../lib/
Makeing conffiles.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c conffiles.cpp
ar rc libconffiles.a conffiles.o
ranlib libconffiles.a
cp conffiles.h ../../include/
cp libconffiles.a ../../lib/
Makeing hostallow.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c hostallow.cpp
ar rc libhostallow.a hostallow.o
ranlib libhostallow.a
cp hostallow.h ../../include/
cp libhostallow.a ../../lib/
Makeing pinger.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c pinger.cpp
ar rc libstg_pinger.a pinger.o
ranlib libstg_pinger.a
cp pinger.h ../../include/
cp libstg_pinger.a ../../lib/
Makeing dotconfpp.lib
../Makefile.in:74: deps: No such file or directory
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c dotconfpp.cpp
g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c mempool.cpp
ar rc libdotconfpp.a dotconfpp.o mempool.o
ranlib libdotconfpp.a
cp dotconfpp.h mempool.h ../../include/
cp libdotconfpp.a ../../lib/
Makefile:95: deps: No such file or directory
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/include/c++/4.0.2/bits/stl_construct.h: In function ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, _Allocator) [with _ForwardIterator = RESETABLE<std::string>*, _Allocator = std::allocator<RESETABLE<std::string> >]’:
/usr/include/c++/4.0.2/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/include/c++/4.0.2/bits/stl_construct.h:174: error: no matching function for call to ‘std::allocator<RESETABLE<std::string> >::destroy(std::string*)’
/usr/include/c++/4.0.2/ext/new_allocator.h:109: note: candidates are: void __gnu_cxx::new_allocator<_Tp>::destroy(_Tp*) [with _Tp = RESETABLE<std::string>]
/usr/include/c++/4.0.2/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> > > >, _Allocator = std::allocator<RESETABLE<std::string> >]’:
/usr/include/c++/4.0.2/bits/vector.tcc:125: instantiated from ‘typename std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, __gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >) [with _Tp = RESETABLE<std::string>, _Alloc = std::allocator<RESETABLE<std::string> >]’
/usr/include/c++/4.0.2/bits/stl_vector.h:425: instantiated from ‘void std::vector<_Tp, _Alloc>::resize(size_t, const _Tp&) [with _Tp = RESETABLE<std::string>, _Alloc = std::allocator<RESETABLE<std::string> >]’
/usr/include/c++/4.0.2/bits/stl_vector.h:442: instantiated from ‘void std::vector<_Tp, _Alloc>::resize(size_t) [with _Tp = RESETABLE<std::string>, _Alloc = std::allocator<RESETABLE<std::string> >]’
../../include/user_conf.h:75: instantiated from here
/usr/include/c++/4.0.2/bits/stl_construct.h:174: error: no matching function for call to ‘std::allocator<RESETABLE<std::string> >::destroy(std::string*)’
/usr/include/c++/4.0.2/ext/new_allocator.h:109: note: candidates are: void __gnu_cxx::new_allocator<_Tp>::destroy(_Tp*) [with _Tp = RESETABLE<std::string>]
gmake: *** [admin.o] Ошибка 1
inetsrv:/home/diman/2006.11.01/server/stg-2.402.9.7/projects/stargazer #