freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Errors when compiling freetype 2.3.5 on tru64 5.1b


From: Didier Godefroy
Subject: [ft] Errors when compiling freetype 2.3.5 on tru64 5.1b
Date: Fri, 02 May 2008 20:17:34 +0200
User-agent: Microsoft-Entourage/11.4.0.080122

Hi all,

I get many errors when compiling freetype 2.3.5 on tru64 5.1b:

cc -I/usr/local/include -L/usr/local/lib
-I/usr/local/freetype2/freetype-2.3.5/objs -I./builds/unix
-I/usr/local/freetype2/freetype-2.3.5/include -c -std1 -g3
-DFT_CONFIG_OPTION_SYSTEM_ZLIB "-DFT_CONFIG_CONFIG_H=<ftconfig.h>"
-DFT2_BUILD_LIBRARY "-DFT_CONFIG_MODULES_H=<ftmodule.h>"
builds/unix/ftsystem.c  -DPIC -o
/usr/local/freetype2/freetype-2.3.5/objs/.libs/ftsystem.o
cc: Error: 
/usr/local/freetype2/freetype-2.3.5/include/freetype/internal/ftdebug.h,
line 116: In this declaration, "FT_Int" appears to be used as if it named a
type, but there is no declared type of that name visible. (typedefnotdef)
  FT_BASE( FT_Int )
--^
cc: Error: 
/usr/local/freetype2/freetype-2.3.5/include/freetype/internal/ftdebug.h,
line 144: In this parameter list, "FT_Int" must either be a type or must be
followed by a ",". (badparseparam)
  FT_Trace_Get_Name( FT_Int  idx );
---------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 27: #error "freetype.h of FreeType 1 has been loaded!" (errormessage)
#error "freetype.h of FreeType 1 has been loaded!"
-^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 28: #error "Please fix the directory search order for header files"
(errormessage)
#error "Please fix the directory search order for header files"
-^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 29: #error "so that freetype.h of FreeType 2 is found first."
(errormessage)
#error "so that freetype.h of FreeType 2 is found first."
-^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 82: In this parameter list, "FT_Module" must either be a type or must
be followed by a ",". (badparseparam)
  (*FT_Module_Constructor)( FT_Module  module );
----------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 85: In this parameter list, "FT_Module" must either be a type or must
be followed by a ",". (badparseparam)
  (*FT_Module_Destructor)( FT_Module  module );
---------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 88: In this parameter list, "FT_Module" must either be a type or must
be followed by a ",". (badparseparam)
  (*FT_Module_Requester)( FT_Module    module,
--------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 163: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Add_Module( FT_Library              library,
-----------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 187: In this declaration, "FT_Module" appears to be used as if it named
a type, but there is no declared type of that name visible. (typedefnotdef)
  FT_EXPORT( FT_Module )
--^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 213: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Remove_Module( FT_Library  library,
--------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 238: Ill-formed parameter type list. (parmtyplist)
                  FT_Library  *alibrary );
------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 257: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Done_Library( FT_Library  library );
-------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 293: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Set_Debug_Hook( FT_Library         library,
---------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 312: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Add_Default_Modules( FT_Library  library );
--------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftmodapi.h,
line 395: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Get_TrueType_Engine_Type( FT_Library  library );
-------------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftglyph.h,
line 40: #error "freetype.h of FreeType 1 has been loaded!" (errormessage)
#error "freetype.h of FreeType 1 has been loaded!"
-^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftglyph.h,
line 41: #error "Please fix the directory search order for header files"
(errormessage)
#error "Please fix the directory search order for header files"
-^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftglyph.h,
line 42: #error "so that freetype.h of FreeType 2 is found first."
(errormessage)
#error "so that freetype.h of FreeType 2 is found first."
-^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftglyph.h,
line 110: Missing type specifier or type qualifier. (missingtype)
    FT_Library             library;
----^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftglyph.h,
line 234: In this parameter list, "FT_GlyphSlot" must either be a type or
must be followed by a ",". (badparseparam)
  FT_Get_Glyph( FT_GlyphSlot  slot,
----------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftglyph.h,
line 489: Ill-formed parameter type list. (parmtyplist)
                      FT_Render_Mode  render_mode,
----------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 42: Ill-formed parameter type list. (parmtyplist)
                        FT_GlyphSlot  slot );
------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 63: Ill-formed parameter type list. (parmtyplist)
                           FT_GlyphSlot  slot );
---------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 88: In this parameter list, "FT_Renderer" must either be a type or must
be followed by a ",". (badparseparam)
  (*FT_Renderer_RenderFunc)( FT_Renderer       renderer,
-----------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 94: In this parameter list, "FT_Renderer" must either be a type or must
be followed by a ",". (badparseparam)
  (*FT_Renderer_TransformFunc)( FT_Renderer       renderer,
--------------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 101: In this parameter list, "FT_Renderer" must either be a type or
must be followed by a ",". (badparseparam)
  (*FT_Renderer_GetCBoxFunc)( FT_Renderer   renderer,
------------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 107: In this parameter list, "FT_Renderer" must either be a type or
must be followed by a ",". (badparseparam)
  (*FT_Renderer_SetModeFunc)( FT_Renderer  renderer,
------------------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 182: In this declaration, "FT_Renderer" appears to be used as if it
named a type, but there is no declared type of that name visible.
(typedefnotdef)
  FT_EXPORT( FT_Renderer )
--^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftrender.h,
line 215: In this parameter list, "FT_Library" must either be a type or must
be followed by a ",". (badparseparam)
  FT_Set_Renderer( FT_Library     library,
-------------------^
cc: Error: /usr/local/freetype2/freetype-2.3.5/include/freetype/ftsizes.h,
line 36: #error "freetype.h of FreeType 1 has been loaded!" (errormessage)
#error "freetype.h of FreeType 1 has been loaded!"
-^
cc: Severe: More than 30 errors were encountered in the course of
compilation. (toomanyerr)
gmake: *** [/usr/local/freetype2/freetype-2.3.5/objs/ftsystem.lo] Error 1


The configure command I used was:

CC="cc" CFLAGS="-O4 -g3 -pthread" \
CPPFLAGS="-I/usr/local/include -L/usr/local/lib" \
LIBS="-L/usr/local/lib" \
INCLUDES="-I/usr/local/include" \
GNUMAKE="/usr/local/bin/gmake" \
./configure --with-zlib=/usr/local

I do have an older freetype1 installed in /usr/local/include/freetype but it
doesn't seem to be the source of some collision.
I updated zlib and am trying now to compile the latest gd, which also gives
me problems not recognizing libjpeg, fontconfig and pthread. And I need
freetype2 and gd for pdflib.

-- 
Didier Godefroy
mailto:address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]