Bug 824 - SuSE Linux Build error in "mkfontscale.c:857: error:"
Summary: SuSE Linux Build error in "mkfontscale.c:857: error:"
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xfont (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Roland Mainz
QA Contact:
URL: http://members.aol.com/kidicarus04/my...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-05 14:09 UTC by Kid Icarus
Modified: 2004-07-12 01:44 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch for 2004-07-12-trunk (2.71 KB, patch)
2004-07-12 18:41 UTC, Roland Mainz
no flags Details | Splinter Review

Description Kid Icarus 2004-07-05 14:09:09 UTC
I keep getting this compile error when I try and build Xorg:

make[4]: Leaving directory `/usr/src/xc/build/programs/mkcfm'
making all in programs/mkfontdir...
make[4]: Entering directory `/usr/src/xc/build/programs/mkfontdir'
rm -f mkfontdir
cpp -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                  
       $
chmod a+x mkfontdir
rm -f mkfontdir._man
cpp -undef -traditional  -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults
-D__appmansuf$
rm -f mkfontdir.1x.html mkfontdir.1x-html
../../config/util/rman -f HTML < mkfontdir._man \
  > mkfontdir.1x-html && mv -f mkfontdir.1x-html mkfontdir.1x.html
make[4]: Leaving directory `/usr/src/xc/build/programs/mkfontdir'
making all in programs/mkfontscale...
make[4]: Entering directory `/usr/src/xc/build/programs/mkfontscale'
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall
-Wpointer-$
mkfontscale.c: In function `getName':
mkfontscale.c:325: warning: comparison between signed and unsigned
mkfontscale.c: In function `nameWidth':
mkfontscale.c:416: warning: comparison between signed and unsigned
mkfontscale.c: In function `doDirectory':
mkfontscale.c:857: error: `BDF_PropertyRec' undeclared (first use in this function)
mkfontscale.c:857: error: (Each undeclared identifier is reported only once
mkfontscale.c:857: error: for each function it appears in.)
mkfontscale.c:857: error: parse error before "prop"
mkfontscale.c:858: warning: implicit declaration of function `FT_Get_BDF_Property'
mkfontscale.c:858: error: `prop' undeclared (first use in this function)
mkfontscale.c:859: error: `BDF_PROPERTY_TYPE_ATOM' undeclared (first use in this
function)
mkfontscale.c: In function `notice_foundry':
mkfontscale.c:1200: warning: comparison between signed and unsigned
mkfontscale.c: In function `vendor_foundry':
mkfontscale.c:1224: warning: comparison between signed and unsigned
make[4]: *** [mkfontscale.o] Error 1
make[4]: Leaving directory `/usr/src/xc/build/programs/mkfontscale'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/xc/build/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/xc/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/usr/src/xc/build'
make: *** [World] Error 2


It is version X11R6.7.0 on SuSE 8.2. It happens even if I copy xorgsite.def to
host.def and set BuildFonts to NO.

The build log file is here:

http://members.aol.com/kidicarus04/myhomepage/World.log
Comment 1 Roland Mainz 2004-07-12 18:37:16 UTC
Taking myself
Comment 2 Roland Mainz 2004-07-12 18:41:39 UTC
Created attachment 468 [details] [review]
Patch for 2004-07-12-trunk

The patch works around the problem via building the builtin copy of freetype2
for now until all SuSE versions with too old versions of libfreetype2 are
EOL'ed by SuSE.
Comment 3 Roland Mainz 2004-07-12 18:44:31 UTC
Patch checked-in...

/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.89; previous revision: 1.88
/cvs/xorg/xc/config/cf/linux.cf,v  <--  linux.cf
new revision: 1.7; previous revision: 1.6

... marking bug as FIXED.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.