acpid in 1.16.2 doesn't build on SLES 10.

Denys Vlasenko vda.linux at googlemail.com
Fri Jul 9 23:08:52 UTC 2010


On Thursday 08 July 2010 17:49, Rob Landley wrote:
> util-linux/acpid.c:147: error: 'SW_LID' undeclared (first use in this function)

It builds for me with Aboriginal Linux 0.9.11 toolchain.
SW_LID is defined in 

fwl_uclibc_i686-0.9.11/include/linux/input.h

and it is included in busybox-1.16.2/util-linux/acpid.c:

#include <linux/input.h>

I just re-tested it to be 100% sure. It does build for me:

# ./busybox acpid --help
BusyBox v1.16.2 (2010-07-10 01:03:57 CEST) multi-call binary.

Usage: acpid [-d] [-c CONFDIR] [-l LOGFILE] [-e PROC_EVENT_FILE] [EVDEV_EVENT_FILE]...

Listen to ACPI events and spawn specific helpers on event arrival

Options:
        -d      Don't daemonize, log to stderr
        -c DIR  Config directory [/etc/acpi]
        -e FILE /proc event file [/proc/acpi/event]
        -l FILE Log file [/var/log/acpid]

Accept and ignore compatibility options -g -m -s -S -v



BTW, bbox 1.17.0 is out. Please let me know what broke...
-- 
vda


More information about the busybox mailing list