--disable-linux-apm and compile hw/xfree86/os-support/linux/lnx_apm.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
CC lnx_apm.lo
hw/xfree86/
hw/xfree86/
}
^
cc1: some warnings being treated as errors
Makefile:660: recipe for target 'lnx_apm.lo' failed
make: *** [lnx_apm.lo] Error 1
In lnx_apm.c file:
#ifdef HAVE_ACPI
/* Favour ACPI over APM, but only when enabled */
if (!xf86acpiDisab
ret = lnxACPIOpen();
if (!ret)
#endif
#ifdef HAVE_APM
ret = lnxAPMOpen();
#endif
I think it means
#ifdef HAVE_ACPI
/* Favour ACPI over APM, but only when enabled */
if (!xf86acpiDisab
ret = lnxACPIOpen();
#endif
#ifdef HAVE_APM
if (!ret)
ret = lnxAPMOpen();
#endif