Bug 89418

Summary: [EFL] Fontconfig can't be linked properly
Product: WebKit Reporter: Joone Hur <joone>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, lucas.de.marchi, rakuco, s.choi, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed Patch none

Description Joone Hur 2012-06-18 21:19:28 PDT
I've got the following link problem:

Linking CXX executable ../../../bin/MiniBrowser
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternReference'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcCharSetCreate'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcCharSetAddChar'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddCharSet'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcCharSetDestroy'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddBool'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcFontSetMatch'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcFontMatch'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddInteger'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddDouble'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetString'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetInteger'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetBool'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcMatrixMultiply'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetMatrix'
../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcFreeTypeCharIndex'
collect2: ld returned 1 exit status
make[2]: *** [bin/WebProcess] Error 1
make[1]: *** [Source/WebKit2/CMakeFiles/WebProcess.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternReference'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcCharSetCreate'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcCharSetAddChar'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddCharSet'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcCharSetDestroy'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddBool'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcFontSetMatch'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcFontMatch'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddInteger'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternAddDouble'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetString'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetInteger'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetBool'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcMatrixMultiply'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcPatternGetMatrix'
../../../lib/libewebkit2.so.0.1.0: error: undefined reference to 'FcFreeTypeCharIndex'
collect2: ld returned 1 exit status
make[2]: *** [bin/MiniBrowser] Error 1

I'm not sure if this could be a common problem for all.
Comment 1 Joone Hur 2012-06-18 22:15:13 PDT
Created attachment 148248 [details]
Proposed Patch
Comment 2 Raphael Kubo da Costa (:rakuco) 2012-06-18 22:47:01 PDT
I believe you can commit it without asking for review (the patch makes sense, even though I haven't caught up with the huge number of wk2 patches coming in these days).
Comment 3 Joone Hur 2012-06-18 22:48:48 PDT
Committed r120675: <http://trac.webkit.org/changeset/120675>
Comment 4 Gyuyoung Kim 2012-06-19 00:35:11 PDT
Comment on attachment 148248 [details]
Proposed Patch

Clearing flags.