reassign 410692 libpthread-dev thanks On Mon, Feb 12, 2007 at 12:26:46PM -0500, Ben Dean-Kawamura wrote: > > After I install libpthread-dev, I can't compile programs that include > python.hpp. For example a .cpp file that just contains the following > line fails to build: > > #include <boost/python.hpp> > > I compiled it with the following command: > > gcc -I/usr/include/python2.4 -c test.cpp -o test.o
this seems related more to libpthread-dev than Boost. try this: $ cat - > pth_fail.c #include <stdlib.h> #include <pthread.h> $ gcc -c pth_fail.c In file included from pth_fail.c:2: /usr/include/pthread.h:285: error: conflicting types for 'pthread_t' /usr/include/bits/pthreadtypes.h:152: error: previous declaration of 'pthread_t' was here /usr/include/pthread.h:286: error: conflicting types for 'pthread_attr_t' /usr/include/bits/pthreadtypes.h:54: error: previous declaration of 'pthread_attr_t' was here /usr/include/pthread.h:287: error: conflicting types for 'pthread_key_t' /usr/include/bits/pthreadtypes.h:82: error: previous declaration of 'pthread_key_t' was here /usr/include/pthread.h:289: error: conflicting types for 'pthread_mutexattr_t' /usr/include/bits/pthreadtypes.h:102: error: previous declaration of 'pthread_mutexattr_t' was here /usr/include/pthread.h:290: error: conflicting types for 'pthread_mutex_t' /usr/include/bits/pthreadtypes.h:95: error: previous declaration of 'pthread_mutex_t' was here /usr/include/pthread.h:291: error: conflicting types for 'pthread_condattr_t' /usr/include/bits/pthreadtypes.h:79: error: previous declaration of 'pthread_condattr_t' was here /usr/include/pthread.h:292: error: conflicting types for 'pthread_cond_t' /usr/include/bits/pthreadtypes.h:72: error: previous declaration of 'pthread_cond_t' was here cheers domenico -----[ Domenico Andreoli, aka cavok --[ http://people.debian.org/~cavok/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]