make dep fails at acpi

acmay at acmay at
Tue Jul 24 17:38:52 EST 2001

On Tue, Jul 24, 2001 at 03:14:00PM +1200, Gwyn Judd wrote:
> This is from the kernel source recently rsync'd from mvista. 'make dep'
> fails like this about 10 seconds in:
> make -C acpi fastdep
> make[4]: Entering directory `/home/gwyn/Projects/kernel/drivers/acpi'
> gcc -D__KERNEL__ -I/home/gwyn/Projects/kernel/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char
> -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
> -D_LINUX -I/include -E -D__GENKSYMS__ acpi_ksyms.c
> | /sbin/genksyms  -k 2.4.7 >
> /home/gwyn/Projects/kernel/include/linux/modules/acpi_ksyms.ver.tmp
> acpi_ksyms.c:27: acpi.h: No such file or directory
> acpi_ksyms.c:28: acdebug.h: No such file or directory

Short answer update your version of make.

Notice the -I/include and the fact the headers are missing.
The acpi stuff uses -I$(CURDIR)/include. I don't think older versions of make
don't support this. You could hack the make files to not use this
if you don't want to update make.

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list