[Ace-users] Application compilation issues on suse 10 ( 64 bit) machine.with ACE_SSL library

sujeet sujeet.jog at gmail.com
Thu Aug 30 08:06:31 CDT 2007


I'm using ACE_SSL on suse 10 ( 64 bit machine )

getting the following errors when compiling my application with
ACE_SSL library.


/usr/include/c++/4.1.0/bits/locale_facets.tcc:2408:35: error: macro
"__str" passed 2 arguments, but takes just 1
./sourcefiles/Main_server.cpp:47:2: warning: no newline at end of file
/usr/include/c++/4.1.0/bits/basic_string.h: In function ?
std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const
std::basic_string<_CharT, _Traits, _Alloc>&, const
std::basic_string<_CharT, _Traits, _Alloc>&)?:
/usr/include/c++/4.1.0/bits/basic_string.h:2069: error: expected
unqualified-id before string constant
/usr/include/c++/4.1.0/bits/basic_string.h:2070: error: ?__str? was
not declared in this scope
/usr/include/c++/4.1.0/bits/basic_string.h: In function ?
std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const
std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)?:
/usr/include/c++/4.1.0/bits/basic_string.h:2106: error: expected
unqualified-id before string constant
/usr/include/c++/4.1.0/bits/basic_string.h:2107: error: ?__str? was
not declared in this scope
/usr/include/c++/4.1.0/bits/basic_string.h: In function ?
std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const
std::basic_string<_CharT, _Traits, _Alloc>&, _CharT)?:
/usr/include/c++/4.1.0/bits/basic_string.h:2123: error: expected
unqualified-id before string constant
/usr/include/c++/4.1.0/bits/basic_string.h:2124: error: ?__str? was
not declared in this scope
In file included from /usr/include/c++/4.1.0/locale:46,
                 from /usr/include/c++/4.1.0/bits/ostream.tcc:45,
                 from /usr/include/c++/4.1.0/ostream:525,
                 from /usr/include/c++/4.1.0/iostream:44,


I'm unable to resolve the following.


My application runs fine in all the other operating systems.....

When is use #include <iostream> in my application following above
error occurs....

Can anybody  provide the suggestions...


Regards,
Sujeet



More information about the Ace-users mailing list