# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --enable-threads=posix --disable-checking --enable-long-long 
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java 
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)



Результат компилирования с gcc 3.2

до этого момента ошибок нет.

In file included from ../environment.h:71,
                 from ../oops.h:26,
                 from gigabase_db_api.cpp:35:
../rwlock.h:68: conflicting types for `typedef struct 
pthread_rwlock*pthread_rwloc
k_t'
/usr/include/bits/pthreadtypes.h:108: previous declaration as `typedef struct 
_pth
read_rwlock_t pthread_rwlock_t'
../rwlock.h:69: conflicting types for `typedef struct 
pthread_rwlockattr*pthread_r
wlockattr_t'
/usr/include/bits/pthreadtypes.h:116: previous declaration as `typedef struct 
pthr
ead_rwlockattr_t pthread_rwlockattr_t'
../rwlock.h:75: declaration of C function `int 
pthread_rwlock_destroy(pthread_rwlo
ck**)' conflicts with
/usr/include/pthread.h:445: previous declaration `int 
pthread_rwlock_destroy(pthre
ad_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_rwloc
k**)' conflicts with
/usr/include/pthread.h:448: previous declaration `int 
pthread_rwlock_rdlock(pthrea
d_rwlock_t*)' here
../rwlock.h:78: declaration of C function `int 
pthread_rwlock_tryrdlock(pthread_rw
lock**)' conflicts with
/usr/include/pthread.h:451: previous declaration `int 
pthread_rwlock_tryrdlock(pth
read_rwlock_t*)' here
../rwlock.h:79: declaration of C function `int 
pthread_rwlock_trywrlock(pthread_rw
lock**)' conflicts with
/usr/include/pthread.h:464: previous declaration `int 
pthread_rwlock_trywrlock(pth                 read_rwlock_t*)' here
../rwlock.h:80: declaration of C function `int 
pthread_rwlock_unlock(pthread_rwloc                 k**)' conflicts with
/usr/include/pthread.h:474: previous declaration `int 
pthread_rwlock_unlock(pthrea                 d_rwlock_t*)' here
../rwlock.h:81: declaration of C function `int 
pthread_rwlock_wrlock(pthread_rwloc                 k**)' conflicts with
/usr/include/pthread.h:461: previous declaration `int 
pthread_rwlock_wrlock(pthrea                 d_rwlock_t*)' here
../rwlock.h:82: declaration of C function `int 
pthread_rwlockattr_init(pthread_rwl                 ockattr**)' conflicts 
with
/usr/include/pthread.h:480: previous declaration `int 
pthread_rwlockattr_init(pthr                 ead_rwlockattr_t*)' here
../rwlock.h:83: declaration of C function `int 
pthread_rwlockattr_getpshared(pthre                 ad_rwlockattr* const*, 
int*)' conflicts with
/usr/include/pthread.h:488: previous declaration `int 
pthread_rwlockattr_getpshare                 d(const pthread_rwlockattr_t*, 
int*)' here
../rwlock.h:84: declaration of C function `int 
pthread_rwlockattr_setpshared(pthre                 ad_rwlockattr**, int)' 
conflicts with
/usr/include/pthread.h:492: previous declaration `int 
pthread_rwlockattr_setpshare                 d(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(p                 thread_rwlockattr_t*)' here
make[2]: *** [gigabase_db_api.so] Ошибка 1
make[2]: Выход из каталог `/home/alexzh/Work/install/oops-1.5.22/src/modules'
make[1]: *** [modules] Ошибка 2
make[1]: Выход из каталог `/home/alexzh/Work/install/oops-1.5.22/src'
make: *** [all] Ошибка 2


С gcc 2.96 все нормально.


11 Март 2003 22:48, Sergey A. Osokin написал:
> On Tue, Mar 11, 2003 at 01:30:50PM +1000, Александр Жданович wrote:
> > Я патчил код и собирал его,  все собиралось  замечательно,  запускалось 
> > и работало.  Тесты на размер байт, не пробывал,  в следствии некоторых 
> > причин, описаных  ниже. При обращении к чайлду (1.5.22) SSLем, парент
> > (1.5.22f1) падал в ступор и больше не отзывался, за 1.5.22 не патченым
> > таких  проблем не замечено. Снимался только  килом -9. Поэтому патч я
> > отменил и пробывать дальше не стал (на рабочем сервере стоит 1.5.18, 
> > нагрузка примерно  в 30 - 40 одновременно работаюших машин,  1.5.22 убрал
> >  из-за проблем со счетом SSL, это для меня критично,  доступ  по юзерам с
> > лимитом и счетом по ним же.), может конечно  я патчу как то  не так.
> > С gcc 3.2 собираться oops не хочет.
>
> С этого места по-подробнее... На FreeBSD-CURRENT oops собирается на ура.
> $ gcc -v
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.2.2 [FreeBSD] 20030205 (release)

-- 

--------------------------------------------------
С уважением Александр Жданович



=====================================================================
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/
  • ... Александр Жданович
    • ... Vladimir N.Velychko
    • ... Igor Khasilev
      • ... Александр Жданович
        • ... Sergey A. Osokin
          • ... Alex Zhdanovich
      • ... Александр Жданович
      • ... Александр Жданович
      • ... Алекс
      • ... Alex Zhdanovich
        • ... Igor Khasilev
          • ... Александр Жданович
    • ... Александр Жданович

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