I am unable to get xpdf 3.00 compiled. It gives an enormous amount of 
error messages, so I wonder if something has been corrupted somehow. 
Here is the compile log - anyone got any idea?

- M.

[EMAIL PROTECTED]:~$ fink update-all
Information about 4423 packages read in 2 seconds.
The following package will be installed or updated:
 xpdf
gzip -dc /sw/src/xpdf-3.00.tar.gz | /usr/bin/gnutar -xf - 
sed 's|@PREFIX@|/sw|g' < /sw/fink/dists/unstable/main/finkinfo/text/xpdf.patch 
| patch -p1
patching file xpdf/XRef.cc
patching file xpdf/Gfx.cc
patching file xpdf/GfxState.cc
patching file configure
Hunk #1 succeeded at 2012 with fuzz 1 (offset 107 lines).
Hunk #2 succeeded at 2566 (offset 102 lines).
patching file doc/sample-xpdfrc
./configure --prefix=/sw --mandir='${prefix}/share/man' 
--infodir='${prefix}/share/info' 
--with-freetype2-includes=/usr/X11R6/include/freetype2 
--with-freetype2-library=/usr/X11R6/lib --with-t1-includes=/sw/include 
--with-t1-library=/sw/lib --with-Xm-library=/sw/lib 
--with-Xm-includes=/sw/include
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... (cached) yes
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed
checking FD_ZERO and strings.h or bstring.h... need strings.h
checking for rewinddir... yes
checking for popen... yes
checking for mkstemp... yes
checking for mkstemps... yes
checking whether select takes fd_set arguments... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for fseek64... no
checking for ftell64... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to use Xpm library... maybe
checking where to find the Xpm header files... 
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
using Xpm library
checking whether to use Xext library... maybe
checking where to find the Xext header files... 
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XextAddDisplay in -lXext... yes
using Xext library
checking whether to use Xp library... maybe
checking where to find the Xp header files... 
checking X11/extensions/Print.h usability... yes
checking X11/extensions/Print.h presence... yes
checking for X11/extensions/Print.h... yes
checking for XpStartPage in -lXp... yes
using Xp library
checking whether to use Xt library... maybe
checking where to find the Xt header files... 
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for XtAppInitialize in -lXt... yes
using Xt library
checking whether to use Xm library... (cached) /sw/lib
checking where to find the Xm header files... (cached) /sw/include
checking Xm/XmAll.h usability... yes
checking Xm/XmAll.h presence... yes
checking for Xm/XmAll.h... yes
checking for XmCreateForm in -lXm... yes
using Xm library
checking whether to use Sgm library... maybe
checking where to find the Sgm header files... 
checking Sgm/HPanedW.h usability... no
checking Sgm/HPanedW.h presence... no
checking for Sgm/HPanedW.h... no
not using Sgm library
checking for XtAppSetExitFlag in -lXt... yes
checking whether to use t1 library... (cached) /sw/lib
checking where to find the t1 header files... (cached) /sw/include
checking t1lib.h usability... yes
checking t1lib.h presence... yes
checking for t1lib.h... yes
checking for T1_InitLib in -lt1... yes
using t1 library
checking whether to use freetype2 library... (cached) /usr/X11R6/lib
checking where to find the freetype2 header files... (cached) 
/usr/X11R6/include/freetype2
checking freetype/freetype.h usability... yes
checking freetype/freetype.h presence... yes
checking for freetype/freetype.h... yes
checking for FT_Get_Name_Index in -lfreetype... yes
using freetype2 library
checking whether to use libpaper library... maybe
checking where to find the libpaper header files... 
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating xpdf/Makefile
config.status: creating aconf.h
make
cd goo; make
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I. -c GHash.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I. -c GList.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I. -c GString.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I. -c gmempp.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I. -c gfile.cc
gcc -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I.   -c -o gmem.o gmem.c
cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
gcc -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I.   -c -o parseargs.o parseargs.c
cc1: warning: "-frtti" is valid for C++ but not for C/ObjC
rm -f libGoo.a
ar rc libGoo.a GHash.o GList.o GString.o gmempp.o gfile.o gmem.o parseargs.o
ranlib libGoo.a
cd fofi; make
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiBase.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiEncodings.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiTrueType.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiType1.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FoFiType1C.cc
rm -f libfofi.a
ar rc libfofi.a FoFiBase.o FoFiEncodings.o FoFiTrueType.o FoFiType1.o 
FoFiType1C.o
ranlib libfofi.a
cd splash; make
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. 
-I/sw/include -I/usr/X11R6/include/freetype2 -c Splash.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. 
-I/sw/include -I/usr/X11R6/include/freetype2 -c SplashBitmap.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. 
-I/sw/include -I/usr/X11R6/include/freetype2 -c SplashClip.cc
g++ -g -O2 -fno-rtti -DHAVE_CONFIG_H -I.. -I./../goo -I./../fofi -I. 
-I/sw/include -I/usr/X11R6/include/freetype2 -c SplashFTFont.cc
In file included from SplashFTFont.cc:15:
/usr/X11R6/include/freetype2/freetype/ftoutln.h:101: error: `FT_Error' was not 
   declared in this scope
/usr/X11R6/include/freetype2/freetype/ftoutln.h:102: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:102: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:136: error: `FT_Error' was not 
   declared in this scope
