RESOLVED FIXED 105027
[GTK][AC] Build failure with an option --with-acceleration-backend=clutter
https://bugs.webkit.org/show_bug.cgi?id=105027
Summary [GTK][AC] Build failure with an option --with-acceleration-backend=clutter
ChangSeok Oh
Reported 2012-12-14 07:56:18 PST
my uild command is ../../autogen.sh --prefix=/usr/local --disable-egl --enable-debug --disable-webkit2 --with-gstreamer=1.0 --with-acceleration-backend=clutter And the failure is like following. make[1]: Entering directory `/home/shivamidow/Projects/WebKit/WebKitBuild/Debug2' /bin/mkdir -p ./.deps/DerivedSources CCLD Programs/unittests/testapplicationcache ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXMakeCurrent' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXDestroyPbuffer' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXCreateGLXPixmap' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXChooseFBConfig' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::openGLFunctionTable()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::GLContext()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXGetCurrentContext' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::getCurrent()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXSwapBuffers' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXDestroyGLXPixmap' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXCreateNewContext' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXChooseVisual' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXWaitX' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::initializeOpenGLShims()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXCreatePbuffer' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXCreateContext' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::sharedX11Display()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::~GLContext()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::sharingContext()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::makeContextCurrent()' ./.libs/libwebkitgtk-3.0.so: undefined reference to `glXDestroyContext' ./.libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::GLContext::createContextForWindow(unsigned long, WebCore::GLContext*)' collect2: ld returned 1 exit status make[1]: *** [Programs/unittests/testapplicationcache] Error 1 make[1]: Leaving directory `/home/shivamidow/Projects/WebKit/WebKitBuild/Debug2' make: *** [all] Error 2
Attachments
Patch (3.30 KB, patch)
2012-12-14 08:13 PST, ChangSeok Oh
no flags
ChangSeok Oh
Comment 1 2012-12-14 08:13:33 PST
Joone Hur
Comment 2 2012-12-14 10:00:00 PST
We can enable AC clutter backend by running the build script as follows: ./Tools/Scripts/build-webkit --gtk --debug --with-acceleration-backend=clutter --no-webgl --disable-glx --disable-egl However, it would be good to build it without --disable-glx --disable-egl, so I will try to test Changseok's patch. Thanks!
ChangSeok Oh
Comment 3 2012-12-14 10:34:24 PST
(In reply to comment #2) > We can enable AC clutter backend by running the build script as follows: > > ./Tools/Scripts/build-webkit --gtk --debug --with-acceleration-backend=clutter --no-webgl --disable-glx --disable-egl Yeap. I know :) But I think it's better if we can build clutter ac feature without such extra options.
Gustavo Noronha (kov)
Comment 4 2012-12-16 09:51:09 PST
Comment on attachment 179486 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=179486&action=review > ChangeLog:9 > + I turned off opengl related variables, enable_glx, enable_egl and enable_gles2 > + when selecting clutter as the acceleration-backend. Because they seem useless for the AC by clutter. That's true for now, but if we ever land the cogl implementation of webgl, then we will probably have to enable some or all.
WebKit Review Bot
Comment 5 2012-12-16 10:00:50 PST
Comment on attachment 179486 [details] Patch Clearing flags on attachment: 179486 Committed r137839: <http://trac.webkit.org/changeset/137839>
WebKit Review Bot
Comment 6 2012-12-16 10:00:54 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.