make Work complains about missing include files

Roland Mainz roland.mainz at nrubsig.org
Sun Mar 20 13:41:25 PST 2005


Sverre Froyen wrote:
> I'm attempting to build a current (last cvs update on March 9) version
> of xorg for testing.  To this end, I added
> 
> #define ProjectRoot /usr/local/xorg
> #define NothingOutsideProjectRoot YES
> 
> to config/cf/host.def and executed make World.  This used to work OK,
> but lately it has been in failing various places because of missing
> include files.  Here is one example:
> 
> gcc -c -ansi -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes
> -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
> -Wnested-externs -Wundef   -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I../../extras/fontconfig/src
> -I../../extras/fontconfig -I../../exports/include/X11  -I../..
> -I../../exports/include   -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO
> -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
> -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2
> -DFONTCONFIG_PATH='"/usr/local/xorg/etc/fonts"' -O2
> -fno-strict-aliasing   fcatomic.c -o unshared/fcatomic.o
> In file included from ../../extras/fontconfig/src/fcint.h:38,
>                  from fcatomic.c:49:
> ../../extras/fontconfig/fontconfig/fcfreetype.h:26:22: ft2build.h: No
> such file or directory

That may be the problem that your version of freetype2 installed in the
system is too old.
can you try adding
-- snip --
#define HasFreetype2 NO
-- snip --
to your xc/config/cf/host.def , rebuild and see whether this fixes your
issue ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)



More information about the xorg mailing list