C webkitGtk Linking error

Code:
webkit_web_view_load_uri(WEBKIT_WEB_VIEW(webView), "http://www.naver.com");
webkit_web_view_load_html(WEBKIT_WEB_VIEW(webView), gc,  "http://www.naver.com");
I want to ask a question about webkit-Gtk3. The first line of code goes well. And if I delete second line, it goes well.
But the second line gets linking error like "undefined reference to `webkit_web_view_load_html'.
I think the two functions need the same library. What's wrong? Please help..

My linking options are made by pkg-config.
c++ -o webtest -lwebkitgtk-3.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -pthread -lgdk_pixbuf-2.0 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -ljavascriptcoregtk-3.0 -L/usr/local/lib -lglib-2.0 -lintl -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lgio-2.0 -lcairomm-1.0 -lcairo -pthread -lsigc-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -L/usr/local/lib -lglib-2.0 -lintl webtest.o
 
Back
Top