No-IDE kernel compile link errors

Martin Costabel costabel at
Tue Mar 9 21:23:14 EST 1999

Satadru Pramanik had the same error recently:

There was no solution posted on the list. Maybe he has one?

I suspect that you have CONFIG_PARPORT=y and this doesn't work without
some of the IDE stuff. It's certainly a bug in the config files, like so
many others.

Hollis R Blanchard wrote:
> I've been having this problem recently with 2.2.2 source from and
> now the NMT vger snapshot:
> So I 'make menuconfig'. And since I have a PowerCenter (with no IDE anything),
> I turn off all IDE support, in General and Block Devices.
> I get the following link error:
> arch/ppc/kernel/kernel.o: In function `find_ide_boot':
> arch/ppc/kernel/kernel.o(.text.init+0x1ca6): undefined reference to
> `pmac_ide_count'
> arch/ppc/kernel/kernel.o(.text.init+0x1caa): undefined reference to
> `pmac_ide_count'
> arch/ppc/kernel/kernel.o(.text.init+0x1cc2): undefined reference to
> `pmac_ide_node'
> arch/ppc/kernel/kernel.o(.text.init+0x1cc6): undefined reference to
> `pmac_ide_node'
> arch/ppc/kernel/kernel.o(.text.init+0x1cce): undefined reference to
> `pmac_ide_count'
> arch/ppc/kernel/kernel.o(.text.init+0x1d06): undefined reference to
> `pmac_ide_count'
> Awesome. Of course it can't find those symbols - I haven't compiled (and don't
> want) any IDE stuff.
> When I rerun 'make menuconfig', I find that the IDE stuff has been re-enabled
> on me. My other changes were saved, though. Examining the .config file, I find
> On a related note, I've always wondered who maintains the Makefiles for the
> kernel. Is it communal, and if so, are patches to the Makefiles submitted just
> like source patches?

I think this is a problem of some defconfig or file, and these
are changed whenever a driver is introduced. It looks to me that nobody
takes them very seriously. It took years to fix the xconfig stuff. I
tried to understand it once, but it is a horrible mess of self-modifying
spaghetti code.

A quote from drivers/block/ which may be relevant to your

# Paride Doesn'T Need Parport, But If Parport Is Configured As A Module,
# Paride Must Also Be A Module.  The Bogus Config_Paride_Parport Option
# Controls The Choices Given To The User ...


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check ]]
[[ and for useful information before posting.   ]]

More information about the Linuxppc-dev mailing list