Mailinglist Archive: radeonhd (145 mails)

< Previous Next >
[radeonhd] Re: Compile fails because of src/radeon_drm.h (DEPRECATED, __user)
  • From: Thomas Meyer <thomas@xxxxxxxx>
  • Date: Tue, 09 Dec 2008 17:48:16 +0100
  • Message-id: <1228841296.17185.2.camel@xxxxxxxxxxxxxxxxxxxxx>
Am Montag, den 08.12.2008, 20:02 +0100 schrieb Thomas Meyer:
Hi.
Where are these things definied?

Ok. I took the linux kernel definition of __user and defined DEPRECATED
as:

diff --git a/src/radeon_drm.h b/src/radeon_drm.h
index c0d566c..74fdf93 100644
--- a/src/radeon_drm.h
+++ b/src/radeon_drm.h
@@ -30,6 +30,9 @@
* Keith Whitwell <keith@xxxxxxxxxxxxxxxxxxxx>
*/

+#define __user __attribute__((noderef, address_space(1)))
+#define DEPRECATED __attribute__ ((deprecated))
+
#ifndef __RADEON_DRM_H__
#define __RADEON_DRM_H__

On Fedora 10 with x86_64 configure as:

configure --prefix=/usr --libdir=/usr/lib64/

Seems to work for me...

Greets
thomas

--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
References