kokonol 发表于 2005-10-9 13:40:57

编译出错了,哪位大哥帮忙看看怎么回事阿

ariel07x:/home/kokonol/llk/llk_linux-2.1# make
makeall-recursive
make[1]: Entering directory `/home/kokonol/llk/llk_linux-2.1'
Making all in po
make[2]: Entering directory `/home/kokonol/llk/llk_linux-2.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kokonol/llk/llk_linux-2.1/po'
Making all in src
make[2]: Entering directory `/home/kokonol/llk/llk_linux-2.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   `pkg-config --cflags --libs gtk+-2.0` -Wall -g -g -O2 -MT main.o -MD -MP-MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
In file included from main.c:25:
main.h:38:17: esd.h: 没有那个文件或目录
In file included from main.c:25:
main.h: In function `ui_play':
main.h:144: warning: implicit declaration of function `esd_play_file'
main.c: In function `get_main_menu':
main.c:137: warning: assignment from incompatible pointer type
main.c:138: warning: assignment from incompatible pointer type
main.c:139: warning: passing arg 2 of `gtk_menu_shell_append' from incompatible pointer type
main.c:141: warning: assignment from incompatible pointer type
main.c:142: warning: passing arg 2 of `gtk_menu_shell_append' from incompatible pointer type
main.c:144: warning: assignment from incompatible pointer type
main.c:145: warning: passing arg 2 of `gtk_menu_shell_append' from incompatible pointer type
main.c: In function `main':
main.c:1911: warning: implicit declaration of function `esd_open_sound'
main.c:1913: warning: implicit declaration of function `esd_close'
make[2]: *** [main.o] 错误 1
make[2]: Leaving directory `/home/kokonol/llk/llk_linux-2.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/kokonol/llk/llk_linux-2.1'
make: *** [all] 错误 2
   

alpher 发表于 2005-10-9 18:47:40

你没有装esd的开发库
请问系统版本?

jiangtao9999 发表于 2005-10-9 19:23:22

你没有装esd的开发库
请问系统版本?
你赶紧做个完整的 configure 吧~~~

kokonol 发表于 2005-10-9 23:24:55

谢谢楼上指点,现在已经编译出来了,只是不知道为什么听不到声音。

不管怎么说这也是我接触Linux以来自己编译的第一个东西,玩两局庆祝一下现

jiangtao9999 发表于 2005-10-10 19:29:20

你需要启动 esd 服务程序。
页: [1]
查看完整版本: 编译出错了,哪位大哥帮忙看看怎么回事阿