On 12/09/11 18:58, Donn Washburn wrote:
> I have down load several recent GIT versions of flightgear and have
> recently got the same problem while compiling.  That is a missed linked
> error from gcc. So I wrote a openSuSE bug report.  Which came back with
>
> FlightGear misses -lfontconfig   Bug 717167
>
> I have tried it both ways with cmake and configure.  Both fail to
> compile all the way.
>
> I will be willing to check it if I only knew where to put it.  I
> CMakeCache.lst, configure or Makefile
The reported error is
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/libfltk.so: undefined
reference to `FcPatternAddString'


# findsym FcPatternAddString
/usr/lib/libfontconfig.so.1: 0001a370 T FcPatternAddString
/usr/lib/libfontconfig.so.1.4.4: 0001a370 T FcPatternAddString

# grep -r FcPatternAddString /usr/include/*
grep: warning: /usr/include/c++/4.6/x86_64-suse-linux/32: recursive 
directory loop
/usr/include/fontconfig/fontconfig.h:FcPatternAddString (FcPattern *p, 
const char *object, const FcChar8 *s);
/usr/include/X11/Xft/XftCompat.h:#define XftPatternAddString(p,e,s)     
FcPatternAddString(p,e,(FcChar8 *)(s))

I often build FlightGear and did so again last night without a hitch on 
one box and probably will do so on another box later. Same openSUSE 
Milestone 5 x86_64.
openScendGraph git, simgear svn and Flightgear git.
Regards
Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to