Current-Users archive

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

Re: NetBSD/i386 kernel build failures



Both of you reported this:

  /usr/src/sys/arch/x86/acpi/acpi_wakeup.c:108:27: fatal error:
  acpi_wakecode.h: No such file or directory
  compilation terminated.
  nbmkdep: compile failed.
  *** [acpi_wakeup.d] Error code 1

and I am seeing it too (with -j4).

I think the problem is that acpi_wakecode.h is a generated file, and
while there is a dependency rule to generate it when needed, the rule
that generates acpi_wakeup.d reads acpi_wakeup.c but does not depend on
acpi_wakecode.h.

In other words, having implicit mkdep-style dependencies on files that
exist is fine, but not on files generated by other rules in the same
makefile.

Attachment: pgp80Hh0A7WbE.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index