Skip to contentSkip to conversation

Compiling bug - broken compile

DISCUSSION Ramit Bhalla 2 participants 2 messages Jul 22, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using the 2.4.7 Kernel.
I'm trying to make this work without any BIOS support so I configure the kernel to use "Direct" PCI calls through the menuconfig scripts. I also turn off PCI Hot Pluggable support.

The build will break during "make zImage" at the end during the link phase. It says it cannot find the symbol pcibios_set_irq_routing and pcibios_get_irq_routing_table.

If I configure PCI to use BIOS calls, it work fine.

I noticed the problem lies in the file arch/i386/kernel/i386_ksyms.c In that file EXPORT_SYMBOL(pcibios_set_irq_routing) is placed under #ifdef CONFIG_PCI. If I add another clause #ifdef CONFIG_PCI_BIOS (which I presume from the Config.in file is the definition for PCI Bios calls instead of Direct calls), then it works fine.

Regards,
Ramit Bhalla.

Wipro Technologies,
No. 8
7th Main, 1st Block,
Koramangala,
Bangalore.
India - 560034.

E-mail - [email protected]
Ph. - 91-80-5530035 ext 1082
Fax - 91-80-5530086

www.wipro.com

**************************Disclaimer**************************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged'
and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************

#1 lore raw
Quoted 4 lines · Ramit Bhalla

Hi,

I'm using the 2.4.7 Kernel.
...

2.4.7 is really outdated and contains many bugs that are fixed in more recent kernels. Could you check whether the problem still exists in kernel 2.4.18?

Quoted 2 lines

Regards,
Ramit Bhalla.

TIA
Adrian

Signature · 3 lines
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
								Alan Cox