2002-04-29 11:46:42

by Seiichi Nakashima

[permalink] [raw]
Subject: 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]
--------------------------------


2002-04-29 11:54:47

by Morten Helgesen

[permalink] [raw]
Subject: Re: linux-2.5.11 compile error ( without framebuffer )

Hi, Seiichi

On Mon, Apr 29, 2002 at 08:42:46PM +0900, Seiichi Nakashima wrote:
> 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 ...

> 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

well, the P4/Xeon Thermal stuff depends on APIC support ... bluesmoke.c uses
ack_APIC_irq() and friends.

>
> --------------------------------
> 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

--

"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

2002-04-29 21:21:38

by Seiichi Nakashima

[permalink] [raw]
Subject: Re: linux-2.5.11 compile error ( without framebuffer )

Thanks.
I sucess to boot linux-2.5.11.

>well, the P4/Xeon Thermal stuff depends on APIC support ... bluesmoke.c uses
>ack_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 set
CONFIG_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 set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
CONFIG_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 set
CONFIG_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 set
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y

--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------