Bug 114098

Summary: [WK2][EFL] --minimal build fails with error: undefined reference to `EwkContextMenu::EwkContextMenu
Product: WebKit Reporter: Ed Bartosh <bartosh>
Component: WebKit2Assignee: Ed Bartosh <bartosh>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gyuyoung.kim, kalyan.kondapally, kenneth, laszlo.gombos, tmpsantos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description Ed Bartosh 2013-04-06 13:25:20 PDT
./Tools/Scripts/build-webkit --efl --cmakeargs="-DSHARED_CORE=ON" --minimal fails with this error:

../../lib/libewebkit2.so.0.1.0: undefined reference to `EwkContextMenu::EwkContextMenu(EwkView*, WebKit::WebContextMenuProxyEfl*, WTF::Vector<WebKit::WebContextMenuItemData, 0ul> const&)'
../../lib/libewebkit2.so.0.1.0: undefined reference to `WebKit::WebView::createContextMenuProxy(WebKit::WebPageProxy*)'
../../lib/libewebkit2.so.0.1.0: undefined reference to `non-virtual thunk to WebKit::WebView::createContextMenuProxy(WebKit::WebPageProxy*)'
../../lib/libewebkit2.so.0.1.0: undefined reference to `EwkContextMenu::~EwkContextMenu()'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/WebProcess] Error 1
make[1]: *** [Source/WebKit2/CMakeFiles/WebProcess.dir/all] Error 2
Comment 1 Ed Bartosh 2013-04-07 12:55:19 PDT
It turned out that this error is also fixed by wrapping code in #if ENABLE(CONTEXT_MENUS). Closing this bug as duplicate of #113949. I'll update the patch for #113949 with more fixes.

*** This bug has been marked as a duplicate of bug 113949 ***