Hi,
First check package that you have installed with
rpm -qa | grep xorg
xorg-x11-Mesa-libGL-6.8.2-1.FC3.13
xorg-x11-Mesa-libGLU-6.8.2-1.FC3.13
xorg-x11-devel-6.8.2-1.FC3.13
With this 3 packages (Binaries and the Devel stuff), you already have
one stable version of Mesa installed (in this case if you have FC3
updated, Mesa 6.2.1). You can check with this command:
glxinfo | grep -i mesa
xorg-x11-devel come with, what we can be called by, xorg-x11-Mesa-libGL-
devel and xorg-x11-Mesa-libGLU-devel. So we need to xorg-x11-devel
package to compile the X part of Mesa but also have Mesa-devel included,
which make more difficult upgrade Mesa (if you want it).
So my advice is, only try compile Mesa-Demos and your programs because I
think, you may don't need install or upgrade Mesa.
Good luck ,
On Sun, 2005-05-22 at 11:49 +0800, yufan wrote:
> hello all,
> i'm a noob to mesa.when i try to compile mesa by following the
> documentation,it returns thousands of errors. here i quate some of
> them
>
> drivers/x11/glxapi.c:1052: error: dereferencing pointer to incomplete
> type
> drivers/x11/glxapi.c:1052: error: `pbuffer' undeclared (first use in
> this functi on)
> drivers/x11/glxapi.c:1052: error: `buffer' undeclared (first use in
> this functio n)
> drivers/x11/glxapi.c: At top level:
> drivers/x11/glxapi.c:1057: error: syntax error before '*' token
> drivers/x11/glxapi.c:1058: error: `glXDrawableAttribARB' declared as
> function re turning a function
> drivers/x11/glxapi.c: In function `glXDrawableAttribARB':
> drivers/x11/glxapi.c:1060: error: `dpy' undeclared (first use in this
> function)
> drivers/x11/glxapi.c:1062: error: `False' undeclared (first use in
> this function )
> drivers/x11/glxapi.c:1063: error: dereferencing pointer to incomplete
> type
> drivers/x11/glxapi.c:1063: error: `draw' undeclared (first use in this
> function)
> drivers/x11/glxapi.c:1063: error: `attribList' undeclared (first use
> in this fun ction)
> drivers/x11/glxapi.c: In function `_glxapi_get_dispatch_table_size':
> drivers/x11/glxapi.c:1126: error: invalid application of `sizeof' to
> incomplete type `_glxapi_table'
>
> What's wrong with that?i have tried to figure it out for 1 week but
> nothing helps. So can someone tell me how to solve this problem?thanks
> in advance. anyway my system is fedora core3 and the cpu is amd duron.
--
Sérgio M.B.
|