webkit-gtk 编译错误

发布于 2024-09-17 11:39:13 字数 1686 浏览 4 评论 0原文

我在为 directfb 编译 webkit-gtk 时遇到以下错误,您猜如何解决它?

make[1]: 进入目录 `/home/sunny/svn/iSense-E/trunk/stable/thirdp/src/webkit-1.2.0/WebKitBuild/Release' /bin/mkdir -p ./.deps/DerivedSources CC WebKitTools/GtkBonker/Programs_GtkBonker-GtkBonker.o CXX WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-LayoutTestControllerGtk.o ../../WebKitTools/GtkBonker/GtkBonker.c:87:30:错误:gdk/gdk-directfb.h:没有这样的文件或目录 ../../WebKitTools/GtkBonker/GtkBonker.c:257: 错误: '' 标记之前应有 ')' ../../WebKitTools/GtkBonker/GtkBonker.c:287: 错误: '' 标记之前应有 ')' ../../WebKitTools/GtkBonker/GtkBonker.c:795: 错误: '*' 标记之前应有 ')' ../../WebKitTools/GtkBonker/GtkBonker.c:在函数“sampleGTKApplicationInitialize”中: ../../WebKitTools/GtkBonker/GtkBonker.c:814:错误:'gp_f_gdkDirectFbSetInitializationParameters'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:814: error: (每个未声明的标识符仅报告一次 ../../WebKitTools/GtkBonker/GtkBonker.c:814:错误:对于它出现的每个函数。) ../../WebKitTools/GtkBonker/GtkBonker.c:814:错误:'sampleGTKApplicationDirectFbSetInitializationParameters'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:815:错误:'gp_f_gdkDirectFBCreateWindow'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:815:错误:'al_gtkDirectFBCreateWindowHandler'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:816:错误:'gp_f_gdkDirectFBDestroyWindow'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:816:错误:'al_gtkDirectFBDestroyWindowHandler'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:在函数“sampleGTKApplicationTerminate”中: ../../WebKitTools/GtkBonker/GtkBonker.c:841:错误:'gp_f_gdkDirectFbSetInitializationParameters'未声明(首次在此函数中使用) make[1]: *** [WebKitTools/GtkBonker/Programs_GtkBonker-GtkBonker.o] 错误 1

I am getting following error while compiling webkit-gtk for directfb, any guess how to resolve it?

make[1]: Entering directory `/home/sunny/svn/iSense-E/trunk/stable/thirdp/src/webkit-1.2.0/WebKitBuild/Release'
/bin/mkdir -p ./.deps/DerivedSources
CC WebKitTools/GtkBonker/Programs_GtkBonker-GtkBonker.o
CXX WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-LayoutTestControllerGtk.o
../../WebKitTools/GtkBonker/GtkBonker.c:87:30: error: gdk/gdk-directfb.h: No such file or directory
../../WebKitTools/GtkBonker/GtkBonker.c:257: error: expected ‘)’ before ‘’ token
../../WebKitTools/GtkBonker/GtkBonker.c:287: error: expected ‘)’ before ‘
’ token
../../WebKitTools/GtkBonker/GtkBonker.c:795: error: expected ‘)’ before ‘*’ token
../../WebKitTools/GtkBonker/GtkBonker.c: In function ‘sampleGTKApplicationInitialize’:
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: ‘gp_f_gdkDirectFbSetInitializationParameters’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: (Each undeclared identifier is reported only once
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: for each function it appears in.)
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: ‘sampleGTKApplicationDirectFbSetInitializationParameters’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:815: error: ‘gp_f_gdkDirectFBCreateWindow’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:815: error: ‘al_gtkDirectFBCreateWindowHandler’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:816: error: ‘gp_f_gdkDirectFBDestroyWindow’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:816: error: ‘al_gtkDirectFBDestroyWindowHandler’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c: In function ‘sampleGTKApplicationTerminate’:
../../WebKitTools/GtkBonker/GtkBonker.c:841: error: ‘gp_f_gdkDirectFbSetInitializationParameters’ undeclared (first use in this function)
make[1]: *** [WebKitTools/GtkBonker/Programs_GtkBonker-GtkBonker.o] Error 1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

殤城〤 2024-09-24 11:39:13

提供给编译器的包含路径没有 gdk/gdk-directfb.h。

要么它没有安装,您需要安装 DirectFB,要么需要通过在 CC 命令中添加 -I/path/to/directory/containing/gdk/gdk-directfb.h 来告诉 makefile 在哪里查找它。

The include path given to your compiler doesn't have gdk/gdk-directfb.h.

Either it's not installed and you need to install DirectFB or the makefile needs to be told where to look for it by adding a -I/path/to/directory/containing/gdk/gdk-directfb.h to the CC command.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文