Unable to build radeonhd-1.3.0 on Debian Lenny
Hi all, I'm currently running a Debian Lenny install on my laptop and have just upgraded from radeonhd-1.2.5 to radeonhd-1.3.0. I did a normal "configure" and "make" out of the box, but sadly make failed with the following error: rhd_acpi.c: In function ‘rhdDoBacklight’: rhd_acpi.c:66: warning: assignment from incompatible pointer type rhd_acpi.c:70: error: dereferencing pointer to incomplete type rhd_acpi.c:81: error: dereferencing pointer to incomplete type make[3]: *** [radeonhd_drv_la-rhd_acpi.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Looking in more detail, I found out that the problem was caused by the dirent structure not being defined in a header file. I managed to solve this by manually changing HAVE_XF86_ANSIC_H from 0 to 1 in config.h which allowed me to compile without any problems. HTH, Mark. -- Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 Sirius Labs: http://www.siriusit.co.uk/labs -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
2009/10/21 Mark Cave-Ayland
I'm currently running a Debian Lenny install on my laptop and have just upgraded from radeonhd-1.2.5 to radeonhd-1.3.0. I did a normal "configure" and "make" out of the box, but sadly make failed with the following error:
rhd_acpi.c: In function ‘rhdDoBacklight’: rhd_acpi.c:66: warning: assignment from incompatible pointer type rhd_acpi.c:70: error: dereferencing pointer to incomplete type ...
Looking in more detail, I found out that the problem was caused by the dirent structure not being defined in a header file....
This was fixed in master by 34d975dbbeca76748e08a54ab724f176c7e1cf8e. -- Yang Zhao http://yangman.ca -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (2)
-
Mark Cave-Ayland
-
Yang Zhao