|
|
al_buffer.c:70: error: syntax error before "buf_mutex"
al_buffer.c:70: warning: type defaults to `int' in declaration of `buf_mutex'
al_buffer.c:70: warning: initialization makes integer from pointer without a cast
al_buffer.c:70: warning: data definition has no type or storage class
al_buffer.c: In function `_alInitBuffers':
al_buffer.c:472: warning: implicit declaration of function `mlCreateMutex'
al_buffer.c:473: warning: comparison between pointer and integer
al_buffer.c: In function `_alDestroyBuffers':
al_buffer.c:693: warning: implicit declaration of function `mlDestroyMutex'
al_buffer.c:695: warning: assignment makes integer from pointer without a cast
al_buffer.c: In function `FL_alLockBuffer':
al_buffer.c:706: warning: comparison between pointer and integer
al_buffer.c:710: warning: implicit declaration of function `mlLockMutex'
al_buffer.c: In function `FL_alUnlockBuffer':
al_buffer.c:721: warning: comparison between pointer and integer
al_buffer.c:725: warning: implicit declaration of function `mlUnlockMutex'
gmake[3]: *** [al_buffer.o] 错误 1
gmake[3]: Leaving directory `/usr/local/files/game/Chromium-0.9/support/openal/linux/src'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/usr/local/files/game/Chromium-0.9/support/openal/linux'
make[1]: *** [linux] 错误 2
make[1]: Leaving directory `/usr/local/files/game/Chromium-0.9/support/openal'
make: *** [support/openal/] 错误 2
我看源代码70行写的是
static MutexID buf_mutex = NULL;
为什么会出错呢? 是不是MutexID没有定义呢? 那应该安装什么东西呢? 谢谢。 |
|