Hello oops,

  Добрый день!

  Вопрос адресован и к разработчику и просто админам :)
  
  Кто нибудь собирал oops 1.5.22 под SuSe 8.0 ?

  з.ы. как старый юзер упса, который начал юзать наверное с самой древней
  первой версии, на "красных кепках" собиралось без проблем... а тут... :(

  Если это поможет то вот что мы имеем:

>buka:/usr/src/oops-1.5.22 # rpm -qa|egrep '(glib|gcc|db)'
glibc-2.3.2-6
libgcc-3.3-23
db-4.0.14-249
glib2-2.2.1-18
glib-1.2.10-372
db-utils-4.0.14-249
db-devel-4.0.14-249
glibc-devel-2.3.2-6
gcc-3.3-23
gcc-c++-3.3-23

>buka:/usr/src/oops-1.5.22 # uname -a
Linux buka 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown unknown GNU/Linux

После подключения BerkeleyDB:
>buka:/usr/src/oops-1.5.22 # ./configure --with-DB=/usr/lib

и в момент сборки, плюет следующее:

(начальная часть опущена т.к. шло без ошибок)

gcc -g -O2 -I/usr/lib/include -D_REENTRANT -DLINUX -DHAVE_CONFIG_H -I/usr/lib/include 
-L/usr/lib/lib -shared  -c fastredir.c
fastredir.c: In function `redir':
fastredir.c:339: warning: comparison between pointer and integer
ld -L/usr/lib/lib -shared -export-dynamic -L/usr/lib/lib -o fastredir.so fastredir.o 
-lpthread   -lcrypt -ldl -L/usr/lib/lib -ldb
gcc -g -O2 -I/usr/lib/include -D_REENTRANT -DLINUX -DHAVE_CONFIG_H -I/usr/lib/include 
-L/usr/lib/lib -shared  -c berkeley_db_api.c
ld -L/usr/lib/lib -shared -export-dynamic -L/usr/lib/lib -o berkeley_db_api.so 
berkeley_db_api.o -lpthread   -lcrypt -ldl -L/usr/lib/lib -ldb
g++ -g -O2 -I/usr/lib/include -D_REENTRANT -DLINUX -DHAVE_CONFIG_H -L/usr/lib/lib 
-shared  gigabase_db_api.cpp -export-dynamic -L/usr/lib/lib   -lpthread   -lcrypt -ldl 
-L/usr/lib/lib -ldb -o gigabase_db_api.so
In file included from ../environment.h:71,
                 from ../oops.h:26,
                 from gigabase_db_api.cpp:35:
../rwlock.h:68: error: conflicting types for `typedef struct 
   pthread_rwlock*pthread_rwlock_t'
/usr/include/bits/pthreadtypes.h:118: error: previous declaration as `typedef 
   struct _pthread_rwlock_t pthread_rwlock_t'
../rwlock.h:69: error: conflicting types for `typedef struct 
   pthread_rwlockattr*pthread_rwlockattr_t'
/usr/include/bits/pthreadtypes.h:126: error: previous declaration as `typedef 
   struct pthread_rwlockattr_t pthread_rwlockattr_t'
../rwlock.h:75: error: declaration of C function `int 
   pthread_rwlock_destroy(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:445: error: previous declaration `int 
   pthread_rwlock_destroy(pthread_rwlock_t*)' here
../rwlock.h:76: error: declaration of C function `int 
   pthread_rwlock_init(pthread_rwlock**, pthread_rwlockattr* const*)' conflicts 
   with
/usr/include/pthread.h:442: error: previous declaration `int 
   pthread_rwlock_init(pthread_rwlock_t*, const pthread_rwlockattr_t*)' here
../rwlock.h:77: error: declaration of C function `int 
   pthread_rwlock_rdlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:448: error: previous declaration `int 
   pthread_rwlock_rdlock(pthread_rwlock_t*)' here
../rwlock.h:78: error: declaration of C function `int 
   pthread_rwlock_tryrdlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:451: error: previous declaration `int 
   pthread_rwlock_tryrdlock(pthread_rwlock_t*)' here
../rwlock.h:79: error: declaration of C function `int 
   pthread_rwlock_trywrlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:464: error: previous declaration `int 
   pthread_rwlock_trywrlock(pthread_rwlock_t*)' here
../rwlock.h:80: error: declaration of C function `int 
   pthread_rwlock_unlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:474: error: previous declaration `int 
   pthread_rwlock_unlock(pthread_rwlock_t*)' here
../rwlock.h:81: error: declaration of C function `int 
   pthread_rwlock_wrlock(pthread_rwlock**)' conflicts with
/usr/include/pthread.h:461: error: previous declaration `int 
   pthread_rwlock_wrlock(pthread_rwlock_t*)' here
../rwlock.h:82: error: declaration of C function `int 
   pthread_rwlockattr_init(pthread_rwlockattr**)' conflicts with
/usr/include/pthread.h:480: error: previous declaration `int 
   pthread_rwlockattr_init(pthread_rwlockattr_t*)' here
../rwlock.h:83: error: declaration of C function `int 
   pthread_rwlockattr_getpshared(pthread_rwlockattr* const*, int*)' conflicts 
   with
/usr/include/pthread.h:488: error: previous declaration `int 
   pthread_rwlockattr_getpshared(const pthread_rwlockattr_t*, int*)' here
../rwlock.h:84: error: declaration of C function `int 
   pthread_rwlockattr_setpshared(pthread_rwlockattr**, int)' conflicts with
/usr/include/pthread.h:492: error: previous declaration `int 
   pthread_rwlockattr_setpshared(pthread_rwlockattr_t*, int)' here
../rwlock.h:85: error: declaration of C function `int 
   pthread_rwlockattr_destroy(pthread_rwlockattr**)' conflicts with
/usr/include/pthread.h:483: error: previous declaration `int 
   pthread_rwlockattr_destroy(pthread_rwlockattr_t*)' here
make[2]: *** [gigabase_db_api.so] Error 1
make[2]: Leaving directory `/usr/src/oops-1.5.22/src/modules'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/oops-1.5.22/src'
make: *** [all] Error 2

з.ы. причем тут гигабейз? я же его не подключал.

-- 
==============================================================
  System Administrator    ||            mailto:[EMAIL PROTECTED]
    -=InfoNET ISP=-       ||             http://www.InfoNET.uz
 (tm) 2000-01 -=InfoNET=- ||               Tashkent/Uzbekistan
==============================================================
Бытовой компьютеp ЕС1053 "Макpоша" ;)

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/

Дати відповідь електронним листом