[Xorg] Error building CVS xc on Linux from Scratch 5.0 on a i586

Roland Mainz roland.mainz at nrubsig.org
Mon May 10 06:37:39 PDT 2004


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

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




More information about the xorg mailing list