/usr/X11R6/include/freetype2/freetype/ftoutln.h:137: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:137: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:102: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:137: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:143: error: `FT_Error' was not 
   declared in this scope
/usr/X11R6/include/freetype2/freetype/ftoutln.h:144: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:144: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:137: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:144: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:174: error: `FT_Error' was not 
   declared in this scope
/usr/X11R6/include/freetype2/freetype/ftoutln.h:175: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:175: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:144: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:175: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:179: error: `FT_Error' was not 
   declared in this scope
/usr/X11R6/include/freetype2/freetype/ftoutln.h:180: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:180: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:175: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:180: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:198: error: `FT_Error' was not 
   declared in this scope
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:180: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: error: `FT_Outline' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: error: (Each undeclared 
   identifier is reported only once for each function it appears in.)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:226: error: `outline' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:227: error: `FT_BBox' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:227: error: `acbox' undeclared 
   (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:227: warning: ISO C++ forbids 
   declaration of `FT_Outline_Get_CBox' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:227: warning: initializer list 
   being treated as compound expression
/usr/X11R6/include/freetype2/freetype/ftoutln.h:247: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftoutln.h:247: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:247: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:247: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:248: error: `FT_Pos' undeclared 
   (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:248: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:249: warning: ISO C++ forbids 
   declaration of `FT_Outline_Translate' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:271: error: `FT_Error' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:199: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:296: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftoutln.h:296: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:296: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:296: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:297: error: `FT_Matrix' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:297: error: `matrix' undeclared 
   (first use this function)
/usr/X11R6/include/freetype2/freetype/ftoutln.h:297: warning: ISO C++ forbids 
   declaration of `FT_Outline_Transform' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:297: warning: initializer list 
   being treated as compound expression
/usr/X11R6/include/freetype2/freetype/ftoutln.h:320: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftoutln.h:320: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:320: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:320: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:320: warning: ISO C++ forbids 
   declaration of `FT_Outline_Reverse' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:350: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:350: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:272: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:350: error: syntax error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftoutln.h:387: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftoutln.h:387: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:350: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftoutln.h:387: error: syntax error before 
   `(' token
In file included from 
/usr/X11R6/include/freetype2/freetype/config/ftstdlib.h:74,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:30,
                 from SplashFTFont.cc:16:
/usr/include/ctype.h:194: error: cannot declare static function inside another 
   function
/usr/include/ctype.h: In function `int __maskrune(int, long unsigned int)':
/usr/include/ctype.h:201: error: cannot declare static function inside another 
   function
/usr/include/ctype.h: In function `int __istype(int, long unsigned int)':
/usr/include/ctype.h:207: error: cannot declare static function inside another 
   function
/usr/include/ctype.h: In function `int __isctype(int, long unsigned int)':
/usr/include/ctype.h:214: error: cannot declare static function inside another 
   function
/usr/include/ctype.h: In function `int __toupper(int)':
/usr/include/ctype.h:221: error: cannot declare static function inside another 
   function
In file included from 
/usr/X11R6/include/freetype2/freetype/config/ftstdlib.h:94,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:30,
                 from SplashFTFont.cc:16:
/usr/include/stdio.h: In function `int __tolower(int)':
/usr/include/stdio.h:361: error: cannot declare static function inside another 
   function
