Mailinglist Archive: opensuse (4253 mails)
| < Previous | Next > |
[opensuse] pthread compiling problem
- From: "Donato Azevedo" <donatoaz@xxxxxxxxx>
- Date: Mon, 1 Oct 2007 18:41:30 -0300
- Message-id: <1746e3e30710011441q50b9c6cyef3c82f15d7ac7b6@xxxxxxxxxxxxxx>
Hi everyone!
I am having a problem compiling several packages because of a pthreads
include problem.
When I try and compile a wxWidgets app or rta (www.rtai.org) I get the
following error:
/usr/local/include/pthread.h:285: error: conflicting declaration
'typedef struct pthread_st* pthread_t'
/usr/include/bits/pthreadtypes.h:36: error: 'pthread_t' has a previous
declaration as 'typedef long unsigned int pthread_t'
/usr/local/include/pthread.h:286: error: conflicting declaration
'typedef struct pthread_attr_st* pthread_attr_t'
/usr/include/bits/pthreadtypes.h:43: error: 'pthread_attr_t' has a
previous declaration as 'typedef union pthread_attr_t pthread_attr_t'
/usr/local/include/pthread.h:287: error: conflicting declaration
'typedef int pthread_key_t'
/usr/include/bits/pthreadtypes.h:109: error: 'pthread_key_t' has a
previous declaration as 'typedef unsigned int pthread_key_t'
/usr/local/include/pthread.h:289: error: conflicting declaration
'typedef int pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:79: error: 'pthread_mutexattr_t' has
a previous declaration as 'typedef union pthread_mutexattr_t
pthread_mutexattr_t'
/usr/local/include/pthread.h:290: error: conflicting declaration
'typedef struct pthread_mutex_st* pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:73: error: 'pthread_mutex_t' has a
previous declaration as 'typedef union pthread_mutex_t
pthread_mutex_t'
/usr/local/include/pthread.h:291: error: conflicting declaration
'typedef int pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:105: error: 'pthread_condattr_t' has
a previous declaration as 'typedef union pthread_condattr_t
pthread_condattr_t'
/usr/local/include/pthread.h:292: error: conflicting declaration
'typedef struct pthread_cond_st* pthread_cond_t'
/usr/include/bits/pthreadtypes.h:99: error: 'pthread_cond_t' has a
previous declaration as 'typedef union pthread_cond_t pthread_cond_t'
/usr/local/include/pthread.h:293: error: conflicting declaration
'typedef int pthread_rwlockattr_t'
/usr/include/bits/pthreadtypes.h:142: error: 'pthread_rwlockattr_t'
has a previous declaration as 'typedef union pthread_rwlockattr_t
pthread_rwlockattr_t'
/usr/local/include/pthread.h:294: error: conflicting declaration
'typedef struct pthread_rwlock_st* pthread_rwlock_t'
/usr/include/bits/pthreadtypes.h:136: error: 'pthread_rwlock_t' has a
previous declaration as 'typedef union pthread_rwlock_t
pthread_rwlock_t'
/home/donato/devel/rtai-toolchain/rtai/base/config/kconfig/qconf.h:105:
error: extra qualification 'ConfigList::' on member 'updateMenuList'
make[2]: *** [qconf.o] Error 1
make[2]: Leaving directory
`/home/donato/devel/rtai-toolchain/rtai-3.5-test1/base/config/kconfig'
make[1]: *** [qconf] Error 2
make[1]: Leaving directory
`/home/donato/devel/rtai-toolchain/rtai-3.5-test1/base/config/kconfig'
make: *** [qconf] Error 2
I read in a debian forum that this could be solved by uninstalling
libpthread-dev but openSuSe does not have this package... from what
Ive seen pthread.h is bundled with glibc-devel package (which I have
installed).
What can I do? Has anyone had the same problem?
--
Donato Azevedo
Control and Automation Eng.
UFMG - Brazil
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
I am having a problem compiling several packages because of a pthreads
include problem.
When I try and compile a wxWidgets app or rta (www.rtai.org) I get the
following error:
/usr/local/include/pthread.h:285: error: conflicting declaration
'typedef struct pthread_st* pthread_t'
/usr/include/bits/pthreadtypes.h:36: error: 'pthread_t' has a previous
declaration as 'typedef long unsigned int pthread_t'
/usr/local/include/pthread.h:286: error: conflicting declaration
'typedef struct pthread_attr_st* pthread_attr_t'
/usr/include/bits/pthreadtypes.h:43: error: 'pthread_attr_t' has a
previous declaration as 'typedef union pthread_attr_t pthread_attr_t'
/usr/local/include/pthread.h:287: error: conflicting declaration
'typedef int pthread_key_t'
/usr/include/bits/pthreadtypes.h:109: error: 'pthread_key_t' has a
previous declaration as 'typedef unsigned int pthread_key_t'
/usr/local/include/pthread.h:289: error: conflicting declaration
'typedef int pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:79: error: 'pthread_mutexattr_t' has
a previous declaration as 'typedef union pthread_mutexattr_t
pthread_mutexattr_t'
/usr/local/include/pthread.h:290: error: conflicting declaration
'typedef struct pthread_mutex_st* pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:73: error: 'pthread_mutex_t' has a
previous declaration as 'typedef union pthread_mutex_t
pthread_mutex_t'
/usr/local/include/pthread.h:291: error: conflicting declaration
'typedef int pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:105: error: 'pthread_condattr_t' has
a previous declaration as 'typedef union pthread_condattr_t
pthread_condattr_t'
/usr/local/include/pthread.h:292: error: conflicting declaration
'typedef struct pthread_cond_st* pthread_cond_t'
/usr/include/bits/pthreadtypes.h:99: error: 'pthread_cond_t' has a
previous declaration as 'typedef union pthread_cond_t pthread_cond_t'
/usr/local/include/pthread.h:293: error: conflicting declaration
'typedef int pthread_rwlockattr_t'
/usr/include/bits/pthreadtypes.h:142: error: 'pthread_rwlockattr_t'
has a previous declaration as 'typedef union pthread_rwlockattr_t
pthread_rwlockattr_t'
/usr/local/include/pthread.h:294: error: conflicting declaration
'typedef struct pthread_rwlock_st* pthread_rwlock_t'
/usr/include/bits/pthreadtypes.h:136: error: 'pthread_rwlock_t' has a
previous declaration as 'typedef union pthread_rwlock_t
pthread_rwlock_t'
/home/donato/devel/rtai-toolchain/rtai/base/config/kconfig/qconf.h:105:
error: extra qualification 'ConfigList::' on member 'updateMenuList'
make[2]: *** [qconf.o] Error 1
make[2]: Leaving directory
`/home/donato/devel/rtai-toolchain/rtai-3.5-test1/base/config/kconfig'
make[1]: *** [qconf] Error 2
make[1]: Leaving directory
`/home/donato/devel/rtai-toolchain/rtai-3.5-test1/base/config/kconfig'
make: *** [qconf] Error 2
I read in a debian forum that this could be solved by uninstalling
libpthread-dev but openSuSe does not have this package... from what
Ive seen pthread.h is bundled with glibc-devel package (which I have
installed).
What can I do? Has anyone had the same problem?
--
Donato Azevedo
Control and Automation Eng.
UFMG - Brazil
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |