LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2009, 10:41 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Radeonhd and Acceleration. Compile problem


I found what docs there are on the radeonhd driver.
http://wiki.x.org/wiki/radeonhd

Getting into this, I now have a 2.6.30.5 kernel and radeonhd-1.2.5
git clone git://anongit.freedesktop.org/mesa/drm
gave me a drm/ directory with a hacked mesa, I gather. Next they say to
cd drm/linux-core
git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
make radeon.o drm.o
That ended this way:

bash-3.1$ make radeon.o drm.o
make DRM_MODULES=radeon.o modules
make[1]: Entering directory `/home/dec/download/drm/linux-core'
make -C /lib/modules/2.6.30.5-sd64/source SUBDIRS=`/bin/pwd` DRMSRCDIR=`/bin/pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.30.5'
CC [M] /home/dec/download/drm/linux-core/drm_auth.o
In file included from /home/dec/download/drm/linux-core/drmP.h:84,
from /home/dec/download/drm/linux-core/drm_auth.c:36:
/home/dec/download/drm/linux-core/drm_os_linux.h:36: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here
make[3]: *** [/home/dec/download/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/home/dec/download/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.30.5'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/dec/download/drm/linux-core'
make: *** [radeon.o] Error 2

Anyone spot the error? Is this a kernel headers conflict? I am a little shy of updating the headers again, as I started with headers from 2.6.27.x, went to 2.6.29.x, and now apparently need to update to 2.6.30.x. I fell it's only a matter of time before I go down ingloriously with crazy errors.
 
Old 08-26-2009, 02:28 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Further on this:

/home/dec/download/drm/linux-core/drm_os_linux.h:36: error: conflicting types for ‘irqreturn_t’
include/linux/irqreturn.h:16: error: previous declaration of ‘irqreturn_t’ was here

One was typedef void, while the other was typedef enum. In short, I had the most recent kernel headers(2.6.30.5) and I altered the source, commenting out the 'typedef void'.

The compile staggered on and fell over before it was finished. I refused to chase the second (wildly different) error. This stuff obviously needs work.

Last edited by business_kid; 08-26-2009 at 02:29 PM. Reason: I can't type!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vlc and ati radeonhd V4Nelle Linux - Software 1 07-06-2009 07:50 PM
Xinerama Support with radeonhd? Darkstar5798 Linux - Hardware 1 11-15-2008 09:48 AM
radeonhd STARHARVEST Slackware 9 08-29-2008 12:36 AM
radeonhd driver STARHARVEST SUSE / openSUSE 0 08-24-2008 11:22 PM
LXer: RadeonHD 1.2 Driver Released LXer Syndicated Linux News 0 04-12-2008 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration