Compile error . stl_supp.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
 
I am running a RH7.3 machine and using PWLIB 1.5.2 and OPENH323 1.12.2.
 
I encountered the following problem during compilation and I need your help
to figure it out. The previous version of stl_supp.h did not have the prefix greater code
eventhough it was a 2.2.1.
 
Could it be the pwlib or openh323 stuff or just a missing library ?
 
Hope to hear from any of you gurus out there. Thank you.
 
 
Rgds
Yap
 
=============================================================
 
Created dependencies.
make[1]: Entering directory `/home/FromCVSHead/gnugk2.2/openh323gk'
Created dependencies.
make[1]: Leaving directory `/home/FromCVSHead/gnugk2.2/openh323gk'
make optshared debugshared
make[1]: Entering directory `/home/FromCVSHead/gnugk2.2/openh323gk'
make P_SHAREDLIB=1 opt
make[2]: Entering directory `/home/FromCVSHead/gnugk2.2/openh323gk'
g++ -I/usr/include/mysql -DHAS_MYSQL=1 -DLARGE_FDSET=32768 -DHAS_RADIUS=1 -DHAS_MSG_NOSIGNAL=1  -D'M
ANUFACTURER=GNU' -D'PROGRAMMNAME=Gatekeeper' -DPTRACING  -DP_LINUX=2.4.20-18.7 -ffunction-sections
-D_REENTRANT -Wall  -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/home/openh323/../pwlib/include/ptlib/un
ix -I/usr/include/pwlib -I/home/openh323/../pwlib/include -DPTRACING -I/home/openh323/in
clude -DHAS_IXJ -DHAS_OSS -DMAJOR_VERSION=2 -DMINOR_VERSION=2 -DBUILD_NUMBER=1 -DP_USE_PRAGMA -Os -D
NDEBUG  -x c++ -c job.cxx -o obj_linux_x86_r/job.o
In file included from job.cxx:27:
stl_supp.h:154: `::string' undeclared (first use here)
stl_supp.h:154: template argument 1 is invalid
stl_supp.h:154: template argument 2 is invalid
stl_supp.h:156: parse error before `&'
stl_supp.h: In method `bool str_prefix_greater::operator() (...)
const':
stl_supp.h:158: `s1' undeclared (first use this function)
stl_supp.h:158: (Each undeclared identifier is reported only once for
each function it appears in.)
stl_supp.h:158: `s2' undeclared (first use this function)
In file included from /usr/include/g++-3/stdexcept:36,
                 from singleton.h:25,
                 from job.cxx:29:
/usr/include/g++-3/string: At top level:
/usr/include/g++-3/string:9: `typedef class basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> > string'
used prior to declaration
make[2]: *** [obj_linux_x86_r/job.o] Error 1
make[2]: Leaving directory `/home/teyap/FromCVSHead/gnugk2.2/openh323gk'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/home/teyap/FromCVSHead/gnugk2.2/openh323gk'
make: *** [bothshared] Error 2

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux