lkml.org 
[lkml]   [2002]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectCompiling bug - broken compile
Date
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 - ramit.bhalla@wipro.com
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.

****************************************************************************************
\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.041 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site