Hmmm, that's not going to work!

First, the suggestion should have been to look for

        define tpm {}

but I looked, and it's not there! Instead, this looks more like an issue that mrg@ fixed with pmax's tc driver yesterday. It has to do with the line that reads

        attach tpm at acpinodebus with tpm_acpi

I'm not sure what the real, proper fix is for this one.




On Thu, 22 Feb 2018, Paul Goyette wrote:

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 |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| 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 |
+------------------+--------------------------+----------------------------+

Reply via email to