Sohail Somani | 21 May 06:08

Re: compiling boost on AIX gives pthread errors

Andrej van der Zee wrote:
> Hi,
> 
> I think it is related to my AIX installation or
> something (sorry for misusing the boost news group).
> Even the smallest program does not compile:
> 
> #include  <iostream>
> 
> using namespace std;
> 
> int main (void)
> {
>    cout << "Hello World!\n";
> 
>    return 0;
> }

If you are using the IBM provided gcc (4.0?), I found that was 
hopelessly broken. I do remember a XOPEN macro being involved. I've 
learned to block out the memory so I can't help you much more than that.

I think I was better off compiling it myself so maybe that would help you.

Like others said, good luck ;-)

Sohail

Gmane