[Bug 24516] New: Compile error with gcc 4.2
http://bugs.freedesktop.org/show_bug.cgi?id=24516 Summary: Compile error with gcc 4.2 Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/radeonhd AssignedTo: lverhaegen@suse.de ReportedBy: floreal.toumikian@gmail.com QAContact: xorg-team@lists.x.org Greetings, I get compile error when running make. Here is my uname -r: 2.6.24-24-generic My gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4) And the error running the make command: rhd_acpi.c: Dans la fonction «rhdDoBacklight» : rhd_acpi.c:66: attention : assignment from incompatible pointer type rhd_acpi.c:70: erreur: déréférencement d'un pointeur de type incomplet rhd_acpi.c:81: erreur: déréférencement d'un pointeur de type incomplet make[3]: *** [radeonhd_drv_la-rhd_acpi.lo] Erreur 1 make[2]: *** [all] Erreur 2 make[1]: *** [all-recursive] Erreur 1 make: *** [all] Erreur 2 I did not tried with other gcc version yet, i'll try out tonight. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team
http://bugs.freedesktop.org/show_bug.cgi?id=24516
Floréal Toumikian
http://bugs.freedesktop.org/show_bug.cgi?id=24516
Matthias Hopf
From 34d975dbbeca76748e08a54ab724f176c7e1cf8e Mon Sep 17 00:00:00 2001 From: Matthias Hopf
Date: Mon, 12 Oct 2009 14:52:01 +0200 Subject: [PATCH] Fix compilation with xf86_ansic.h
---
src/rhd_acpi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/rhd_acpi.c b/src/rhd_acpi.c
index 3831925..78751e5 100644
--- a/src/rhd_acpi.c
+++ b/src/rhd_acpi.c
@@ -28,6 +28,7 @@
#if HAVE_XF86_ANSIC_H
# include "xf86_ansic.h"
+# define dirent _xf86dirent
#else
# include
participants (1)
-
bugzilla-daemon@freedesktop.org