DragonFly kernel List (threaded) for 2004-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Fiddling with acpi
I decided to start hacking at my acpi support on my dfly test box and went to
built ports/devel/acpiatools and quickly found that compliation is broken
(demonstrated below). Not sure what's going on. GCC is version 2.95.4 on both
dfly and -stable.
# uname -a
DragonFly dragonfly.gactr.uga.edu 1.0-CURRENT DragonFly 1.0-CURRENT #0: Thu
Jan 8 10:05:05 EST 2004
root@xxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/dragonfly i386
# fgrep "\$FreeBSD" /usr/ports/devel/acpicatools/Makefile
# $FreeBSD: ports/devel/acpicatools/Makefile,v 1.22 2003/06/12 15:45:04
iwasaki Exp $
# make clean all
[...snip...]
===> acpidump
Warning: Object directory not changed from original
/usr/local/var/tmp/usr/ports/devel/acpicatools/work/acpidump
cc -O -pipe -march=pentiumpro
-I/usr/local/var/tmp/usr/ports/devel/acpicatools/work/acpidump/../amldb
-I/usr/local/var/tmp/usr/ports/devel/acpicatools/work/acpidump/../acpica-unix
-20030523/include -c acpi.c
In file included from
/usr/local/var/tmp/usr/ports/devel/acpicatools/work/acpidump/../amldb/aml/aml
_env.h:33,
from acpi.c:42:
/usr/local/var/tmp/usr/ports/devel/acpicatools/work/acpidump/../amldb/aml/aml
_name.h:74: syntax error before `va_list'
*** Error code 1
Stop in /usr/local/var/tmp/usr/ports/devel/acpicatools/work/acpidump.
*** Error code 1
Stop in /usr/local/var/tmp/usr/ports/devel/acpicatools/work.
*** Error code 1
Stop in /usr/ports/devel/acpicatools.
So I went over to a fbsd 4.9 box and made "package", brought it over and
successfully ran it under dfly, allowing me to continue forward with success.
# dmesg |fgrep acpi
Preloaded acpi_dsdt "/boot/acpi_dsdt.aml" at 0xc04225dc.
acpi0: <AMIINT > on motherboard
acpi0: power button is handled as a fixed feature programming model.
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]