RESOLVED DUPLICATE of bug 119688 Bug 121282
[GTK] Fix build break caused by missing libm.
https://bugs.webkit.org/show_bug.cgi?id=121282
Summary [GTK] Fix build break caused by missing libm.
ChangSeok Oh
Reported 2013-09-13 01:56:44 PDT
I don't know what causes this, but libm seems missed. CCLD Programs/unittests/testdomdomwindow CCLD Programs/unittests/testdomdocument //usr/lib/gcc/x86_64usr/lib-linux/-gnugcc//4.7x86_64-/.linux-./gnu/4.7../.././x86_64.-linux/-gnu./libxslt.so.: /error:. undefined. reference/ tox86_64-linux '-fmod'gnu //usr/libxslt.solib/gcc/x86_64: -error:linux undefined- referencegnu to/ '4.7fmod'/ /.usr/.lib//gcc/.x86_64-.linux-/gnu/.4.7/...//../x86_64-.linux-.gnu//libxslt.so: errorx86_64-: undefined referencelinux- gnu/tolibxslt.so: error': floorundefined 'reference to /'floorusr' //usrlib/lib//gccgcc/x86_64/-linuxx86_64-gnu/4.7-linux/-gnu/..usr//../lib//gcc/4.7x86_64-/.linux-..gnu.///x86_644.7../././-linux.../.../-x86_64-/linux-gnu/gnu/x86_64libxslt.so:-linux errorlibxslt.so: :undefined -reference to gnu'fmoderror' //usr:/liblibxslt.so/gcc undefined/x86_64:-linux -gnu reference/4.7error/.:./ .. /.to./undefinedx86_64- 'linux- gnu/reference libxslt.sopow' : error: to undefined 'reference topow' ' floor' /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow' collect2: error: ld returned 1 exit statuscollect2: error: ld returned 1 exit statuscollect2: error: ld returned 1 exit status make[1]: *** [Programs/unittests/testdomdocument] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Programs/unittests/testcontextmenu] Error 1 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod' /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor' /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow' make[1]: *** [Programs/unittests/testdomdomwindow] Error 1 collect2: error: ld returned 1 exit status make[1]: *** [Programs/unittests/testapplicationcache] Error 1 make[1]: Leaving directory `/home/shivamidow/Projects/WebKit/WebKitBuild/Release' make: *** [all] Error 2
Attachments
Patch (2.16 KB, patch)
2013-09-13 02:04 PDT, ChangSeok Oh
no flags
ChangSeok Oh
Comment 1 2013-09-13 02:04:47 PDT
ChangSeok Oh
Comment 2 2013-09-13 02:17:18 PDT
(In reply to comment #1) > Created an attachment (id=211520) [details] > Patch This is a libxslt bug. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721602 We would be better to wait the next libxslt release. In the meantime, you can apply this patch to avoid the break for your convenient.
Alberto Garcia
Comment 3 2013-09-13 02:18:34 PDT
A workaround is to add -lm to the Libs: section in /usr/lib/*/pkgconfig/libxslt.pc
ChangSeok Oh
Comment 4 2013-09-13 02:26:07 PDT
*** This bug has been marked as a duplicate of bug 119688 ***
Note You need to log in before you can comment on or make changes to this bug.