gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] ./configure problems with C++ preprocessor hash_map and


From: Matt Anderson
Subject: Re: [Gnash-dev] ./configure problems with C++ preprocessor hash_map and boost lightweight_mutex
Date: Tue, 24 Apr 2007 14:31:24 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

I still can't run make.  I get pthread.h errors on
gnash/libbase/container.cpp (included below)

I currently have installed:
libpthread-dev 2.0.7-4build1 The GNU Portable Threads (pthread emulation, 
libpthread-stubs0 0.1-1build1 pthread stubs not provided by native libc
libpthread-stubs0-dev 0.1-1build1 pthread stubs not provided by native libc, de
libpthread20 2.0.7-4build1 The GNU Portable Threads (pthread emulation)

Do I have the wrong thread library?  ./configure seems to find it and
reports:
        POSIX Threads flags are: -pthread
        POSIX Threads lib is: -lpthread

-matt

 g++ -DHAVE_CONFIG_H -I. -I..
-DPLUGINSDIR=\"/usr/local/lib/gnash/plugins\" -I.. -I. -I.. -I../libamf
-I../server -I../server/swf -pthread -I/usr/include/libxml2
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/ffmpeg -g -O2 -pthread
-march=k8 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith
-Wreturn-type -MT libgnashbase_la-container.lo -MD -MP -MF
.deps/libgnashbase_la-container.Tpo -c container.cpp  -fPIC -DPIC -o
.libs/libgnashbase_la-container.o
/usr/include/pthread.h:285: error: conflicting declaration 'typedef
struct pthread_st* pthread_t'
/usr/include/bits/pthreadtypes.h:50: error: 'pthread_t' has a previous
declaration as 'typedef long unsigned int pthread_t'
/usr/include/pthread.h:286: error: conflicting declaration 'typedef
struct pthread_attr_st* pthread_attr_t'
/usr/include/bits/pthreadtypes.h:57: error: 'pthread_attr_t' has a
previous declaration as 'typedef union pthread_attr_t pthread_attr_t'
/usr/include/pthread.h:287: error: conflicting declaration 'typedef int
pthread_key_t'
/usr/include/bits/pthreadtypes.h:140: error: 'pthread_key_t' has a
previous declaration as 'typedef unsigned int pthread_key_t'
/usr/include/pthread.h:289: error: conflicting declaration 'typedef int
pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:110: error: 'pthread_mutexattr_t' has a
previous declaration as 'typedef union pthread_mutexattr_t
pthread_mutexattr_t'
/usr/include/pthread.h:290: error: conflicting declaration 'typedef
struct pthread_mutex_st* pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:104: error: 'pthread_mutex_t' has a
previous declaration as 'typedef union pthread_mutex_t pthread_mutex_t'
/usr/include/pthread.h:291: error: conflicting declaration 'typedef int
pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:136: error: 'pthread_condattr_t' has a
previous declaration as 'typedef union pthread_condattr_t
pthread_condattr_t'
/usr/include/pthread.h:292: error: conflicting declaration 'typedef
struct pthread_cond_st* pthread_cond_t'
/usr/include/bits/pthreadtypes.h:130: error: 'pthread_cond_t' has a
previous declaration as 'typedef union pthread_cond_t pthread_cond_t'
/usr/include/pthread.h:293: error: conflicting declaration 'typedef int
pthread_rwlockattr_t'
/usr/include/bits/pthreadtypes.h:192: error: 'pthread_rwlockattr_t' has
a previous declaration as 'typedef union pthread_rwlockattr_t
pthread_rwlockattr_t'
/usr/include/pthread.h:294: error: conflicting declaration 'typedef
struct pthread_rwlock_st* pthread_rwlock_t'
/usr/include/bits/pthreadtypes.h:186: error: 'pthread_rwlock_t' has a
previous declaration as 'typedef union pthread_rwlock_t
pthread_rwlock_t'
make[2]: *** [libgnashbase_la-container.lo] Error 1
make[2]: Leaving directory `/home/mra/src/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mra/src/gnash'
make: *** [all] Error 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]