linux-2.5.11 compile error ( without framebuffer )
Hi.
I compile linux-2.5.11 ( gcc-2.95.3 ), but compile error occured at framebuffer. Then I recompile linux-2.5.11 without framebuffer, but compile error again.
ide.c: In function `reset_pollfunc':
ide.c:603: warning: assignment discards qualifiers from pointer target type eepro100.c:2252: warning: eepro100_remove_one' defined but not used bluesmoke.c: In function intel_thermal_interrupt':
bluesmoke.c:36: warning: implicit declaration of function ack_APIC_irq' bluesmoke.c: In function intel_init_thermal':
bluesmoke.c:92: warning: implicit declaration of function apic_read' bluesmoke.c:104: warning: implicit declaration of function apic_write_around' arch/i386/kernel/kernel.o: In function `intel_thermal_interrupt':
arch/i386/kernel/kernel.o(.text+0x7221): undefined reference to ack_APIC_irq' arch/i386/kernel/kernel.o: In function intel_init_thermal':
arch/i386/kernel/kernel.o(.text.init+0x2ad2): undefined reference to apic_read' arch/i386/kernel/kernel.o(.text.init+0x2b12): undefined reference to apic_write_around' arch/i386/kernel/kernel.o(.text.init+0x2b31): undefined reference to apic_read' arch/i386/kernel/kernel.o(.text.init+0x2b41): undefined reference to apic_write_around'
make: *** [vmlinux] Error 1
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------
Hi, Seiichi
Quoted 9 lines · Seiichi Nakashima
Hi.
I compile linux-2.5.11 ( gcc-2.95.3 ), but compile error occured at framebuffer. Then I recompile linux-2.5.11 without framebuffer, but compile error again.
ide.c: In function `reset_pollfunc':
ide.c:603: warning: assignment discards qualifiers from pointer target type eepro100.c:2252: warning: `eepro100_remove_one' defined but not used
just warnings ...
Quoted 5 lines
bluesmoke.c: In function `intel_thermal_interrupt':
bluesmoke.c:36: warning: implicit declaration of functionack_APIC_irq' bluesmoke.c: In functionintel_init_thermal':
bluesmoke.c:92: warning: implicit declaration of functionapic_read' bluesmoke.c:104: warning: implicit declaration of functionapic_write_around'
Quoted 8 lines
arch/i386/kernel/kernel.o: In function `intel_thermal_interrupt':
arch/i386/kernel/kernel.o(.text+0x7221): undefined reference toack_APIC_irq' arch/i386/kernel/kernel.o: In functionintel_init_thermal':
arch/i386/kernel/kernel.o(.text.init+0x2ad2): undefined reference toapic_read' arch/i386/kernel/kernel.o(.text.init+0x2b12): undefined reference toapic_write_around' arch/i386/kernel/kernel.o(.text.init+0x2b31): undefined reference toapic_read' arch/i386/kernel/kernel.o(.text.init+0x2b41): undefined reference toapic_write_around'
make: *** [vmlinux] Error 1
well, the P4/Xeon Thermal stuff depends on APIC support ... bluesmoke.c uses ack_APIC_irq() and friends.
Quoted 10 lines
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
== Morten
Signature · 8 lines
"Livet er ikke for nybegynnere" - sitat fra en klok person. mvh Morten Helgesen UNIX System Administrator & C Developer Nextframe AS [email protected] / 93445641 http://www.nextframe.net
Thanks.
I sucess to boot linux-2.5.11.
Quoted 2 lines
well, the P4/Xeon Thermal stuff depends on APIC support ...
bluesmoke.cusesack_APIC_irq()and friends.
I change kernel configuration that is Processor type and features section. Already I set off "Symmetric multi-processing support".
Now I add to set on "Local APIC support on uniprocessorts" and "IO-APIC support on uniprocessors", then I compile kernel, few waring displayed , but boot up successful.
== compile error messages ==
ide.c: In function `reset_pollfunc':
ide.c:603: warning: assignment discards qualifiers from pointer target type eepro100.c:2252: warning: eepro100_remove_one' defined but not used io_apic.c:221: warning: move' defined but not used
bsetup.s: Assembler messages:
bsetup.s:979: Warning: Value 0x37ffffff truncated to 0x37ffffff. Root device is (3, 4)
Boot sector 512 bytes.
Setup is 4768 bytes.
System is 675 kB
== my kernel configuration ( Processor type and featrures section only )
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not setCONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not setCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not setCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_X86_TSC=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not setCONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not setCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not setCONFIG_X86_UP_APIC=yCONFIG_X86_UP_IOAPIC=yCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------