Boost logo

Boost-Build :

Subject: [Boost-build] Newbie: bjam on IBM AIX, undefined .pthread
From: Avi Bahra (avibahra_at_[hidden])
Date: 2009-07-16 12:02:03


I am trying to port my application to IBM AIX.
I am using boost 1.39 with V10.1 compiler. I have managed to build boost ok.
hence I have 'using vacpp ;' in my site-config.jam file

However when I build my application it barfs with:
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
ld: 0711-317 ERROR: Undefined symbol: .pthread_cond_destroy
ld: 0711-317 ERROR: Undefined symbol: .pthread_cond_wait
ld: 0711-317 ERROR: Undefined symbol: .pthread_cond_broadcast
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific

>From googling around the work around is to use xlC_r compiler instead of
xlC

however if change my site-config.jam to "using xlC_r ;" then bjam complains
.

has any one found a workaround for this ?

-- 
  Best regards,
Ta,
   Avi


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk