[Webkit-unassigned] [Bug 68349] New: [GTK] whoever links to libwebkitgtk-x.x.la should also end up linking to libjavascriptcoregtk-x.x.la

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 05:38:03 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68349

           Summary: [GTK] whoever links to libwebkitgtk-x.x.la should also
                    end up linking to libjavascriptcoregtk-x.x.la
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gns at gnome.org


This is what happens when linking our GCDS sample with current WebKitGTK+:

kov at goiaba:~/src/gcds$ gcc -o gcds gcds.c $(pkg-config --libs --cflags webkitgtk-3.0)
/tmp/ccWEwVOq.o:gcds.c:function set_can_register_cb: error: undefined reference to 'JSValueMakeNull'
/tmp/ccWEwVOq.o:gcds.c:function set_can_register_cb: error: undefined reference to 'JSValueGetType'
/tmp/ccWEwVOq.o:gcds.c:function set_can_register_cb: error: undefined reference to 'JSValueToBoolean'
/tmp/ccWEwVOq.o:gcds.c:function main: error: undefined reference to 'JSContextGetGlobalObject'
/tmp/ccWEwVOq.o:gcds.c:function main: error: undefined reference to 'JSStringCreateWithUTF8CString'
/tmp/ccWEwVOq.o:gcds.c:function main: error: undefined reference to 'JSObjectMakeFunctionWithCallback'
/tmp/ccWEwVOq.o:gcds.c:function main: error: undefined reference to 'JSObjectSetProperty'
/tmp/ccWEwVOq.o:gcds.c:function main: error: undefined reference to 'JSStringRelease'
collect2: ld returned 1 exit status
distcc[22635] ERROR: compile gcds.c on localhost failed

I need to manually add javascriptcoregtk-3.0 to the pkg-config call, but that should not be necessary.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list