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

Phil Bertram phil.bertram at clear.net.nz
Sun May 9 20:31:52 PDT 2004


Hi,

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

***** many more error line removed here *****************

FontSample.c:1776: error: dereferencing pointer to incomplete type
FontSample.c:1776: error: dereferencing pointer to incomplete type
FontSample.c: In function `Cancel':
FontSample.c:1786: error: dereferencing pointer to incomplete type
FontSample.c:1787: error: dereferencing pointer to incomplete type
FontSample.c: In function `FSBCancelSampler':
FontSample.c:1795: error: called object is not a function
make[4]: *** [FontSample.o] Error 1
make[4]: Leaving directory `/home/phil/src/xc_build/lib/dpstk'
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