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: Martin Guy
Subject: Re: [Gnash-dev] ./configure problems with C++ preprocessor hash_map and boost lightweight_mutex
Date: Tue, 24 Apr 2007 19:52:23 +0100

2007/4/24, Matt Anderson <address@hidden>:
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)

Unless you're running a very old system, I wouldn't have thought you'd
want those at all. Nowadays libc6-dev provides everything necessary in
the way of thread headers, unless ubuntu have done something funny to
the libc/pthread package structure.

/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'
...

Note that the preferred Linux thread mechanism changed completely a
few years back, from linuxthreads, a glibc add-on which does
everything in userspace, to NPTL (Native Posix Thread Library), where
threading is performed in the kernel.

It looks like you have a mixture of linuxthreads and NPTL headers. I'd
try removing those libpthread packages and see what happens.

What version of the kernel are you running (`uname -r`) ?

   M




reply via email to

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