LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 529|回复: 1

编译Chromium的错误。

[复制链接]
发表于 2006-10-26 17:52:55 | 显示全部楼层 |阅读模式
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没有定义呢? 那应该安装什么东西呢? 谢谢。
 楼主| 发表于 2006-10-26 20:18:55 | 显示全部楼层
这么快就被淹了?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表