cvs commit: src/sys/conf files src/sys/dev/acpica5 Makefile src/sys/dev/acpica5/acpi_thinkpad Makefile acpi_thinkpad.c

Sepherosa Ziehau sepherosa at gmail.com
Thu Aug 28 07:02:33 PDT 2008


On Thu, Aug 28, 2008 at 3:10 PM, Hasso Tepper
<hasso at crater.dragonflybsd.org> wrote:
> hasso       2008/08/28 00:10:05 PDT
>
> DragonFly src repository
>
>  Modified files:
>    sys/conf             files
>    sys/dev/acpica5      Makefile
>  Added files:
>    sys/dev/acpica5/acpi_thinkpad Makefile acpi_thinkpad.c
>  Log:
>  Add ACPI support module for IBM/Lenovo Thinkpad laptops. Work in progress,
>  but already usable for most of Thinkpads.

This seems to break LINT building:

===> dev/acpica5^M
cc -O -pipe   -I/usr/obj/usr/src/sys/LINT/usr/src/sys/dev/acpica5/acpi_thinkpad/..
-I/usr/src/sys/dev/acpica5/acpi_thinkpad/..
-I/usr/obj/usr/src/sys/LINT/usr/src/sys/dev/acpica5/acpi_thinkpad

-I/usr/obj/usr/src/sys/LINT/usr/src/sys/dev/acpica5/acpi_thinkpad/include
              -I/usr/src/sys/dev/acpica5/acpi_thinkpad
       -I/usr/src/sys/dev/acpica5/acpi_thinkpad/../../../dev/acpica5
-I/usr/src/sys/dev/acpica5/acpi_thinkpad/../../../contrib/dev/acpica-unix-20061109/include
 -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Werror-implicit-function-declaration  -std=c99
-DKLD_MODULE -nostdinc
-I/usr/obj/usr/src/sys/LINT/usr/src/sys/dev/acpica5/acpi_thinkpad/..
-I/usr/src/sys/dev/acpica5/acpi_thinkpad/..
-I/usr/obj/usr/src/sys/LINT/usr/src/sys/dev/acpica5/acpi_thinkpad
-I/usr/obj/usr/src/sys/LINT/usr/src/sys/dev/acpica5/acpi_thinkpad/include
-I/usr/src/sys/dev/acpica5/acpi_thinkpad
-I/usr/src/sys/dev/acpica5/acpi_thinkpad/../../../dev/acpica5
-I/usr/src/sys/dev/acpica5/acpi_thinkpad/../../../contrib/dev/acpica-unix-20061109/include
-I. -I@ -I/usr/obj/usr/src/sys/LINT
-I/usr/obj/usr/src/sys/LINT/include -I@/../include -include
/usr/obj/usr/src/sys/LINT/opt_global.h  -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 -fno-common
-ffreestanding -mpreferred-stack-boundary=2 -fno-stack-protector
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-Werror-implicit-function-declaration  -std=c99 -c
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c: In function
'acpi_thinkpad_attach':^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c:315: error:
'ACPI_OEM' undeclared (first use in this function)^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c:315: error:
(Each undeclared identifier is reported only once^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c:315: error: for
each function it appears in.)^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c: In function
'acpi_thinkpad_detach':^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c:412: error:
'ACPI_OEM' undeclared (first use in this function)^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c: In function
'acpi_thinkpad_eventmask_set':^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c:445: error:
'ACPI_OEM' undeclared (first use in this function)^M
/usr/src/sys/dev/acpica5/acpi_thinkpad/acpi_thinkpad.c: In function
'acpi_thinkpad_sysctl':^M

Best Regards,
sephe

-- 
Live Free or Die





More information about the Commits mailing list