On 05/17/11 08:11, Damyan Ivanov wrote: > > The build fails with the following error: > > g++ -ggdb -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC -DFB_SEND_FLAGS=MSG_NOSIGNAL > -I. > ./src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan > -pthread - > g -O2 -DBOOT_BUILD -fno-rtti -c ../src/jrd/gds.cpp -o > ../temp/boot/jrd/gds.o > In file included from ../src/jrd/../jrd/../jrd/ThreadData.h:35, > from ../src/jrd/../jrd/jrd.h:74, > from ../src/jrd/gds.cpp:148: > ../src/jrd/../jrd/../jrd/../common/classes/rwlock.h: In member function 'void > Fi > rebird::RWLock::init()': > ../src/jrd/../jrd/../jrd/../common/classes/rwlock.h:199: error: > 'PTHREAD_RWLOCK_ > PREFER_WRITER_NONRECURSIVE_NP' was not declared in this scope > ../src/jrd/../jrd/../jrd/../common/classes/rwlock.h:199: error: > 'pthread_rwlocka > ttr_setkind_np' was not declared in this scope > make[5]: *** [../temp/boot/jrd/gds.o] Error 1 > > Sending a copy to firebird-devel for oppinion.
Certainly, it's not too hard to add ifdef not to call pthread_rwlockattr_setkind_np() when it's missing. But small detail - this call is present in the code since 2003! And never caused compatibility problems on linux. Therefore may be it's worth first of all to try to understand why does it not build now on Debian? ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel