Skip to contentSkip to conversation

Suspected error in make dep

DISCUSSION BALBIR SINGH 3 participants 3 messages Nov 8, 2001

lore
Share & tools
lore
#0 lore raw

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

-------------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:[email protected] and delete this mail from your records.
----------------------------------------------------------------------------------------------------------------------

#1 lore raw
Quoted 1 line · BALBIR SINGH

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.

Quoted 3 lines

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

#2 lore raw
In reply to BALBIR SINGH
Quoted 5 lines · BALBIR SINGH

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"!.