Share

wxWebKit

Tracker: Bugs

5 wx implementation of PluginView missing - ID: 2796946
Last Update: Tracker Item Submitted ( ulrikp )

Hello,

using r44150, I was unable to build wxWebKit on Mac OS X. The reason is
that a wx implementation of PluginView is missing.

g++ -dynamiclib -fPIC -o
/Users/ulrikp/Ongoing/WebKit/WebKit/WebKitBuild/Release/libwxwebkit.dylib
obj-gnu/wxwebkit_dynamic_ChromeClientWx.o
obj-gnu/wxwebkit_dynamic_ContextMenuClientWx.o
obj-gnu/wxwebkit_dynamic_DragClientWx.o
obj-gnu/wxwebkit_dynamic_EditorClientWx.o
obj-gnu/wxwebkit_dynamic_FrameLoaderClientWx.o
obj-gnu/wxwebkit_dynamic_InspectorClientWx.o
obj-gnu/wxwebkit_dynamic_WebFrame.o obj-gnu/wxwebkit_dynamic_WebView.o
obj-gnu/wxwebkit_dynamic_WebBrowserShell.o -g
-L/Users/ulrikp/Ongoing/WebKit/WebKit/WebKitTools/wx/../../WebKitLibraries/
unix/lib
-L/Users/ulrikp/Ongoing/WebKit/WebKit/WebKitTools/wx/../../WebKitLibraries
-ljpeg -lpng `wx-config --libs core,base`
-L/Users/ulrikp/Ongoing/WebKit/WebKit/WebKitBuild/Release -L/opt/local/lib
-lxml2 -lz -lpthread -liconv -lm -L/opt/local/lib -lxml2 -lz -lpthread
-liconv -lm -L/opt/local/lib -lxslt -lxml2 -lz -lpthread -liconv -lm
-lcurl -lssl -lcrypto -lz -lWebCoreSQLite3
-L/Users/ulrikp/Ongoing/WebKit/WebKit/WebKitBuild/Release
-lWebKitSystemInterfaceTiger -ljscore -licucore -lpthread -lwebcore-wx
-ljscore
Undefined symbols:
"WebCore::PluginView::userAgentStatic()", referenced from:
_NPN_UserAgent in libwebcore-wx.a(wx_webcore_static_npapi.o)
"WebCore::PluginView::getValueStatic(NPNVariable, void*)", referenced
from:
_NPN_GetValue in libwebcore-wx.a(wx_webcore_static_npapi.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Looking in WebCore/plugins/wx/, I see that this direcory is empty.

I changed the implementations of NPN_UserAgent and NPN_GetValue, cribbing
some code from the mac implementation of PluginView, and was then able to
build successfully.

HTH


Regards,


Ulrik Sandborg-Petersen


Ulrik Sandborg-Petersen ( ulrikp ) - 2009-05-26 16:48

5

Open

None

Nobody/Anonymous

None

Latest SVN

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.