
Im trying to compile the asio example: but when compiling on solaris x64, I get the following error:
I compiled boost using bjam address-model=64
if [ ! -d .deps/ ]; then mkdir -p .deps/; fi
CC -xM1 -library=stlport4 -erroff=nonewline -I ./Lib/boost -I../../sdk/include64 -I../../sdk/examples -DSOLARIS -DSOLARIS64 -DNDEBUG -D_POSIX_PTHREAD_SEMANTICS -KPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -mt -erroff=nonewline -library=stlport4 -xarch=generic -xchip=generic -xO5 -xmodel=medium -xdepend=yes -fsimple=2 -fns=yes -ftrap=%none -xlibmil -xbuiltin=%all -nofstore -Qoption CC -iropt -Qoption CC -xcallee64 -Qoption ube -xcallee=yes -m64 -xarch=generic -xregs=no%frameptr -erroff=nonewline main.cpp | sed -e 's/^.*\.o *:/ main.o:/' > .deps/main.o.d
CC -I ./Lib/boost -I../../sdk/include64 -I../../sdk/examples -DSOLARIS -DSOLARIS64 -DNDEBUG -D_POSIX_PTHREAD_SEMANTICS -KPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -mt -erroff=nonewline -library=stlport4 -xarch=generic -xchip=generic -xO5 -xmodel=medium -xdepend=yes -fsimple=2 -fns=yes -ftrap=%none -xlibmil -xbuiltin=%all -nofstore -Qoption CC -iropt -Qoption CC -xcallee64 -Qoption ube -xcallee=yes -m64 -xarch=generic -xregs=no%frameptr -erroff=nonewline -c main.cpp -o main.o
"./Lib/boost/boost/asio/basic_socket_iostream.hpp", line 113: Error: Type name expected instead of "BOOST_PP_REPEAT_FROM_TO_1".
"./Lib/boost/boost/asio/ip/tcp.hpp", line 98: Where: While specializing "boost::asio::basic_socket_iostream
Hi All,
I need some help with compiling boost for solaris x64. When I try to compile the bjam, I get a x86
x86 build of bjam itself is fine.
version of bjam and boost, any idea what setting/flag I need to use on bjam?
Use bjam address-model=64 - Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users