infox n00b
Joined: 14 Sep 2002 Posts: 14
|
Posted: Wed Oct 23, 2002 12:12 am Post subject: problems emerging & installing oops |
|
|
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
|
|
|