Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems emerging & installing oops
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
infox
n00b
n00b


Joined: 14 Sep 2002
Posts: 14

PostPosted: Wed Oct 23, 2002 12:12 am    Post subject: problems emerging & installing oops Reply with quote

I am having a problem with the installation of oops. Either way, if I use emerge or try to build the program manually from the sources I get this error during the make process:

Code:

make[2]: Entering directory `/root/oops-1.5.5/src/modules'
g++ -g -O2 -D_REENTRANT -DLINUX -DHAVE_CONFIG_H -shared  gigabase_db_api.cpp -export-dynamic    -lpthread -lfl  -lcrypt -ldl   -o gigabase_db_api.so
In file included from ../environment.h:59,
                 from ../oops.h:26,
                 from gigabase_db_api.cpp:26:
../rwlock.h:54:1: warning: "PTHREAD_RWLOCK_INITIALIZER" redefined
In file included from ../environment.h:57,
                 from ../oops.h:26,
                 from gigabase_db_api.cpp:26:
/usr/include/pthread.h:47:1: warning: this is the location of the previous definition
In file included from ../environment.h:59,
                 from ../oops.h:26,
                 from gigabase_db_api.cpp:26:
../rwlock.h:68: conflicting types for `typedef struct
   pthread_rwlock*pthread_rwlock_t'
/usr/include/bits/pthreadtypes.h:108: previous declaration as `typedef struct
   _pthread_rwlock_t pthread_rwlock_t'
../rwlock.h:69: conflicting types for `typedef struct
   pthread_rwlockattr*pthread_rwlockattr_t'
/usr/include/bits/pthreadtypes.h:116: previous declaration as `typedef struct
   pthread_rwlockattr_t pthread_rwlockattr_t'
../rwlock.h:75: declaration of C function `int
   pthread_rwlock_destroy(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:445: previous declaration `int
   pthread_rwlock_destroy(pthread_rwlock_t*)' here
../rwlock.h:76: declaration of C function `int
   pthread_rwlock_init(pthread_rwlock**, pthread_rwlockattr* const*)' conflicts
   with
/usr/include/pthread.h:442: previous declaration `int
   pthread_rwlock_init(pthread_rwlock_t*, const pthread_rwlockattr_t*)' here
../rwlock.h:77: declaration of C function `int
   pthread_rwlock_rdlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:448: previous declaration `int
   pthread_rwlock_rdlock(pthread_rwlock_t*)' here
../rwlock.h:78: declaration of C function `int
   pthread_rwlock_tryrdlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:451: previous declaration `int
   pthread_rwlock_tryrdlock(pthread_rwlock_t*)' here
../rwlock.h:79: declaration of C function `int
   pthread_rwlock_trywrlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:464: previous declaration `int
   pthread_rwlock_trywrlock(pthread_rwlock_t*)' here
../rwlock.h:80: declaration of C function `int
   pthread_rwlock_unlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:474: previous declaration `int
   pthread_rwlock_unlock(pthread_rwlock_t*)' here
../rwlock.h:81: declaration of C function `int
   pthread_rwlock_wrlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:461: previous declaration `int
   pthread_rwlock_wrlock(pthread_rwlock_t*)' here
../rwlock.h:82: declaration of C function `int
   pthread_rwlockattr_init(pthread_rwlockattr**)' conflicts with
/usr/include/pthread.h:480: previous declaration `int
   pthread_rwlockattr_init(pthread_rwlockattr_t*)' here
../rwlock.h:83: declaration of C function `int
   pthread_rwlockattr_getpshared(pthread_rwlockattr* const*, int*)' conflicts
   with
/usr/include/pthread.h:488: previous declaration `int
   pthread_rwlockattr_getpshared(const pthread_rwlockattr_t*, int*)' here
../rwlock.h:84: declaration of C function `int
   pthread_rwlockattr_setpshared(pthread_rwlockattr**, int)' conflicts with
/usr/include/pthread.h:492: previous declaration `int
   pthread_rwlockattr_setpshared(pthread_rwlockattr_t*, int)' here
../rwlock.h:85: declaration of C function `int
   pthread_rwlockattr_destroy(pthread_rwlockattr**)' conflicts with
/usr/include/pthread.h:483: previous declaration `int
   pthread_rwlockattr_destroy(pthread_rwlockattr_t*)' here
make[2]: *** [gigabase_db_api.so] Error 1
make[2]: Leaving directory `/root/oops-1.5.5/src/modules'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/oops-1.5.5/src'
make: *** [all] Error 2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum