-   Linux - Laptop and Netbook (
-   -   Compile errors on Radeon Drivers . Any LMKL Junkies around? (

business_kid 03-18-2009 03:46 PM

Compile errors on Radeon Drivers . Any LMKL Junkies around?
I'm trying for the proprietary ATI/Radeon/AMD drivers and they keep falling over in the kernel compile. Doing a manual compile with rubbish piped to a file, I finally see

1. bounds.h not found :-o.

2. mmzone.h MAX_NR_ZONES not defined (warniongs, and errors on this point)

3. mm.h NR_PAGEFLAGS not defined.

This stuff, I gather is all to do with memory allocation in the upper echelons beyond your average 32 bit machine. My laptop has an AMD RS690/SB600 chipset which includes an RS690M (=Radeon X1250) in the Northbridge. I can boot the X server on the xf86-video-radeonhd driver, but it's not encouraging.

Where next? Google says Everyone has trouble, but all the answers seem different.

Udi 03-20-2009 04:47 AM

Did you install the linux-headers packages? On my debian system the linux kernel headers are found in /usr/src/linux-headers-$(uname -r)/include/linux so check if you have yours installed. Then, try to find from the error messages where exactly the compilation system expects the headers to be, and make a symbolic link from that directory to the directory where the files really are.

Also, if you need more help, it's best if you copy-paste the errors from the build and we can find more hints in them.

business_kid 03-21-2009 08:21 AM

Yes, I have the linux headers. This is 64bit. I actually got the driver in and compiled yesterday. Apparently it fell over if I switched console focus away from it :-/. The 64 bit route is still awkward, as I am finding out. It's even odder with debian, because most distros use /usr/lib for 32 bit libs and /usr/lib64 for 64 bit. But 64 bit debian uses /usr/lib32 for 32 bit and /usr/lib for 64 bit from what I read.

I have slamd64 running. Ubuntu was a disaster on this boz. I may try Fedora as well. Thanks for the effort. From previous hard experience I know you need a compiled kernel source to make these proprietaruy drivers compile. I would love to use the xf86-video-radeonhd but it tells me No dri, and no reasons why. The fglrx ati driver gives a whopping 275 frames/sec :-((. But at least it is dri.

business_kid 03-23-2009 04:22 PM

Sorted this
I have the drivers compiled. I needed a compiled kernel source, of course. When compiling the ati stuff, it hangs at 83% for some time. You have to stay on that console and don't switch focus. I was doing three or four things together, and I'd come back and find it hung. Just be patient,

All times are GMT -5. The time now is 05:14 AM.