In file included from /usr/X11R6/include/freetype2/freetype/ftrender.h:24,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:31,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int __sputc(int, 
   __tolower(int)::FILE*)':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:70: error: `
   FT_Module_Constructor' undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:70: error: `FT_Module' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:70: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:70: warning: ISO C++ forbids 
   declaration of `FT_Error' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:70: error: typedef `FT_Error' 
   is initialized (use __typeof__ instead)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:70: error: `typedef int 
   (FT_Error)(...)' used prior to declaration
/usr/X11R6/include/freetype2/freetype/ftmodule.h:73: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:76: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:113: error: 'FT_ULong' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftmodule.h:114: error: 'FT_Int' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftmodule.h:115: warning: ISO C++ forbids 
   declaration of `FT_String' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:115: error: parse error before 
   `*' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:116: error: 'FT_Fixed' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftmodule.h:117: error: 'FT_Fixed' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftmodule.h:121: error: '
   FT_Module_Constructor' is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftmodule.h:150: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int 
   FT_EXPORT(int (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:150: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftoutln.h:387: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:387: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:150: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:150: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:150: error: `FT_Library' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:150: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:151: warning: ISO C++ forbids 
   declaration of `FT_Add_Module' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftoutln.h:387: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: syntax error 
   before `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:200: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int 
   FT_EXPORT(int (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:200: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:200: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:200: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:200: error: `FT_Library' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:200: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:201: warning: ISO C++ forbids 
   declaration of `FT_Remove_Module' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:224: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int 
   FT_EXPORT(int (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:224: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:224: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:224: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:224: error: `FT_Memory' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:224: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:225: warning: ISO C++ forbids 
   declaration of `FT_New_Library' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int 
   FT_EXPORT(int (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: error: `FT_Library' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:244: warning: ISO C++ forbids 
   declaration of `FT_Done_Library' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:276: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int FT_EXPORT()
   ':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:276: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:276: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:276: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:276: error: `FT_Library' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:276: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:278: warning: ISO C++ forbids 
   declaration of `FT_Set_Debug_Hook' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftmodule.h: In function `int FT_EXPORT()
   ':
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: error: `FT_Library' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftmodule.h:296: warning: ISO C++ forbids 
   declaration of `FT_Add_Default_Modules' with no type
In file included from /usr/X11R6/include/freetype2/freetype/ftrender.h:25,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:31,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/ftglyph.h:104: error: 'FT_Library' is 
   used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:106: error: 'FT_Glyph_Format' 
   is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:107: error: 'FT_Vector' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:157: error: 'FT_Int' is used as 
   a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:158: error: 'FT_Int' is used as 
   a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:159: error: 'FT_Bitmap' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:205: error: 'FT_Outline' is 
   used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftglyph.h:228: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:228: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:228: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:228: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:228: error: `FT_GlyphSlot' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftglyph.h:228: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:229: warning: ISO C++ forbids 
   declaration of `FT_Get_Glyph' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:251: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:251: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:251: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:251: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:252: warning: ISO C++ forbids 
   declaration of `FT_Glyph_Copy' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:281: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:281: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:281: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:281: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:282: error: type specifier 
   omitted for parameter `FT_Matrix'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:282: error: parse error before 
   `*' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:283: warning: ISO C++ forbids 
   declaration of `FT_Glyph_Transform' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:360: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:360: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:360: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:360: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:361: error: type specifier 
   omitted for parameter `FT_UInt'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:361: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:362: warning: ISO C++ forbids 
   declaration of `FT_Glyph_Get_CBox' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:437: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:437: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:437: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:437: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:438: error: type specifier 
   omitted for parameter `FT_ULong'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:438: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:440: warning: ISO C++ forbids 
   declaration of `FT_Glyph_To_Bitmap' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:455: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:455: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:455: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:455: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:455: warning: ISO C++ forbids 
   declaration of `FT_Done_Glyph' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:486: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT()':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:486: error: `int FT_EXPORT()' 
   redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:486: error: conflicts with 
   function declaration `int FT_EXPORT()'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:486: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:486: error: `a' undeclared 
   (first use this function)
/usr/X11R6/include/freetype2/freetype/ftglyph.h:487: error: `b' undeclared 
   (first use this function)
/usr/X11R6/include/freetype2/freetype/ftglyph.h:487: warning: ISO C++ forbids 
   declaration of `FT_Matrix_Multiply' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h:487: warning: initializer list 
   being treated as compound expression
/usr/X11R6/include/freetype2/freetype/ftglyph.h:506: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftglyph.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftglyph.h:506: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:506: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:506: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftglyph.h:506: warning: ISO C++ forbids 
   declaration of `FT_Matrix_Invert' with no type
In file included from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:31,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/ftrender.h:42: error: type specifier 
   omitted for parameter `FT_GlyphSlot'
/usr/X11R6/include/freetype2/freetype/ftrender.h:42: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:42: error: `FT_Glyph_Init_Func
   ' declared as function returning a function
/usr/X11R6/include/freetype2/freetype/ftrender.h:50: error: type specifier 
   omitted for parameter `FT_Matrix'
/usr/X11R6/include/freetype2/freetype/ftrender.h:50: error: parse error before 
   `*' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:55: error: type specifier 
   omitted for parameter `FT_BBox'
/usr/X11R6/include/freetype2/freetype/ftrender.h:55: error: parse error before 
   `*' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:59: error: `FT_Glyph_Copy_Func
   ' declared as function returning a function
/usr/X11R6/include/freetype2/freetype/ftrender.h:63: error: type specifier 
   omitted for parameter `FT_GlyphSlot'
/usr/X11R6/include/freetype2/freetype/ftrender.h:63: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:63: error: `
   FT_Glyph_Prepare_Func' declared as function returning a function
/usr/X11R6/include/freetype2/freetype/ftrender.h:68: error: 'FT_UInt' is used 
   as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftrender.h:69: error: 'FT_Glyph_Format' 
   is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftrender.h:80: error: `FT_Renderer' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftrender.h:80: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:83: error: `FTRenderer_render' 
   declared as function returning a function
/usr/X11R6/include/freetype2/freetype/ftrender.h:86: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:89: error: `
   FTRenderer_transform' declared as function returning a function
/usr/X11R6/include/freetype2/freetype/ftrender.h:92: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:97: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:99: error: `FTRenderer_setMode
   ' declared as function returning a function
/usr/X11R6/include/freetype2/freetype/ftrender.h:131: error: 'FT_Glyph_Format' 
   is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/ftrender.h:138: error: syntax error 
   before `*' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: redefinition of `
   int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftmodule.h:175: error: `int FT_EXPORT' 
   previously defined here
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: syntax error 
   before `(' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:199: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftrender.h: In function `int 
   FT_EXPORT(int (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftrender.h:199: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftrender.h:199: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftrender.h:199: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:199: error: `FT_Library' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftrender.h:199: error: parse error before 
   `,' token
/usr/X11R6/include/freetype2/freetype/ftrender.h:202: warning: ISO C++ forbids 
   declaration of `FT_Set_Renderer' with no type
In file included from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:32,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/ftsizes.h:94: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftsizes.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftsizes.h:94: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftsizes.h:94: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftsizes.h:94: error: parse error before `
   (' token
/usr/X11R6/include/freetype2/freetype/ftsizes.h:94: error: `FT_Face' undeclared 
   (first use this function)
/usr/X11R6/include/freetype2/freetype/ftsizes.h:94: error: parse error before `
   ,' token
/usr/X11R6/include/freetype2/freetype/ftsizes.h:95: warning: ISO C++ forbids 
   declaration of `FT_New_Size' with no type
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftsizes.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: error: `FT_Size' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftsizes.h:113: warning: ISO C++ forbids 
   declaration of `FT_Done_Size' with no type
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: warning: ISO C++ forbids 
   declaration of `FT_EXPORT' with no type
/usr/X11R6/include/freetype2/freetype/ftsizes.h: In function `int FT_EXPORT(int 
   (*)(...))':
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: error: `int FT_EXPORT(int 
   (*)(...))' redeclared as different kind of symbol
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   declaration of `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftrender.h:167: error: previous 
   non-function declaration `int FT_EXPORT'
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: error: conflicts with 
   function declaration `int FT_EXPORT(int (*)(...))'
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: error: parse error before 
   `(' token
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: error: `FT_Size' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: error: parse error before 
   `)' token
/usr/X11R6/include/freetype2/freetype/ftsizes.h:141: warning: ISO C++ forbids 
   declaration of `FT_Activate_Size' with no type
In file included from /usr/X11R6/include/freetype2/freetype/fttypes.h:24,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftmemory.h:25,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:33,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/ftsystem.h:65: error: `typedef struct 
   FT_MemoryRec_*FT_Memory' used prior to declaration
In file included from /usr/X11R6/include/freetype2/freetype/fttypes.h:25,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftmemory.h:25,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:33,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/ftimage.h:56: error: `typedef long int 
   FT_Pos' used prior to declaration
/usr/X11R6/include/freetype2/freetype/ftimage.h:104: error: `typedef struct 
   FT_EXPORT(int (*)(...))::FT_BBox_ FT_BBox' used prior to declaration
/usr/X11R6/include/freetype2/freetype/ftimage.h:319: error: `typedef struct 
   FT_EXPORT(int (*)(...))::FT_Outline_ FT_Outline' used prior to declaration
In file included from 
/usr/X11R6/include/freetype2/freetype/internal/ftmemory.h:25,
                 from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:33,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/fttypes.h:349: error: `typedef struct 
   FT_EXPORT(int (*)(...))::FT_Matrix_ FT_Matrix' used prior to declaration
In file included from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:34,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/internal/ftgloadr.h:77: error: '
   FT_SubGlyph' is used as a type, but is not defined as a type.
In file included from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:35,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:32: error: type 
   specifier omitted for parameter `FT_Face'
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:32: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:38: error: `FT_Face' 
   undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:38: error: parse 
   error before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:42: error: parse 
   error before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:45: error: parse 
   error before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:49: error: `
   FT_GlyphSlot' undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:49: error: parse 
   error before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:52: error: parse 
   error before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:56: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:63: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:68: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:75: error: `
   FT_CharMap' undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:75: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:79: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:83: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:90: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftdriver.h:95: error: parse 
   error before `,' token
In file included from 
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:36,
                 from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/internal/autohint.h:106: error: type 
   specifier omitted for parameter `FT_Face'
/usr/X11R6/include/freetype2/freetype/internal/autohint.h:106: error: parse 
   error before `,' token
/usr/X11R6/include/freetype2/freetype/internal/autohint.h:148: error: type 
   specifier omitted for parameter `FT_Face'
/usr/X11R6/include/freetype2/freetype/internal/autohint.h:148: error: parse 
   error before `)' token
/usr/X11R6/include/freetype2/freetype/internal/autohint.h:176: error: type 
   specifier omitted for parameter `FT_GlyphSlot'
/usr/X11R6/include/freetype2/freetype/internal/autohint.h:176: error: parse 
   error before `,' token
In file included from SplashFTFont.cc:16:
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:147: warning: non-local 
   function `void ft_validator_init(FT_ValidatorRec_*, const FT_Byte*, const 
   FT_Byte*, FT_EXPORT(int (*)(...))::FT_ValidationLevel_)' uses local type `
   FT_EXPORT(int (*)(...))::FT_ValidationLevel_'
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:203: error: '
   FT_CharMapRec' is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:250: error: type 
   specifier omitted for parameter `FT_CharMap'
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:250: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:382: error: 'FT_Library
   ' is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:440: error: `FT_Library
   ' undeclared (first use this function)
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:440: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:495: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:513: error: parse error 
   before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:681: error: parse error 
   before `[' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:684: error: '
   FT_Renderer' is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:685: error: 'FT_Module' 
   is used as a type, but is not defined as a type.
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:697: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:702: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:707: error: parse error 
   before `)' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:710: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:716: error: parse error 
   before `,' token
/usr/X11R6/include/freetype2/freetype/internal/ftobjs.h:761: warning: non-local 
   variable `FT_EXPORT(int (*)(...))::FT_Raster_Funcs ft_default_raster' uses 
   local type `FT_EXPORT(int (*)(...))::FT_Raster_Funcs'
In file included from SplashFTFont.cc:18:
SplashMath.h: In function `long int __signbitl(long double)':
SplashMath.h:14: error: cannot declare static function inside another function
SplashMath.h: In function `SplashCoord splashAbs(double)':
SplashMath.h:18: error: cannot declare static function inside another function
SplashMath.h: In function `int splashFloor(double)':
SplashMath.h:22: error: cannot declare static function inside another function
SplashMath.h: In function `int splashCeil(double)':
SplashMath.h:26: error: cannot declare static function inside another function
SplashMath.h: In function `int splashRound(double)':
SplashMath.h:30: error: cannot declare static function inside another function
SplashMath.h: In function `SplashCoord splashSqrt(double)':
SplashMath.h:34: error: cannot declare static function inside another function
SplashMath.h: In function `SplashCoord splashPow(double, double)':
SplashMath.h:39: error: cannot declare static function inside another function
SplashPath.h:105: confused by earlier errors, bailing out
make[1]: *** [SplashFTFont.o] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling xpdf-3.00-12 failed
[EMAIL PROTECTED]:~$



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to