Error Building xorg libraries
Beecher Rintoul
akbeech at northwindcom.dyndns.org
Sun Jul 11 10:47:46 PDT 2004
On Saturday 10 July 2004 09:56 pm, Beecher Rintoul wrote:
> I'm getting the following error trying to build xorg libs:
>
> c -c -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall
> -Wpointer-arith -Wundef -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I.
> -I/usr/ports/x11/xorg-libraries/work/xc/include/fonts -I../include
> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include/X11
> -I/usr/ports/x11/xorg-libraries/work/xc/programs/Xserver/include
> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include
> -I/usr/ports/x11/xorg-libraries/work/xc
> -I/usr/ports/x11/xorg-libraries/work/xc/exports/include
> -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
> -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
> -DXFreeXDGA -DXvExtension
> -DXFree86LOADER -DXFree86Server -DXF86VIDMODE
> -DXvMCExtension -DSMART_SCHEDULE
> -DBUILDDEBUG -DXResExtension
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN
> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) * 1000) +
> 0)" -DXFREE86_FT2 -DXVENDORNAME='"The X.Org Foundation"'
> -DXVENDORNAMESHORT='"X.Org"' -O -pipe ftfuncs.c -o
> unshared/ftfuncs.o
> In file included from ftfuncs.c:46:
> /usr/X11R6/include/ft2build.h:55:38: freetype/config/ftheader.h: No such
> file or directory
> ftfuncs.c:47:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:48:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:49:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:50:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:51:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:52:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:53:10: #include expects "FILENAME" or <FILENAME>
> ftfuncs.c:54:10: #include expects "FILENAME" or <FILENAME>
> In file included from ftfuncs.c:69:
> ft.h:68: error: syntax error before "FT_CharMap"
> ft.h:83: error: syntax error before "FT_Face"
> ft.h:84: error: syntax error before "face"
> ft.h:89: error: syntax error before "int"
> In file included from ftfuncs.c:70:
> ftfuncs.h:48: error: syntax error before "FT_Face"
> ftfuncs.h:59: error: syntax error before "FT_Matrix"
> ftfuncs.h:121: error: syntax error before "FT_Size"
> ftfuncs.h:123: error: syntax error before "FT_Int32"
> ftfuncs.h:162: error: syntax error before "FT_Int32"
> ftfuncs.h:182: error: syntax error before "FT_Int32"
> ftfuncs.c:125: error: syntax error before "ftypeLibrary"
> ftfuncs.c:125: warning: type defaults to `int' in declaration of
> `ftypeLibrary'
> <SNIP>
>
Problem solved. Includes were pointing to /usr/include/freetype2 instead
of /usr/local/include/freetype2. I did a symlink, but /usr/local/include is
the path that freetype2 uses on install.
Beech
--
---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at northwindcom.dyndns.org
/"\ ASCII Ribbon Campaign | NorthWind Communications
\ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \
---------------------------------------------------------------------------------------
More information about the freebsd-x11
mailing list