Seems like it might be intended to be linked with Xft instead, but I'm not sure why it is failing only on your platform (I've never seen this issue, and presumably no one else has either before now.)
On 2/28/12 10:34 AM, Paulo Edgar Castro wrote: > Hi there. > > I was asked in the channel to raise this issue here... > > I had been having some trouble trying to build the viewer. Kept on being > stopped by the following. > > [100%] Building CXX object > vncviewer/CMakeFiles/vncviewer.dir/X11PixelBuffer.cxx.o > Linking CXX executable vncviewer > /usr/bin/ld: ../common/fltk/src/libfltk_static.a(fl_font.cxx.o): > undefined reference to symbol 'FcUtf8ToUcs4' > /usr/bin/ld: note: 'FcUtf8ToUcs4' is defined in DSO > /usr/lib64/libfontconfig.so.1 so try adding it to the linker command line > /usr/lib64/libfontconfig.so.1: could not read symbols: Invalid operation > collect2: ld returned 1 exit status > make[2]: *** [vncviewer/vncviewer] Error 1 > make[1]: *** [vncviewer/CMakeFiles/vncviewer.dir/all] Error 2 > make: *** [all] Error 2 > > A couple of gents in the channel help me out and suggested I'd add > fontconfig to the line > > -target_link_libraries(vncviewer rfb network rdr os Xregion > ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES}) > +target_link_libraries(vncviewer rfb network rdr os Xregion fontconfig > ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES}) > > in vncviewer/CMakeLists.txt > > which resulted in successful linking. > > Should fontconfig be added there ? > > Regards, > > > PECastro > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Tigervnc-devel mailing list > Tigervnc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tigervnc-devel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel