[asio].[solaris].[1_33_1] problem in compiling test case

Hi, I have tried using boost 1_33_1 on Solaris machine, while compiling the program I am getting some errors. Can anybody help me out? The detail of the compilation is as follows: Boost Version: 1_33_1 Compiler Details: Sun Studio 11: C++ 5.8 Compiler OS Details: SunOS FICTESTING 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-280R While compiling "buffered_read_stream.cpp" I am getting the following : $CC -I$HOME/1.33.1/64/include/ -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -library=stlport4 -features=tmplife -features=tmplrefstatic buffered_ read_stream.cpp -lnsl -lsocket -lxnet Undefined first referenced symbol in file std::string boost::system::error_code::message()const buffered_read_stream.o boost::system::error_category boost::system::error_code::new_category(int(*)(const boo st::system::error_code&),std::string (*)(const boost::system::error_code&),std::wstrin g (*)(const boost::system::error_code&)) buffered_read_stream.o ld: fatal: Symbol referencing errors. No output written to a.out Regards, Gaurav DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

Hi Simon, On Mon, 19 Feb 2007 14:51:38 +0300, "Simon Atanasyan" <atanasyan@gmail.com> said:
Is "buffered_read_stream.cpp" included in the Boost 1.33.1 distributive? Could you please provide a full path to it?.
Actually Gaurav is referring to a file included in the Boost.Asio package from here: http://sourceforge.net/project/showfiles.php?group_id=122478 where the package has been extracted over the top of a boost 1.33.1 distro.
I gather from Gaurav's later messages that he worked this problem out. It seems to be simply a linker error due to not linking against the boost.system library. Cheers, Chris
participants (3)
-
Christopher Kohlhoff
-
Gaurav.Jain@iflexsolutions.com
-
Simon Atanasyan