[prev in list] [next in list] [prev in thread] [next in thread]
List: dri-users
Subject: [Dri-users] Presentation and first problem on getting dri working on a Lombard Powerbook with X.org
From: poe () softhome ! net
Date: 2005-04-25 8:59:31
Message-ID: courier.426CB173.00003365 () softhome ! net
[Download RAW message or body]
Ciao!!!
My name is Vieri. I write from Italy and I am 26 years old.
I use Linux since the first Slackware but recently I changed system because
I love macs.
I am not a programmer so sorry for my stupid questions but sometimes I get
errors I don't know how to deal with.
I'm using Gentoo compiled with Kernel 2.6.11, preeemptible on a Lombard
Powerbook 400Mhz with 320Mb of ram.
My video card is a Mach64 (ATI Rage Pro Lt) with 8mb VRAM.
Here is my first question: I'm trying to get drm working on my laptop but I
get this error while compiling Mesa.
cd /usr/local/src/
bash-2.05b$ ls
Mesa drm
bash-2.05b$ cd Mesa
bash-2.05b$ make linux-dri-ppc
(cd configs && rm -f current && ln -s linux-dri-ppc current)
rm: cannot remove `current': Permission denied
make: *** [linux-dri-ppc] Error 1
bash-2.05b$ su
Password:
bash-2.05b# make linux-dri-ppc
(cd configs && rm -f current && ln -s linux-dri-ppc current)
make default
make[1]: Entering directory `/usr/local/src/Mesa'
make[2]: Entering directory `/usr/local/src/Mesa/src'
Making sources for linux-dri-ppc
make[3]: Entering directory `/usr/local/src/Mesa/src/glx/x11'
gcc -c -I. -I../../../include -I../../../include/GL/internal
-I../../../src/mesa -I../../../src/mesa/main -I../../../src/mesa/glapi
-I../../../src/mesa/math -I../../../src/mesa/transform
-I../../../src/mesa/swrast -I../../../src/mesa/swrast_setup
-I../../../src/mesa/drivers/dri/common -I../../../../drm/libdrm
-I../../../../drm/shared -I/usr/X11R6/include
-I/usr/X11R6/include/X11/extensions -Wall -Os -mcpu=603 -fPIC
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-DGLX_DIRECT_RENDERING -DGLXEXT -DXF86DRI -DGLX_USE_DLOPEN -DGLX_USE_MESA
-DXF86VIDMODE -D_REENTRANT -UDRI_NEW_INTERFACE_ONLY -DUSE_PPC_ASM
-DUSE_VMX_ASM -std=c99 -ffast-math -D_POSIX_SOURCE
-D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
-DDRI_NEW_INTERFACE_ONLY -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
-DGLX_DIRECT_RENDERING -DGLXEXT -DXF86DRI -DGLX_USE_DLOPEN -DGLX_USE_MESA
-DXF86VIDMODE -D_REENTRANT -UDRI_NEW_INTERFACE_ONLY glxext.c -o glxext.o
glxext.c: In function `SendMakeCurrentRequest':
glxext.c:1572: error: `xGLXMakeCurrentReadSGIReq' undeclared (first use in
this function)
glxext.c:1572: error: (Each undeclared identifier is reported only once
glxext.c:1572: error: for each function it appears in.)
glxext.c:1572: error: `req' undeclared (first use in this function)
glxext.c:1574: error: `sz_xGLXMakeCurrentReadSGIReq' undeclared (first use
in this function)
glxext.c:1576: error: parse error before ')' token
make[3]: *** [glxext.o] Error 1
make[3]: Leaving directory `/usr/local/src/Mesa/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/local/src/Mesa'
make: *** [linux-dri-ppc] Error 2
I'm following the Building DRI howto found on dri.sourceforge.net and this
is my linux-dri-ppc config:
# -*-makefile-*-
# Configuration for linux-dri: Linux DRI hardware drivers for XFree86 &
others
include $(TOP)/configs/linux-dri
CONFIG_NAME = linux-dri-ppc
OPT_FLAGS = -Os -mcpu=603
PIC_FLAGS = -fPIC
ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM
ASM_SOURCES = $(PPC_SOURCES)
# Build only the drivers for cards that exist on PowerPC. At some point MGA
# will be added, but not yet.
DRI_DIRS = dri_client mach64
I've enabled dri support on kernel, without agpgart, and rage128 as a module
just to have the /lib/modules/kernel.../char/drm directory. rage128 is not
loaded.
glxgears reports 44FPS and it point to /usr/lib/libGL.so.1.2 correctly so
I'm not effected by the OpenGL problem.
Could u help me? What kind of error is that?
Thank u for any advice!
--
Vieri&Lulu' (Suzuki GSF600N Blue '00)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-users mailing list
Dri-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic