hal problem

Stanislav Sedov stas at FreeBSD.org
Thu Feb 1 19:49:26 UTC 2007


On Thu, 1 Feb 2007 17:53:03 +0300
mit <info at easyip.ru> mentioned:

> Hello.
>
> # cd /usr/ports/sysutils/hal
> # make install clean
> ...
> hf-acpi.c:36:31: dev/acpica/acpiio.h: No such file or directory
> hf-acpi.c: In function `hf_acpi_poll_batt':
> hf-acpi.c:105: error: storage size of 'battif' isn't known
> hf-acpi.c:105: error: storage size of 'battst' isn't known
> hf-acpi.c:105: error: storage size of 'battinfo' isn't known
> hf-acpi.c:120: error: `ACPIIO_CMBAT_GET_BIF' undeclared (first use in this
> function)
> hf-acpi.c:120: error: (Each undeclared identifier is reported only once
> hf-acpi.c:120: error: for each function it appears in.)
> hf-acpi.c:130: error: `ACPIIO_CMBAT_GET_BST' undeclared (first use in this
> function)
> hf-acpi.c:137: error: `ACPIIO_BATT_GET_BATTINFO' undeclared (first use in this
> function)
> hf-acpi.c:144: error: `ACPI_BATT_STAT_NOT_PRESENT' undeclared (first use in
> this function)
> hf-acpi.c:226: error: `ACPI_BATT_STAT_CHARGING' undeclared (first use in this
> function)
> hf-acpi.c:228: error: `ACPI_BATT_STAT_DISCHARG' undeclared (first use in this
> function)
> hf-acpi.c:105: warning: unused variable `battif'
> hf-acpi.c:105: warning: unused variable `battst'
> hf-acpi.c:105: warning: unused variable `battinfo'
> gmake[5]: *** [hf-acpi.lo] Ошибка 1
> gmake[5]: Leaving directory
> `/usr/ports/sysutils/hal/work/hal-0.5.8.20070104/hald/freebsd'
> gmake[4]: *** [all-recursive] Ошибка 1
> gmake[4]: Leaving directory
> `/usr/ports/sysutils/hal/work/hal-0.5.8.20070104/hald/freebsd'
> gmake[3]: *** [all-recursive] Ошибка 1
> gmake[3]: Leaving directory
> `/usr/ports/sysutils/hal/work/hal-0.5.8.20070104/hald'
> gmake[2]: *** [all] Ошибка 2
> gmake[2]: Leaving directory
> `/usr/ports/sysutils/hal/work/hal-0.5.8.20070104/hald'
> gmake[1]: *** [all-recursive] Ошибка 1
> gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.8.20070104'
> gmake: *** [all] Ошибка 2
> *** Error code 2
>
> Stop in /usr/ports/sysutils/hal.
> *** Error code 1
>
> I have FreeBSD source and file /usr/src/sys/dev/acpica/acpiio.h exists.
> Please help.

Which freebsd version are you using? Do you
have /usr/include/dev/acpica/acpiio.h file?

Probably, `cd /usr/src && make includes` will fix
your problem.

--
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070201/41ad2405/attachment.pgp


More information about the freebsd-ports mailing list