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 12:41:13 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Apr 24, 2007 at 05:49:37PM +0200, Tomas Groth wrote:
> try running ./autogen.sh" from the build dir instead of just autoconf. Also
> make sure you got the newest versions of automake and autoconf, since some
> distros got multiple versions to choose from.

Hey that worked!  :) thanks

So it turned out that I was missing automake  -- ugh
Even after that ./autogen.sh complained about libltdl not being on my
system.  I installed libltdl3-dev and then ./autogen.sh worked.

Once that was done ./configure still complained that I was missing 
libboost-date-time-dev and libboost-thread-dev but after I added those
./configure worked perfectly!

Then I typed make...

address@hidden:~/src/gnash$ make
make  all-recursive
make[1]: Entering directory `/home/mra/src/gnash'
Making all in libltdl
make[2]: Entering directory `/home/mra/src/gnash/libltdl'
cd . && /bin/bash /home/mra/src/gnash/libltdl/missing --run autoheader
rm -f stamp-h1
touch config-h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[3]: Entering directory `/home/mra/src/gnash/libltdl'
make[3]: Leaving directory `/home/mra/src/gnash/libltdl'
make[2]: Leaving directory `/home/mra/src/gnash/libltdl'
Making all in libbase
make[2]: Entering directory `/home/mra/src/gnash/libbase'
/bin/bash ../libtool --tag=CXX   --mode=compile 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-config.lo -MD -MP -MF
.deps/libgnashbase_la-config.Tpo -c -o libgnashbase_la-config.lo `test
-f 'config.cpp' || echo './'`config.cpp
mkdir .libs
 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-config.lo -MD -MP -MF
.deps/libgnashbase_la-config.Tpo -c config.cpp  -fPIC -DPIC -o
.libs/libgnashbase_la-config.o
mv -f .deps/libgnashbase_la-config.Tpo .deps/libgnashbase_la-config.Plo
/bin/bash ../libtool --tag=CXX   --mode=compile 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 -o libgnashbase_la-container.lo
`test -f 'container.cpp' || echo './'`container.cpp
 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


Thanks for all the suggestions and help so far.

-matt




reply via email to

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