Modular build failed on Mesa - mesa/src/mesa/drivers/x11/xm_image.c not found

david rankin drankinatty at suddenlinkmail.com
Tue Apr 10 09:16:03 PDT 2007


In my saga of trying to compile a new intel driver, I have run into a snag. 
I have downloaded the complete modular tree using git and I am using the 
util/modular/build.sh script. All parts of the modular tree are under 
tmp/src. The command line options for build.sh are: 
PATH=/tmp/modular/bin:$PATH ./util/modular/build.sh -m /tmp/src/mesa -n -D 
/tmp/modular > build.log 2>&1. Mesa was obtained by git and is located in 
/tmp/src/mesa. Everything seems to go fine until it looks for 
/tmp/src/mesa/src/mesa/drivers/x11/xm_image.c  The error is as follows:

gcc -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/tmp/modular/include   
 -D_XOPEN_SOURCE -I./include -DXFSPIDDIR=\"/var/run\" -DDEFAULT_CONFIG_FILE=\"/tmp/modular/lib/X11/fs/config\" 
 -DFONT_PCF -DFONT_FS -DFONT_SPEEDO -D_BSD_SOURCE -DFONT_t -DTRANS_SERVER -DTRANS_REOPEN 
 -g -O2   -o xfs  atom.o cache.o charinfo.o difsutils.o dispatch.o events.o 
extensions.o fontinfo.o fonts.o globals.o initfonts.o main.o resource.o 
swaprep.o swapreq.o tables.o access.o config.o connection.o daemon.o error.o 
io.o osglue.o osinit.o utils.o waitfor.o 
xfstrans.o -L/tmp/modular/lib -lFS -lXfont -lm -lfontenc -lfreetype -lz
   error:   /tmp/src/mesa/src/mesa/drivers/x11/xm_image.c not found
configure: error: Failed to link Mesa source tree.  Please specify a proper 
path to Mesa sources, or disable GLX.
./configure: line 20486: syntax error near unexpected token `RANDR,'
./configure: line 20487: syntax error near unexpected token `XKB,'
./configure: line 20486: syntax error near unexpected token `RANDR,'
./configure: line 20486: syntax error near unexpected token `RANDR,'
./configure: line 20486: syntax error near unexpected token `RANDR,'
<snip>

There is no xm_image.c in the mesa/drivers/x11 directory:

providence:/tmp/src # ls mesa/src/mesa/drivers/x11/
.   descrip.mms  glxapi.c  glxheader.h  realglx.h  xfonts.c  xm_api.c 
xm_dd.c   xm_line.c  xm_tri.c
..  fakeglx.c    glxapi.h  realglx.c    sources    xfonts.h  xm_buffer.c 
xmesaP.h  xm_span.c

What am I missing?? Do I need to redownload mesa? Is the build script in 
error?? Help please....


--
David C. Rankin, J.D., P.E.
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
-- 




More information about the xorg mailing list