[C++-sig] Building problem on OSF1 platform.

chuzo okuda okuda1 at llnl.gov
Tue Jan 28 20:08:04 CET 2003

I was building boost on alpha cluster using g++ and I get many errors of
this sort:

/usr/include/pthread.h:312:4: #error "Please compile the module
including pthread.h with -pthread"

I am wondering how to turn pthread on instead of tampering with
gcc-tools.jam, and I am not sure how.

There is a line in gcc-tools.jam:

	flags gcc CFLAGS <threading>multi : -pthread ;

Thank you

More information about the Cplusplus-sig mailing list