[Xorg] Error building CVS xc on Linux from Scratch 5.0 on a i586 - futher problems
Phil Bertram
phil.bertram at clear.net.nz
Wed May 12 21:38:19 PDT 2004
On Mon, 10 May 2004 09:37, Roland Mainz wrote:
> Phil Bertram wrote:
> > Build fails using xc tree downloaded using
> > cvs -d :pserver:anoncvs at cvs.freedesktop.org:/cvs/xorg co xc
> >
> > Any ideas as to where my problem may be ?
> >
> > Only changes to xc tree was using this host.def taken from Linux from
> > Scratch
> >
> > #define DefaultGcc2i386Opt -O2 -fomit-frame-pointer -march=i586
> >
> > /* This setting reduces compile time a little by omitting rarely used
> > input * devices. You can find the complete list in config/cf/xfree86.cf
> > ********/ #define XInputDrivers mouse void
> >
> > /* Drivers to build */
> > #define XF86CardDrivers neomagic fbdev vesa dummy
> >
> > /* GENERAL SETTINGS: You generally want to leave these alone when
> > * building X on an LFS system
> > *********************************************/ #define GccWarningOptions
> > -pipe /* Speed up compiles */
> > #define TermcapLibrary -lncurses
> > #define XprtServer YES /* Needed by realplayer */
> > #define XnestServer YES
> > #define XAppLoadDir EtcX11Directory/app-defaults
> > #define VarLibDir /var/lib
> > #define XFree86Devel NO
> > #define FSUseSyslog YES
> > #define ThreadedX YES
> > #define HasPam NO
> > #define SystemManDirectory /usr/share/man /* Instead of /usr/man
> > */ #define HasLibCrypt YES
> > #define InstallXinitConfig YES
> > #define InstallXdmConfig YES
> > #define ForceNormalLib YES
> > /* Above says to leave alone but changed this to YES*/
> > #define BuildSpecsDocs YES
> >
> > World.log
> >
> > make[4]: Leaving directory `/home/phil/src/xc_build/lib/dps'
> > making all in lib/dpstk...
> > make[4]: Entering directory `/home/phil/src/xc_build/lib/dpstk'
> > rm -f XDPSpwraps.o unshared/XDPSpwraps.o
> > gcc -m32 -c -ansi -pedantic -pipe -I/usr/X11R6/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
> > -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_RESOURCE_PATH=\"NULL\"
> > -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'
> > -O2 -fomit-frame-pointer -march=i586 XDPSpwraps.c -o
> > unshared/XDPSpwraps.o
> > rm -f XDPSpwraps.o
> >
> > ***** lines removed here *****************
> >
> > gcc -m32 -c -O2 -fomit-frame-pointer -march=i586 -ansi -pedantic -pipe
> > -I/usr/X11R6/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 -DFUNCPROTO=15
> > -DNARROWPROTO -DDEFAULT_RESOURCE_PATH=\"NULL\" -DXVENDORNAME='"The
> > X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -fPIC FSBwraps.c
> > rm -f FontSample.o unshared/FontSample.o
> > gcc -m32 -c -ansi -pedantic -pipe -I/usr/X11R6/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
> > -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_RESOURCE_PATH=\"NULL\"
> > -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'
> > -O2 -fomit-frame-pointer -march=i586 FontSample.c -o
> > unshared/FontSample.o
> > FontSample.c:47:19: Xm/Xm.h: No such file or directory
> > FontSample.c:54:20: Xm/XmP.h: No such file or directory
> > FontSample.c:57:21: Xm/Form.h: No such file or directory
> > FontSample.c:58:21: Xm/List.h: No such file or directory
> > FontSample.c:59:22: Xm/Label.h: No such file or directory
> > FontSample.c:60:23: Xm/LabelG.h: No such file or directory
>
> [snip]
>
> Either install OpenMotif or LessTif on the build machine or add these
> two lines to the build config:
> -- snip --
> #define HasMotif NO
> #define HasMotif2 NO
> -- snip --
>
> ----
>
> Bye,
> Roland
Thanks for that information above.
#define HasMotif NO and #define HasMotif2 NO in host.def got me further
through the build.
However, now I have struck another problem.
I can see that there has been some development activity in the CVS in this
area but I really do not understand enough to know if it may or may not
relate to my problem.
Any further ideas to help me solve my problem ?
from World.log ............
rm -f xttcap.o
gcc -m32 -c -O2 -fomit-frame-pointer -march=i586 -ansi -pedantic -pipe
-I/usr/include/freetype2 -I/usr/include/freetype2/config -I.
-I../../../include/fonts -I../include -I../../../exports/include/X11
-I../../../programs/Xserver/include -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 -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"' -fPIC xttcap.c
rm -f ftfuncs.o unshared/ftfuncs.o
gcc -m32 -c -ansi -pedantic -pipe -I/usr/include/freetype2
-I/usr/include/freetype2/config -I. -I../../../include/fonts -I../include
-I../../../exports/include/X11 -I../../../programs/Xserver/include
-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 -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"' -O2 -fomit-frame-pointer -march=i586
ftfuncs.c -o unshared/ftfuncs.o
ftfuncs.c: In function `FT_Do_SBit_Metrics':
ftfuncs.c:931: error: structure has no member named `find_sbit_image'
ftfuncs.c:955: error: structure has no member named `load_sbit_metrics'
make[5]: *** [ftfuncs.o] Error 1
make[5]: Leaving directory `/home/phil/src/xc_build/lib/font/FreeType'
make[4]: *** [FreeType] Error 2
make[4]: Leaving directory `/home/phil/src/xc_build/lib/font'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/phil/src/xc_build/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/phil/src/xc_build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/phil/src/xc_build'
make: *** [World] Error 2
More information about the xorg
mailing list