g++ -march=pentium3 -O3 -pipe -mfpmath=sse -fomit-frame-pointer -fforce-addr -fa lign-functions=4 -fprefetch-loop-arrays -D_REENTRANT -DLINUX -I/usr/local/inclu de -DHAVE_CONFIG_H -shared gigabase_db_api.cpp -export-dynamic -lpthread -lf l -lpam -lcrypt -ldl /usr/lib/libpcreposix.a /usr/lib/libpcre.a -o gigabase_d b_api.so In file included from ../environment.h:71, from ../oops.h:26, from gigabase_db_api.cpp:35: ../rwlock.h:54:1: warning: "PTHREAD_RWLOCK_INITIALIZER" redefined In file included from ../environment.h:69, from ../oops.h:26, from gigabase_db_api.cpp:35: /usr/include/pthread.h:47:1: warning: this is the location of the previous defin ition 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_rwlock_t' /usr/include/bits/pthreadtypes.h:118: 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:126: 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] Ошибка 1 make[2]: Leaving directory `/var/tmp/portage/oops-1.5.22/work/oops-1.5.22/src/mo dules' make[1]: *** [modules] Ошибка 2 make[1]: Leaving directory `/var/tmp/portage/oops-1.5.22/work/oops-1.5.22/src' make: *** [all] Ошибка 2 !!! ERROR: net-www/oops-1.5.22 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! compile problem Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-1-686 i686 Pentium III (Katmai) GENTOO_MIRRORS="http://194.83.57.11/sites/www.ibiblio.org/gentoo/ http://212.219 .56.152/sites/www.ibiblio.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http:// gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss avi crypt encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx m peg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts java X sdl gpm tcpd pam ssl perl python esd imlib ogg vorbis gtk qt kde motif opengl acpi acpi4linux evo gd jikes matrox mbox mdb mozn oirc moznomail mozp3p mozsvg pda prebuilt radeon sox sse tiff type1 usb vim-with -x wmf xosd -3dnow -apm -cups -svga -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -mfpmath=sse -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CXXFLAGS="-march=pentium3 -O3 -pipe -mfpmath=sse -fomit-frame-pointer -fforce-ad dr -falign-functions=4 -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Sorry, I see this Bug is duplicate of #10074. Sorry again.
*** This bug has been marked as a duplicate of 10074 ***