Boost logo

Boost Users :

From: Mark.Gibbons_at_[hidden]
Date: 2005-07-04 07:00:31


Rene
thanks. One step further! Now I've got it building on the first file I get
this error which is repeated for subsequent files:

*************************************
xlc-C++-action
bin/boost/libs/date_time/build/libboost_date_time.so/vacpp/debug/greg_month.o
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/detail/shared_count.hpp",
 line 366.27: 1540-0152 (W) A template dependent name that is a type must
be qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/shared_ptr.hpp",
 line 85.86: 1540-0152 (W) A template dependent name that is a type must be
qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/shared_ptr.hpp",
 line 197.25: 1540-0152 (W) A template dependent name that is a type must
be qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/shared_ptr.hpp",
 line 221.28: 1540-0152 (W) A template dependent name that is a type must
be qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/shared_ptr.hpp",
 line 434.37: 1540-0152 (W) A template dependent name that is a type must
be qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/shared_ptr.hpp",
 line 434.76: 1540-0152 (W) A template dependent name that is a type must
be qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/date_time/period.hpp",
 line 54.35: 1540-0716 (S) The template argument "boost::date_time::period"
does not match the template parameter "class T".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/date_time/int_adapter.hpp",
 line 475.3: 1540-0152 (W) A template dependent name that is a type must be
qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/date_time/int_adapter.hpp",
 line 476.14: 1540-0152 (W) A template dependent name that is a type must
be qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/date_time/date_duration.hpp",
 line 25.36: 1540-0716 (S) The template argument
"boost::date_time::date_duration" does not match the template parameter
"class T".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/mpl/aux_/integral_wrapper.hpp",
 line 69.13: 1540-0152 (W) A template dependent name that is a type must be
qualified with "typename".
"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/boost/mpl/aux_/integral_wrapper.hpp",
 line 70.13: 1540-0152 (W) A template dependent name that is a type must be
qualified with "typename".
xlC: 1501-230 Internal compiler error; please contact your Service
Representative

    xlC -c -I/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0
-DBOOST_ALL_DYN_LINK=1 -qNOOPTimize -qnoinline -g -qfullpath -qnotempinc
-qfuncsect -qeh -qrtti -I"bin/boost/libs/date_time/build"
-I"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0" -o
"bin/boost/libs/date_time/build/libboost_date_time.so/vacpp/debug/greg_month.o"

"/view/gibbonsm/vobs/fxsystems/fxorapido/external/boost_1_32_0/libs/date_time/build/../src/gregorian/greg_month.cpp"

...failed xlc-C++-action
bin/boost/libs/date_time/build/libboost_date_time.so/vacpp/debug/greg_month.o...
...skipped
<@boost!libs!date_time!build/libboost_date_time.so/vacpp/debug>libboost_date_time-xlc-d-1_32.so
 for lack of
<@boost!libs!date_time!build/libboost_date_time.so/vacpp/debug>greg_month.o...
...skipped <@boost!lib>libboost_date_time-xlc-d-1_32.so for lack of
<@boost!libs!date_time!build/libboost_date_time.so/vacpp/debug>libboost_date_time-xlc-d-1_32.so...
xlc-C++-action
bin/boost/libs/date_time/build/libboost_date_time.so/vacpp/debug/threading-multi/greg_month.o
^C...interrupted
*************************************

I'm using VACPP v5. Any ideas? If I use gcc 'bjam "-sTOOLS=gcc" stage' I
get:

Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2
/specs
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld
--disable-nls --enable-languages=c,c++ --prefix=/opt/freeware
--enable-threads --enable-version-specific-runtime-libs
--host=powerpc-ibm-aix5.1.0.0
Thread model: aix
gcc version 3.3.2

*************************************
...found 4449 targets...
...updating 154 targets...
gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_32.so

    set -e

LIBPATH=bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true:$LIBPATH
    export LIBPATH
    "g++" -g -fPIC -shared -o
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_32.so"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/greg_month.o"
 "bin/boost/libs/date_time/build/libboost_date_time.so/gcc/
debug/shared-linkable-true/greg_weekday.o"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/date_generators.o"

...failed gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/libboost_date_time-gcc-d-1_32.so...
...skipped <@boost!lib>libboost_date_time-gcc-d-1_32.so for lack of
<@boost!libs!date_time!build/libboost_date_time.so/gcc/debug/shared-linkable-true>libboos
t_date_time-gcc-d-1_32.so...
gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/threading-multi/libboost_date_time-gcc-mt-d-1_32.so

    set -e

LIBPATH=bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/threading-multi:$LIBPATH
    export LIBPATH
    "g++" -g -pthread -fPIC -shared -o
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/threading-multi/libboost_dat
e_time-gcc-mt-d-1_32.so"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/threading-multi/greg_month.o"
 "bin/boost/lib
s/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/threading-multi/greg_weekday.o"
 "bin/boost/libs/date_time/build/libboost_date_time.so/
gcc/debug/shared-linkable-true/threading-multi/date_generators.o" -lrt

...failed gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/debug/shared-linkable-true/threading-multi/libboost_date_time-gcc-mt-d-1_3
2.so...
...skipped <@boost!lib>libboost_date_time-gcc-mt-d-1_32.so for lack of
<@boost!libs!date_time!build/libboost_date_time.so/gcc/debug/shared-linkable-true/thre
ading-multi>libboost_date_time-gcc-mt-d-1_32.so...
gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc/release/shared-linkable-true/libboost_date_time-gcc-1_32.so

    set -e

LIBPATH=bin/boost/libs/date_time/build/libboost_date_time.so/gcc/release/shared-linkable-true:$LIBPATH
    export LIBPATH
    "g++" -s -fPIC -shared -o
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/release/shared-linkable-true/libboost_date_time-gcc-1_32.so"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/release/shared-linkable-true/greg_month.o"
 "bin/boost/libs/date_time/build/libboost_date_time.so/gc
c/release/shared-linkable-true/greg_weekday.o"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc/release/shared-linkable-true/date_generators.o"

In stderr I see:

ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
collect2: library librt not found
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
collect2: library librt not found
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
collect2: library librt not found
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
collect2: library librt not found
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock

*************************************

TIA
-Mark

|---------+----------------------------------->
| | Rene Rivera |
| | <grafik.list_at_redshift-so|
| | ftware.com> |
| | Sent by: |
| | boost-users-bounces_at_list|
| | s.boost.org |
| | |
| | |
| | 30/06/2005 21:48 |
| | Please respond to |
| | boost-users |
| | |
|---------+----------------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: boost-users_at_[hidden] |
  | cc: |
  | Subject: Re: [Boost-users] Building on AIX |
>------------------------------------------------------------------------------------------------------------------------------|

Mark.Gibbons_at_[hidden] wrote:
> Hi
> I'm trying to build Boost 1_32_0 on AIX using vacpp/xlc 5.0.
>
> I've managed to build bjam with with xlc but I'm not sure if I need
Python
> to run the Boost build.

You don't need it. You only need it if you want to use the Boost.Python
C++ to/from Python binding library.

> I get the following "error" when I run the build:

It's more of a warning. You can ignore it if you don't care about
Boost.Python.

--
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net