Subject: Re: trivial: can't compile kernel without PCMCIA
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Robert Elz <kre@munnari.OZ.AU>
List: tech-kern
Date: 03/27/1999 00:03:22
Date: Thu, 25 Mar 1999 11:12:43 -0800
From: Jason Thorpe <thorpej@nas.nasa.gov>
Message-ID: <199903251912.LAA18302@lestat.nas.nasa.gov>
This was on current-users, but this response doesn't belong there, so
I moved it...
| ...but you still kept the pcic lines? No wonder it doens't link :-)
| If you comment out pcmcia at pcic?, you should also comment out pcic at ...
This is bogus.
If config doesn't object, the kernel should link correctly.
In this case there are really two options - either have config learn that
a pcic without a pcmcia is not a sensible configuration, and bitch and moan
about it (just as it would if the pcic was deleted but the pcmcia was
left in).
Or, make sure that anything required by the pcic config actually gets
compiled and linked when the pcic config line is left in the config.
That basically means making sure that the correct config options are
added in the files.* file, and the correct #if's are in the source file.
Expecting random users (kernel recompilers) to simply "know" that if
you have one option you also have to have another one is truly unsupportable.
kre