Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i386 config w/tpm* at acpi? build fails.



Probably the same issue as what I ran into with dbcool(4) last week.

Look in files.acpi for a line that looks like

	define acpi {}

and remove it (or comment it out).


On Wed, 21 Feb 2018, John D. Baker wrote:

Shortly after i386-current switched to GCC-6, my first (non-update) build
went fine.  Since then, something changed and now configs which include:

 tpm* at acpi?

fail with:

[...]
--- tpm_acpi.o ---
/x/current/src/sys/dev/acpi/tpm_acpi.c:88:27: error: 'tpm_acpi_ids' defined but not used [-Werror=unused-const-variable=]
static const char * const tpm_acpi_ids[] = {
                          ^~~~~~~~~~~~
[...]


--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


!DSPAM:5a8e1a0450141313947420!



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index