Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 22:49:12 +0300
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        mit <info@easyip.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: hal problem
Message-ID:  <20070201224913.f5289846.stas@FreeBSD.org>
In-Reply-To: <200702011753.04094.info@easyip.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, 1 Feb 2007 17:53:03 +0300
mit <info@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFwkQ5K/VZk+smlYERAu/WAKCFkHq7DOTMotaV+VNrXsYwbr9PCwCeIM7a
Z+IjmnqniFuiZvmqrsTdGls=
=bIpB
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070201224913.f5289846.stas>