[Webkit-unassigned] [Bug 189540] New: Linking against libWPEWebKit-0.1.so is not posible when WPE is build with ENABLE_VIDEO=OFF and ENABLE_WEB_AUDIO=OFF

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 01:06:41 PDT 2018


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

            Bug ID: 189540
           Summary: Linking against libWPEWebKit-0.1.so is not posible
                    when WPE is build with ENABLE_VIDEO=OFF and
                    ENABLE_WEB_AUDIO=OFF
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: psaavedra at igalia.com
                CC: youennf at gmail.com

Linking against a built libWPEWebKit-0.1.so is not posible when WPE is build with:

  -DENABLE_VIDEO=OFF
  -DENABLE_WEB_AUDIO=OFF


Error:

platform/mediastream/libwebrtc/LibWebRTCProviderGlib.cpp only is added if `ENABLE_VIDEO OR ENABLE_WEB_AUDIO` (L1 in Source/WebCore/platform/GStreamer.cmake) so `WebCore::LibWebRTCProvider::webRTCAvailable() and `WebCore::LibWebRTCProvider::create()' are not defined and the shared library is incomplete.


    /home/igalia/psaavedra/vorwerk-bsp/builds/wandboard/tmp/work/armv7ahf-neon-poky-linux-gnueabi/cog/gitAUTOINC-r0/recipe-sysroot/usr/lib/libWPEWebKit-0.1.so: undefined reference to `WebCore::LibWebRTCProvider::webRTCAvailable()'
    /home/igalia/psaavedra/vorwerk-bsp/builds/wandboard/tmp/work/armv7ahf-neon-poky-linux-gnueabi/cog/gitAUTOINC-r0/recipe-sysroot/usr/lib/libWPEWebKit-0.1.so: undefined reference to `WebCore::LibWebRTCProvider::create()'
collect2: error: ld returned 1 exit status


Other considerations:

    Actual CMake flags used for tests:

        -DPORT=WPE \
        -DCMAKE_BUILD_TYPE=Release \
        -DENABLE_ACCELERATED_2D_CANVAS=ON \
        -DENABLE_DEVICE_ORIENTATION=OFF \
        -DENABLE_ENCRYPTED_MEDIA=OFF \
        -DENABLE_FETCH_API=ON \
        -DENABLE_GAMEPAD=OFF  \
        -DENABLE_GEOLOCATION=OFF \
        -DUSE_GSTREAMER_GL=OFF \
        -DENABLE_MEDIA_SOURCE=OFF \
        -DENABLE_REMOTE_INSPECTOR=ON \
        -DENABLE_VIDEO=OFF \
        -DENABLE_VIDEO_TRACK=OFF \
        -DENABLE_WEB_AUDIO=OFF \
        -DENABLE_WEB_CRYPTO=OFF \
        -DUSE_WOFF2=ON


    WebRTC is not enabled in the CMake configuration:

        cat build/cmakeconfig.h | grep RTC
        #define ENABLE_WEB_RTC 0
        #define USE_LIBWEBRTC 0
        #define WEBRTC_WEBKIT_BUILD 0



Related issues:

  This issue is related with changes in https://bugs.webkit.org/show_bug.cgi?id=183080
  This issue is introduced in https://bugs.webkit.org/show_bug.cgi?id=186547

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180912/aed959e9/attachment.html>


More information about the webkit-unassigned mailing list