Re: [tip:x86/urgent] x86: Fix incorrect path to header file

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

 



On Mar 6, 2013, at 12:51 PM, H. Peter Anvin wrote:

> On 03/06/2013 10:24 AM, Brassow Jonathan wrote:
>> I thought the same thing.  I couldn't find my mistake though...  Would it help if I attached my config file?
>> 
>> brassow
> 
> Yes, and the exact steps you took which resulted in the failure.

I'm running RHEL6.3.  To generate the .config file, I used 'make localmodconfig'.  When prompted on new features, I simply went with the default (hit enter).  This resulted in the attached config file, which errors out with the following messages:
  LD      arch/x86/kernel/acpi/built-in.o
  CC      arch/x86/kernel/apic/apic.o
arch/x86/kernel/apic/apic.c: In function ‘lapic_next_deadline’:
arch/x86/kernel/apic/apic.c:475: error: ‘MSR_IA32_TSC_DEADLINE’ undeclared (first use in this function)
arch/x86/kernel/apic/apic.c:475: error: (Each undeclared identifier is reported only once
arch/x86/kernel/apic/apic.c:475: error: for each function it appears in.)
make[3]: *** [arch/x86/kernel/apic/apic.o] Error 1
make[2]: *** [arch/x86/kernel/apic] Error 2
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

I tracked that down to the header file not being properly included.  I wondered also, why is the compiler complaining about the lack of macro definitions instead of complaining about the missing header file?

 brassow

Attachment: config-3.8
Description: Binary data


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux