Hi,
I am trying to Install BOOST_1_30_0 on HPUX B.11.11 using aCC Version HP ANSI C++ B3910B
A.03.33.
Fisrtly i tried to build the thread libaray under /lib/thread/build using statement
bjam -sTOOLS="acc" -sBuild="debug release"
I tried thread first because the regex compilation was also giving problems.
Though Compiling the threads library result in
MkDir1 ../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi
aCC-C++-action ../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o
Error 19: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 #
Unexpected 'template'.
::template result_<T>
^^^^^^^^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # '{'
expected instead of '<'.
::template result_<T>
^
Error 20: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # '<'
expected before '>'.
::template result_<T>
^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 60 # ';'
expected instead of '{'.
{
^
Error 318: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # A
template name was expected instead of 'T'. Did you forget to define the template?
::template result_<T>
^^
Error 263: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # Object
expected in declaration list.
::template result_<T>
^^
Error 19: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 #
Unexpected 'template'.
struct enable_if : public enabled<Enabled>::template base<T>
^^^^^^^^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # '{'
expected instead of '<'.
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 20: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # '<'
expected before '>'.
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 323 # ';'
expected instead of '{'.
{
^
Error 419: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # 'T' is
used as a type, but has not been defined as a type.
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 318: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # A
template name was expected instead of '<type inserted by compiler>'. Did you forget to
define the template?
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 699: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # Error
limit reached; halting compilation.
struct enable_if : public enabled<Enabled>::template base<T>
^
aCC -AA -c +W823 -I/mnt/r7/apal3/lib/boost_1_30_0 -DBOOST_THREAD_BUILD_DLL=1 -mt -g +Z -I"../../../libs/thread/build" -I"/mnt/r7/apal3/lib/boost_1_30_0" -o "../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o" "../src/condition.cpp"
...failed aCC-C++-action ../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o...
Then i downloaded the lates is_functions.hpp from the CVS which again resulted in
aCC-C++-action ../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o
Error 19: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 #
Unexpected 'template'.
::BOOST_NESTED_TEMPLATE result_<T>
^^^^^^^^^^^^^^^^^^^^^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # '{'
expected instead of '<'.
::BOOST_NESTED_TEMPLATE result_<T>
^
Error 20: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # '<'
expected before '>'.
::BOOST_NESTED_TEMPLATE result_<T>
^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 60 # ';'
expected instead of '{'.
{
^
Error 318: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # A
template name was expected instead of 'T'. Did you forget to define the template?
::BOOST_NESTED_TEMPLATE result_<T>
^^
Error 263: "/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp", line 59 # Object
expected in declaration list.
::BOOST_NESTED_TEMPLATE result_<T>
^^
Error 19: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 #
Unexpected 'template'.
struct enable_if : public enabled<Enabled>::template base<T>
^^^^^^^^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # '{'
expected instead of '<'.
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 20: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # '<'
expected before '>'.
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 24: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 323 # ';'
expected instead of '{'.
{
^
Error 419: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # 'T' is
used as a type, but has not been defined as a type.
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 318: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # A
template name was expected instead of '<type inserted by compiler>'. Did you forget to
define the template?
struct enable_if : public enabled<Enabled>::template base<T>
^
Error 699: "/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp", line 322 # Error
limit reached; halting compilation.
struct enable_if : public enabled<Enabled>::template base<T>
^
aCC -AA -c +W823 -I/mnt/r7/apal3/lib/boost_1_30_0 -DBOOST_THREAD_BUILD_DLL=1 -mt -g +Z -I"../../../libs/thread/build" -I"/mnt/r7/apal3/lib/boost_1_30_0" -o "../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o" "../src/condition.cpp"
...failed aCC-C++-action ../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o...
which is agian the same later i also tried to run configure using
export CXX="aCC"
export CXXFLAGS="-Aa -DAportable -D__HPACC_THREAD_SAFE_RB_TREE -DRWSTD_MULTI_THREAD -DRW_MULTI_THREAD -D_REENTRANT -D_THREAD_SAFE"
export LDFLAGS="-DAportable"
export LIBS="-lpthread"
./configure
and coping the user.hpp to right location still the same error presist.
Is there any way out to compile this? what can be done to resolve it. I don't want to use GCC on HPUX.
Rgds
Albert
---------------------------------
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs