2001-11-08 10:18:46

by BALBIR SINGH

[permalink] [raw]
Subject: Suspected error in make dep

I got the following on my machine

Pentium III, 128MB, Linux 2.4.13 while running make dep on 2.4.14

sa1100fb.c:164:27: linux/cpufreq.h: No such file or directory
sa1100fb.c:166:26: asm/hardware.h: No such file or directory
sa1100fb.c:169:28: asm/mach-types.h: No such file or directory
sa1100fb.c:171:30: asm/arch/assabet.h: No such file or directory


From my .config

#
# Frame-buffer support
#
# CONFIG_FB is not set



The files mentioned do not exist in arch that is i386. This driver seems
to be for the "arm" architecture.

I was wondering why this file is used in make dep. Did I miss something or
should I wait for kbuild in 2.5?

Balbir


Attachments:
InterScan_Disclaimer.txt (855.00 B)

2001-11-08 11:23:04

by Russell King

[permalink] [raw]
Subject: Re: Suspected error in make dep

On Thu, Nov 08, 2001 at 03:38:27PM +0530, BALBIR SINGH wrote:
> sa1100fb.c:164:27: linux/cpufreq.h: No such file or directory

linux/cpufreq.h is a generic framework for controlling the CPU clock speed
(and therefore the power). It isn't merged into 2.4 yet (I was hoping to
get he generic framework merged into 2.4-ac around start of October, but
alas it didn't happen).

It's going to be merged in 2.5, and then backported to 2.4.

> sa1100fb.c:166:26: asm/hardware.h: No such file or directory
> sa1100fb.c:169:28: asm/mach-types.h: No such file or directory
> sa1100fb.c:171:30: asm/arch/assabet.h: No such file or directory

Yes, these are ARM specific. make dep creates the dependencies for all
files in the directory, and as such causes this problem. That said, it
is harmless on x86, and safe to ignore these messages.

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2001-11-08 12:31:28

by Keith Owens

[permalink] [raw]
Subject: Re: Suspected error in make dep

On Thu, 08 Nov 2001 15:38:27 +0530,
"BALBIR SINGH" <[email protected]> wrote:
>Pentium III, 128MB, Linux 2.4.13 while running make dep on 2.4.14
>
>sa1100fb.c:164:27: linux/cpufreq.h: No such file or directory
>I was wondering why this file is used in make dep. Did I miss something or
>should I wait for kbuild in 2.5?

make dep is fundamentally flawed, ignore all "file not found" messages.
Roll on kbuild 2.5, no more "make dep"!.