[mythtv] Compile error on CVS libmyth with pthreads, previously ok

Tommy Faasen mythtv at zwanebloem.nl
Mon Aug 16 10:40:04 EDT 2004


Hi,


Recently I tried to do another update of CVS which fails on pthreads, so perhaps it's an error my system, but I don't know what.

Any help is greatly appreciated.

Gcc is 2.95.4
Distro is Debian stable

Qmake version: 1.06c (Qt 3.2.1)
Linux thuis 2.6.7 #1 Wed Jun 16 19:26:00 CEST 2004 i686 unknown

/mythcvs/mythtv# make
cd libs && make -f Makefile
make[1]: Entering directory `/mnt/fast/newsan/mythcvs/mythtv/libs'
cd libavcodec && make -f Makefile
make[2]: Entering directory `/mnt/fast/newsan/mythcvs/mythtv/libs/libavcodec'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/mnt/fast/newsan/mythcvs/mythtv/libs/libavcodec'
cd libavformat && make -f Makefile
make[2]: Entering directory `/mnt/fast/newsan/mythcvs/mythtv/libs/libavformat'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/mnt/fast/newsan/mythcvs/mythtv/libs/libavformat'
cd libmyth && make -f Makefile
make[2]: Entering directory `/mnt/fast/newsan/mythcvs/mythtv/libs/libmyth'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include -I/usr/include/qt3 -o dialogbox.o dialogbox.cpp
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_alloc.h:71,
                 from /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/vector:31,
                 from mythdialogs.h:15,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
/usr/include/pthread.h:54: warning: `_BITS_PTHREADTYPES_H' redefined
/usr/include/bits/pthreadtypes.h:20: warning: this is the location of the previous definition
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_alloc.h:71,
                 from /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/vector:31,
                 from mythdialogs.h:15,
                 from dialogbox.h:6,
                 from dialogbox.cpp:11:
/usr/include/pthread.h:285: conflicting types for `typedef struct pthread_st * pthread_t'
/usr/include/bits/pthreadtypes.h:142: previous declaration as `typedef long unsigned int pthread_t'
/usr/include/pthread.h:286: conflicting types for `typedef struct pthread_attr_st * pthread_attr_t'
/usr/include/bits/pthreadtypes.h:54: previous declaration as `typedef struct __pthread_attr_s pthread_attr_t'
/usr/include/pthread.h:287: conflicting types for `typedef int pthread_key_t'
/usr/include/bits/pthreadtypes.h:72: previous declaration as `typedef unsigned int pthread_key_t'
/usr/include/pthread.h:289: conflicting types for `typedef int pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:92: previous declaration as `typedef struct pthread_mutexattr_t pthread_mutexattr_t'
/usr/include/pthread.h:290: conflicting types for `typedef struct pthread_mutex_st * pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:85: previous declaration as `typedef struct pthread_mutex_t pthread_mutex_t'
/usr/include/pthread.h:291: conflicting types for `typedef int pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:69: previous declaration as `typedef struct pthread_condattr_t pthread_condattr_t'
/usr/include/pthread.h:292: conflicting types for `typedef struct pthread_cond_st * pthread_cond_t'
/usr/include/bits/pthreadtypes.h:62: previous declaration as `typedef struct pthread_cond_t pthread_cond_t'
/usr/include/pthread.h:293: conflicting types for `typedef int pthread_rwlockattr_t'
/usr/include/bits/pthreadtypes.h:118: previous declaration as `typedef struct pthread_rwlockattr_t pthread_rwlockattr_t'
/usr/include/pthread.h:294: conflicting types for `typedef struct pthread_rwlock_st * pthread_rwlock_t'
/usr/include/bits/pthreadtypes.h:110: previous declaration as `typedef struct _pthread_rwlock_t pthread_rwlock_t'
 
 



More information about the mythtv-dev mailing list