[openamq-dev] TRACE of build on AIX v5.3

Martin Lucina mato at imatix.com
Sun Jul 15 22:34:36 CEST 2007


Hi John,

john.murphy at dowjones.com said:
> Here is the trace of the build

Thanks.  I didn't realise you were building using the MT build model.
Unfortunately, POSIX threads are still not 100% portable between
implementations, and a quick read of the IBM AIX 5L porting guide shows
that AIX has it's own specifics.

If you just want to try OpenAMQ, you can always build with a build model
of "st,release" which will not be ideal both performance and
functionality-wise but should at least build and run.

Alternatively, if you want to experiment with MT builds, try doing the
following:

Set the following environment variables at build time:

BOOM_MODEL=mt,release
CC=xlc_r
CCNAME=xlc_r
CCOPTS="-qHALT=E -qfullpath -U__STR__ -D_THREAD_SAFE -DUSE_IRS -D_LARGEFILE64_SOURCE -DICL_MEM_DEFAULT_DIRECT"
CCLIBS="-lpthread"
BOOM_TRACE=1

you may also need to add any of "-lsocket", "-lnsl", "-luuid", "-lrt" to
CCLIBS, I'm not sure which of these AIX provides/requires.

We can't guarantee that the code will run correctly under a MT build on
AIX, but if you do get it to work with the above let us know.

Regards,

-mato


More information about the openamq-dev mailing list