Dear Marc,

The version is 4.6.0. Thanks!

Regards,
Kevin
Solomon Systech Limited
Direct line: 86169830
Ext: 8830
Email: [EMAIL PROTECTED]
Website: http://www.solomon-systech.com


-----Original Message-----
From: Marc Aurele La France [mailto:[EMAIL PROTECTED] 
Sent: 2007年6月28日 11:22
To: kevin
Cc: xfree86@XFree86.Org
Subject: Re: [XFree86] building tinyx with freetype2 problem

On Tue, 12 Jun 2007, kevin wrote:

> I built freetype2 in /usr/local/. Here's the file structure.
> [EMAIL PROTECTED]:/usr/local/include# ls
> ft2build.h  jerror.h    jpeglib.h  libpng12  pngconf.h   x264.h
> x264_gtk_enum.h
> freetype2  jconfig.h   jmorecfg.h  libpng     png.h     soundtouch
> x264_gtk.h

> and the library is in /usr/loca/lib/

> I define Freetype2Dir /usr/local in my host.def file. When compiling the
> source code, an error occurred.

> /* part of host.def */

> #define HasFreetype2     YES
> #define Freetype2Dir      /usr/local

> The error is as follows.
> gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -Wall
> -Wpointer-arith -Wundef  -I. -I../../exports/include -I/usr/local/include
> -I/usr/local/include/freetype2 -I../../extras/fontconfig/src
> -I../../exports/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
> -D_POSIX_SOURCE -D_XOPEN_SOURCE
> -D_BSD_SOURCE -D_SVID_SOURCE                           -D_GNU_SOURCE
> -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API
> -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2     -fPIC fcfreetype.c
> fcfreetype.c:31:10: #include expects "FILENAME" or <FILENAME>
> fcfreetype.c: In function `FcFreeTypeQuery':
> fcfreetype.c:542: warning: implicit declaration of function
> `FT_MODULE_CLASS'
> fcfreetype.c:542: error: dereferencing pointer to incomplete type
> fcfreetype.c:542: error: invalid type argument of `->'
> fcfreetype.c:542: error: dereferencing pointer to incomplete type

> Could anyone help me? Thanks in advance!

What XFree86 version are you trying to build.  There have been several fixes

in this area since 4.6.0.

Marc.

+----------------------------------+----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310          |
|  Academic Information and        |  fax:    1-780-492-1729          |
|    Communications Technologies   |  email:  [EMAIL PROTECTED]         |
|  352 General Services Building   +----------------------------------+
|  University of Alberta           |                                  |
|  Edmonton, Alberta               |    Standard disclaimers apply    |
|  T6G 2H1                         |                                  |
|  CANADA                          |                                  |
+----------------------------------+----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.


_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to