On Sat, 10 Sep 2005, rblythe wrote:


I checked my config/cf/host.def and it does contain the line:
#define HasFreetype2 YES
And it is not commented out.

Here are the lines in ftconfig.h that I believe are driving the error
messages:
 /* The size of an `int' type.  */
#if   FT_UINT_MAX == 0xFFFFFFFFUL
#define FT_SIZEOF_INT  (32 / FT_CHAR_BIT)
#elif FT_UINT_MAX == 0xFFFFU
#define FT_SIZEOF_INT  (16 / FT_CHAR_BIT)
#elif FT_UINT_MAX > 0xFFFFFFFFU && FT_UINT_MAX == 0xFFFFFFFFFFFFFFFFU
#define FT_SIZEOF_INT  (64 / FT_CHAR_BIT)
#else
---> (line 82) #error "Unsupported size of `int' type!"

 OK, what is FT_UINT_MAX ?  And, I suppose, FT_CHAR_BIT ?

On a 32-bit machine, I'd expect 0xFFFFFFFFUL and 8 but it certainly looks as if something has the wrong value.


I also noticed when I was reading the ftconfig.h that the syntax does refer to
the ftconfig.h in the /extras... instead of the /usr/include/... where it was
installed by Freetype2.1.9.  I am not sure of how to fix this or if I am
simply reading the header file incorrectly.


How do the equivalent lines, and values, from the system's ftconfig compare ?

That's why I asked about the HasFreetype2. Probably, cast a suspicious eye over the host.def file - in particular, check for incorrect capitalization and syntax errors (it's C, not shell) - not getting the comments correctly started (/*) or finished (*/) is the major syntax problem.

Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to