[Mesa-users] problem compiling mesa library

Brian Paul brianp at vmware.com
Wed Mar 7 08:54:00 PST 2012


On 03/07/2012 02:10 AM, محمد ارشد فرحان wrote:
> Dear All,
> i'm trying to compile *Xcrysden_1.5.24_src_all* from the source code.
> & it gave me lots of errors.
>
> i tried the manual explicit compilation of Mesa library & the error i
> got is :
>
> "gcc -c -I../../../include -I../../../src/mapi -Wall
> -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -O3
> -g -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE
> -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM
> -DHAVE_POSIX_MEMALIGN -I/usr/X11R6/include -std=c99 -ffast-math
> -fno-strict-aliasing -DMAPI_ABI_HEADER=\"vgapi/vgapi_tmp.h\"
> ../../../src/mapi/mapi/mapi.c -o mapi.o
> ../../../src/mapi/mapi/mapi.c:39: error: ‘MAPI_TABLE_NUM_STATIC’
> undeclared here (not in a function)
> ../../../src/mapi/mapi/mapi.c:39: error: ‘MAPI_TABLE_NUM_DYNAMIC’
> undeclared here (not in a function)
> make: *** [mapi.o] Error 1
> "

Which version of Mesa are you using?

How are you compiling Mesa?  That is, what arguments to ./configure?

-Brian



More information about the mesa-users mailing list