Re: Compile error . stl_supp.h

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

 



Hi ZM,

Thanks. Compiles okay now. Will this piece of code be included in the next
2.2.1 upgrade ?

Rgds
Yap
----- Original Message ----- 
From: "Zygmuntowicz Michal" <m.zygmuntowicz@xxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Sunday, January 16, 2005 9:40 PM
Subject: Re:  Compile error . stl_supp.h


> You may try to insert #include <string> line and report if it works.
>
> ----- Original Message ----- 
> From: "Yap Teong Eng" <teyap@xxxxxxxxxxxxxxxxxxx>
> Sent: Sunday, January 16, 2005 1:31 PM
>
>
> 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 -D
HAS_MSG_NOSIGNAL=1
>   -D'M
>
NUFACTURER=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/../pw
lib/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
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>
> _______________________________________________________
>
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux