FreeType failure building R6.7.0?

Kendall Bennett KendallB at scitechsoft.com
Fri Sep 10 11:09:24 PDT 2004


Hi Guys,

I have been having problems getting the R6.7.0 code to compile fully for 
me on Fedora Core 2. The build always stops when it gets to the step of 
building FreeType 2 with the errors below. It looks like some files are 
missing for some reason, mostly header files like 'ftmodule' etc. Is that 
a known problem with 6.7.0? 

I can actually get it to build far enough that I can build our driver 
modules so it is not a huge issues, but I would like to be able to get 
the build to finish. Any help getting it building would be appreciated 
(6.8.0 is building right now, so hopefully it won't have the same issues 
;-).

making all in lib/font/FreeType...
make[4]: Entering directory 
`/home/kendallb/sdd/R6.7.0/xc/lib/font/FreeType'
making all in lib/font/FreeType/module...
make[5]: Entering directory 
`/home/kendallb/sdd/R6.7.0/xc/lib/font/FreeType/module'
rm -f ftfuncs.o
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -
Wall -Wpointer-arith -Wundef  -fPIC   -I. -I.. -
I../../../../include/fonts -I../../include -
I../../../../exports/include/X11             -
I../../../../programs/Xserver/include -I/usr/include/freetype2 -
I/usr/include/freetype2/c
onfig -I../../../../exports/include  -I../../../.. -
I../../../../exports/include   -Dlinux -D__i386__ -
D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-
D_BSD_SOURCE -D_SVID_SOURCE 				 -D_GNU_SOURCE 				 -DSHAPE -DXINPUT -
DXKB -DLBX -DXAPPGROUP 	-DXCSECURITY -DTOGCUP  	-DXF86BIGFON
T -DDPMSExtension 	 -DPIXPRIV -DPANORAMIX 	 -DRENDER -DRANDR -DGCCUSESGAS 
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA -DXvExtension 			
	-DXFree86LOADER  -DXFree86Server 				-DXF86VIDMODE 				-DXvMCExtension 		
		-DSMART_SCHEDULE 				-DBUILDDEBUG -DXResExtension 				-
DX_BYTE_ORDER=X_LITT
LE_ENDIAN 				-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) 
+ ((0) * 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE 
-DXFree86Module  -DXFREE86_FT2   -DXVENDORNAME='"The X.Org Foundation"' -
DXVENDORNAMESHORT='"X.Org"'  -c ftfuncs.c
In file included from 
/usr/include/freetype2/freetype/internal/ftobjs.h:31,
                 from 
/usr/include/freetype2/freetype/internal/tttypes.h:26,
                 from ftfuncs.c:54:
/usr/include/freetype2/freetype/ftrender.h:24:21: freetype/ftmodule.h: No 
such file or directory
In file included from 
/usr/include/freetype2/freetype/internal/ftobjs.h:31,
                 from 
/usr/include/freetype2/freetype/internal/tttypes.h:26,
                 from ftfuncs.c:54:
/usr/include/freetype2/freetype/ftrender.h:145: error: syntax error 
before "FT_Module_Class"
/usr/include/freetype2/freetype/ftrender.h:145: warning: no semicolon at 
end of struct or union
/usr/include/freetype2/freetype/ftrender.h:156: error: syntax error 
before '}' token
/usr/include/freetype2/freetype/ftrender.h:156: warning: type defaults to 
`int' in declaration of `FT_Renderer_Class'
/usr/include/freetype2/freetype/ftrender.h:156: error: ISO C forbids data 
definition with no type or storage class
In file included from 
/usr/include/freetype2/freetype/internal/ftobjs.h:35,
                 from 
/usr/include/freetype2/freetype/internal/tttypes.h:26,
                 from ftfuncs.c:54:
/usr/include/freetype2/freetype/internal/ftdriver.h:24:21: 
freetype/ftmodule.h: No such file or directory
In file included from 
/usr/include/freetype2/freetype/internal/ftobjs.h:35,
                 from 
/usr/include/freetype2/freetype/internal/tttypes.h:26,
                 from ftfuncs.c:54:
/usr/include/freetype2/freetype/internal/ftdriver.h:170: error: syntax 
error before "FT_Module_Class"
/usr/include/freetype2/freetype/internal/ftdriver.h:170: warning: no 
semicolon at end of struct or union
/usr/include/freetype2/freetype/internal/ftdriver.h:194: error: syntax 
error before '}' token
/usr/include/freetype2/freetype/internal/ftdriver.h:194: warning: type 
defaults to `int' in declaration of `FT_Driver_ClassRec'
/usr/include/freetype2/freetype/internal/ftdriver.h:194: warning: type 
defaults to `int' in declaration of `FT_Driver_Class'
/usr/include/freetype2/freetype/internal/ftdriver.h:194: error: ISO C 
forbids data definition with no type or storage class
In file included from 
/usr/include/freetype2/freetype/internal/tttypes.h:26,
                 from ftfuncs.c:54:
/usr/include/freetype2/freetype/internal/ftobjs.h:408: error: syntax 
error before "FT_Module_Class"
/usr/include/freetype2/freetype/internal/ftobjs.h:408: warning: no 
semicolon at end of struct or union
/usr/include/freetype2/freetype/internal/ftobjs.h:413: error: syntax 
error before '}' token
/usr/include/freetype2/freetype/internal/ftobjs.h:413: warning: type 
defaults to `int' in declaration of `FT_ModuleRec'
/usr/include/freetype2/freetype/internal/ftobjs.h:413: error: ISO C 
forbids data definition with no type or storage class
/usr/include/freetype2/freetype/internal/ftobjs.h:596: error: syntax 
error before "FT_ModuleRec"
/usr/include/freetype2/freetype/internal/ftobjs.h:596: warning: no 
semicolon at end of struct or union
/usr/include/freetype2/freetype/internal/ftobjs.h:597: warning: type 
defaults to `int' in declaration of `clazz'
/usr/include/freetype2/freetype/internal/ftobjs.h:597: error: ISO C 
forbids data definition with no type or storage class
/usr/include/freetype2/freetype/internal/ftobjs.h:605: error: syntax 
error before '}' token
/usr/include/freetype2/freetype/internal/ftobjs.h:605: warning: type 
defaults to `int' in declaration of `FT_RendererRec'
/usr/include/freetype2/freetype/internal/ftobjs.h:605: error: ISO C 
forbids data definition with no type or storage class
/usr/include/freetype2/freetype/internal/ftobjs.h:657: error: syntax 
error before "FT_ModuleRec"
/usr/include/freetype2/freetype/internal/ftobjs.h:657: warning: no 
semicolon at end of struct or union
/usr/include/freetype2/freetype/internal/ftobjs.h:658: warning: type 
defaults to `int' in declaration of `clazz'
/usr/include/freetype2/freetype/internal/ftobjs.h:658: error: conflicting 
types for `clazz'
/usr/include/freetype2/freetype/internal/ftobjs.h:597: error: previous 
declaration of `clazz'
/usr/include/freetype2/freetype/internal/ftobjs.h:658: error: ISO C 
forbids data definition with no type or storage class
/usr/include/freetype2/freetype/internal/ftobjs.h:665: error: syntax 
error before '}' token
/usr/include/freetype2/freetype/internal/ftobjs.h:665: warning: type 
defaults to `int' in declaration of `FT_DriverRec'
/usr/include/freetype2/freetype/internal/ftobjs.h:665: error: ISO C 
forbids data definition with no type or storage class
/usr/include/freetype2/freetype/internal/ftobjs.h:766: error: syntax 
error before "FT_DebugHook_Func"
/usr/include/freetype2/freetype/internal/ftobjs.h:766: warning: no 
semicolon at end of struct or union
/usr/include/freetype2/freetype/internal/ftobjs.h:768: warning: type 
defaults to `int' in declaration of `FT_LibraryRec'
/usr/include/freetype2/freetype/internal/ftobjs.h:768: error: ISO C 
forbids data definition with no type or storage class
make[5]: *** [ftfuncs.o] Error 1
make[5]: Leaving directory 
`/home/kendallb/sdd/R6.7.0/xc/lib/font/FreeType/module'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/home/kendallb/sdd/R6.7.0/xc/lib/font/FreeType'
make[3]: *** [FreeType] Error 2
make[3]: Leaving directory `/home/kendallb/sdd/R6.7.0/xc/lib/font'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kendallb/sdd/R6.7.0/xc/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kendallb/sdd/R6.7.0/xc'
make: *** [all] Error 2

Regards,

---
Kendall Bennett
Chief Executive Officer
SciTech Software, Inc.
Phone: (530) 894 8400
http://www.scitechsoft.com

~ SciTech SNAP - The future of device driver technology! ~





More information about the xorg mailing list