[uClibc]Xlib.h

David Meggy dmeggy at techsol.ca
Thu Aug 29 00:28:03 UTC 2002


I'm trying to cross compile X onto an Arm board and I'm having the
following error



I'm trying to build Xfree86 4.2 with uClibc0.9.15 and I've run into the
following error: (actually I have a lot just like this one)

arm-linux-gcc -c -O2 -fsigned-char   -I. -I../include
-I../../../include/fonts -I../render           
-I../../../exports/include/X11 -I../../../include/fonts
-I../../../include/extensions -I../../../programs/Xserver/Xext 
-I../../.. -I../../../exports/include -I/exp/X11R6/include  -Dlinux
-D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
-DSHAPE      -DTOGCUP        -DRENDER  -DKDRIVESERVER -DGCCUSESGAS
-DDDXOSINIT -DSMART_SCHEDULE -DNOFONTSERVERACCESS   -DMAXSCREENS=3
-DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO     -DMITMISC -DXTEST -DXTRAP
-DXSYNC -DXCMISC   -DMITSHM  -DBIGREQS          -DFONTCACHE miinitext.c
miinitext.c:79:22: X11/Xlib.h: No such file or directory

my host.def file looks like this

#define BuildDocs NO
#define BuildFonts NO
#define BuildServersOnly YES
#define KDriveXServer YES
#define KdriveServerExtraDefines -DMAXSCREENS=3
#define TinyXServer YES
#define XfbdevServer YES
#define HasLibCrypt YES
#define ProjectRoot /exp/X11R6
#define UseSeparateConfDir NO
#include <cross.def>

and I edited linux.cf and cross.def to remove the warnings that defines
are getting redefined and to setup my cross compiler information

Anyone have any ideas?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~
     David Meggy
     Engineering

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
     www.techsol.ca

eMail: dmeggy at techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~




More information about the uClibc mailing list