Building the DRI: shader/arbprogparse.c:3630: stray '\240' in program

2004-10-11 Thread Steven Beeckman
Hi,
I've got an error while building the DRI. It happens when I want to 
build the Mesa 3D drivers for Linux (I'm following this page: 
http://dri.sourceforge.net/cgi-bin/moin.cgi/Building).

[EMAIL PROTECTED]:~/Downloads/DRI/Mesa$ make linux-dri-x86
snip
gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main 
-I../../src/mesa/glapi -I../../src/mesa/mat
h -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/swrast 
-I../../src/mesa/swrast_setup -DDR
I_NEW_INTERFACE_ONLY -Wall -g -O -DUSE_X86_ASM -DUSE_MMX_ASM 
-DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99  -ffa
st-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE 
-D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -
DUSE_EXTERNAL_DXTN_LIB=1 -I/usr/X11R6/include 
-I/usr/X11R6/include/X11/extensions shader/arbprogparse.c -
o shader/arbprogparse.o
shader/arbprogparse.c: In function `parse_arb_program':
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
shader/arbprogparse.c:3630: stray '\240' in program
make[4]: *** [shader/arbprogparse.o] Error 1
make[4]: Leaving directory `/home/steven/Downloads/DRI/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/steven/Downloads/DRI/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/steven/Downloads/DRI/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/steven/Downloads/DRI/Mesa'
make: *** [linux-dri-x86] Error 2

My system: Pentium 4 2.4 GHZ, ATI Radeon 9200, 512 MB RAM on Slackware 
9.0,  I'm using the 2.6.2 kernel and XFree86 4.3.

Any ideas what I should try? I've already googled on the stray '\240' 
error: \240 is (presumably) a character invisible in your favorite 
editor (mine is emacs FYI) and tried to retype line 3630 but no positive 
result :-(. Everything is from CVS...

Thanks,
Steven
Btw, shaders/arbprogram_syn.h needs a blank line at the end (gives a 
warning during compile time)

---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Building the DRI: drm/linux-2.6/radeon_i2c.c:41: `VGA_DDC_CLK_OUT_EN' undeclared

2004-10-11 Thread Steven Beeckman
Hi, me again :)
I've reached some further steps now (thanks Karl and Felix), but I've 
run into a new error (well, 4 actually).

[EMAIL PROTECTED]:/home/steven/Downloads/DRI/drm/linux-2.6# make 
LINUXDIR=/usr/src/linux-2.6.2 DRM_MODULES=r200 radeon
snip
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c: In function 
`gpio_setscl':
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c:41: 
`VGA_DDC_CLK_OUT_EN' undeclared (first use in this function)
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c:41: (Each 
undeclared identifier is reported only once
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c:41: for each 
function it appears in.)
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c: In function 
`gpio_setsda':
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c:55: 
`VGA_DDC_DATA_OUT_EN' undeclared (first use in this function)
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c: In function 
`gpio_getscl':
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c:71: 
`VGA_DDC_CLK_INPUT' undeclared (first use in this function)
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c: In function 
`gpio_getsda':
/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.c:82: 
`VGA_DDC_DATA_INPUT' undeclared (first use in this function)
make[2]: *** [/home/steven/Downloads/DRI/drm/linux-2.6/radeon_i2c.o] Error 1
make[1]: *** [/home/steven/Downloads/DRI/drm/linux-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.2'
make: *** [modules] Error 2

It's probably some header file or something like that which isn't 
used/found to declare variables. What are the adaptions I have to make?

Thanks,
Steven
---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel