QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6838|回复: 7

编译错误

[复制链接]
发表于 2007-2-4 19:50:33 | 显示全部楼层 |阅读模式
ubuntu6.10下编译
configure的时候没错误
make出错
In file included from main.c:25:
main.h:38:17: error: esd.h: No such file or directory
In file included from main.c:25:
main.h: In function ‘ui_play’:
main.h:148: warning: implicit declaration of function ‘esd_play_file’
main.c: In function ‘main’:
main.c:2050: warning: implicit declaration of function ‘esd_open_sound’
main.c:2052: warning: implicit declaration of function ‘esd_close’
make[2]: *** [main.o] 错误 1
make[2]: Leaving directory `/home/bwchaos/tar/llk_linux-2.2/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/bwchaos/tar/llk_linux-2.2'
make: *** [all] 错误 2
怎么解决???
发表于 2007-2-4 20:59:49 | 显示全部楼层
貌似就这样的,直接apt吧
回复

使用道具 举报

 楼主| 发表于 2007-2-4 21:16:00 | 显示全部楼层
没辙吗
回复

使用道具 举报

 楼主| 发表于 2007-2-4 21:17:38 | 显示全部楼层
况且ubuntu源里没有这玩意
回复

使用道具 举报

发表于 2007-2-5 09:52:09 | 显示全部楼层
我不用 ubuntu ,也没编译过连连看。

不过不是说没找到 esd.h 吗?你是不是没装 esd 的开发包啊。
回复

使用道具 举报

 楼主| 发表于 2007-2-5 13:46:59 | 显示全部楼层
那是好像一个音频输出设备
装播放器的时候装过一些相关的
不知道它的开发包具体是哪个?
回复

使用道具 举报

发表于 2007-2-6 10:22:14 | 显示全部楼层
那是 Enlightened Sound Daemon ,我用的 Debian Sarge 里边开发包是 libesd0-dev 。
Ubuntu 不见得一样吧,你用 `apt-cache search esd‘ 试试吧。
回复

使用道具 举报

 楼主| 发表于 2007-2-6 23:43:29 | 显示全部楼层
呵呵,果然是缺少那个开发包的原因
谢谢loveccy兄指点
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-26 04:38 , Processed in 0.100068 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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