make Work complains about missing include files
Sverre Froyen
sverre at viewmark.com
Sun Mar 20 07:51:35 PST 2005
Hi,
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
I presume that I am missing some configuration option to make the build
system look for the missing include files in the source tree. In the
case of ftbuild.h, there are copies in
./extras/freetype2/devel/
./extras/freetype2/include/
./lib/font/FreeType/module/
but none in the set of directories pointed to by the -I compiler
options. Can someone please point me in the right direction?
I apologize if this is not the correct list for this question.
Thanks,
Sverre
More information about the xorg
mailing list