Bug 150802 - [GTK][Mac] libWebExtensionTest link error
Summary: [GTK][Mac] libWebExtensionTest link error
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords:
Depends on:
Blocks: 126492
  Show dependency treegraph
 
Reported: 2015-11-02 06:46 PST by Philippe Normand
Modified: 2015-12-07 01:12 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.35 KB, patch)
2015-11-02 06:49 PST, Philippe Normand
cgarcia: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2015-11-02 06:46:05 PST
FAILED: : && /usr/local/opt/ccache/libexec/c++  -std=c++11 -fcolor-diagnostics -Qunused-arguments -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -bundle -Wl,-headerpad_max_install_names -L/Users/philn/dev/WebKit/WebKitBuild/DependenciesGTK/Root/lib -L/usr/local/lib -L/usr/local/Cellar/openssl/1.0.2c/lib/ -L/usr/local/Cellar/gettext/0.19.6/lib/ -o lib/WebKit2GtkAPITests/libWebExtensionTest.so Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeFiles/WebExtensionTest.dir/WebExtensionTest.cpp.o   && :
Undefined symbols for architecture x86_64:
  "_JSContextGetGlobalObject", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
  "_JSEvaluateScript", referenced from:
      methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o
  "_JSObjectMakeFunctionWithCallback", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
  "_JSObjectSetProperty", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
  "_JSStringCreateWithUTF8CString", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
      methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o
  "_JSStringRelease", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
      echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o
      methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o
  "_JSValueMakeString", referenced from:
      echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o
  "_JSValueMakeUndefined", referenced from:
      echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o
  "_JSValueToStringCopy", referenced from:
...
Comment 1 Philippe Normand 2015-11-02 06:49:32 PST
Created attachment 264585 [details]
Patch
Comment 2 Philippe Normand 2015-12-05 07:57:20 PST
A review would be much appreciated, thanks in advance :)
Comment 3 Philippe Normand 2015-12-07 01:12:08 PST
Committed r193617: <http://trac.webkit.org/changeset/193617>