2010-09-05 48 views
0

我在编译webkit-gtk for directfb时遇到下面的错误,有没有猜猜如何解决它?编译错误的webkit-gtk

化妆[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:error'expected')'''token' ../../WebKitTools/GtkBonker /GtkBonker.c:287:error:expected')'before''token ../../WebKitTools/GtkBon ker/GtkBonker.c:795:error:expected')'before'*'token ../../WebKitTools/GtkBonker/GtkBonker.c:函数'sampleGTKApplicationInitialize': ../../WebKitTools/GtkBonker /GtkBonker.c:814:错误:'gp_f_gdkDirectFbSetInitializationParameters'未声明(首次在此函数中使用) ../../WebKitTools/GtkBonker/GtkBonker.c:814:错误:(每个未声明的标识符只报告一次 .. /../WebKitTools/GtkBonker/GtkBonker.c:814:错误:它出现在每个函数中。) ../../WebKitTools/GtkBonker/GtkBonker.c:814:error:'sampleGTKApplicationDirectFbSetInitializationParameters'undeclared(first use在此函数中) ../../WebKitTools/GtkBonker/GtkBonker.c:815:错误:'gp_f_gdkDirectFBCreateWindow'未声明(在此函数中首次使用) ../../We bKitTools/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:error:'gp_f_gdkDirectFbSetInitializationParameters'undeclared(首次在此函数中使用) make [1]:*** [WebKitTools/GtkBonker/Programs_GtkBonker- GtkBonker.o]错误1

回答

0

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

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