[Bf-committers] build issues with Debian etch

Ken Hughes khughes at pacific.edu
Thu Nov 19 23:20:44 CET 2009

I decided I'd better try building 2.50 in my chroot environment and ran
into some issue with compatibility.

In file included from source/blender/blenkernel/intern/colortools.c:56:
source/blender/blenlib/BLI_threads.h:81: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘ThreadRWMutex’
source/blender/blenlib/BLI_threads.h:83: error: expected ‘)’ before ‘*’ 
source/blender/blenlib/BLI_threads.h:84: error: expected ‘)’ before ‘*’ 
source/blender/blenlib/BLI_threads.h:85: error: expected ‘)’ before ‘*’ 
source/blender/blenlib/BLI_threads.h:86: error: expected ‘)’ before ‘*’ 

pthread_rwlock_t is not being defined from 
/usr/include/bits/pthreadtypes.h for some reason using gcc 4.2.

Now I can dig into this, but it occurs to me this might just be because 
etch is fairly old.  I could create a newer chroot based on lenny, but 
it's based on a much newer version of glibc.

Any suggestions?


More information about the Bf-committers mailing list