From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allin Cottrell Date: Tue, 19 Jul 2011 16:06:26 +0000 Subject: Re: udev: disable mtd_probe? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 18 Jul 2011, Kay Sievers wrote: > On Mon, Jul 18, 2011 at 23:40, Kay Sievers wrote: >> On Mon, Jul 18, 2011 at 23:37, Allin Cottrell wrote: >>> On Mon, 18 Jul 2011, Kay Sievers wrote: >>>> but: Dependencies? A bunch? I don't see any. Not even the rules are doing >>>> anything, if no mtd devices are present. >>> >>> Maybe I'm misunderstanding something, but I thought I had to install the >>> mtd-utils and/or configure MTD support into the kernel. Certainly, the >>> mtd_probe build bombs out on my system with mtd.h > > mtd.h? It includes: mtd/mtd-user.h, which is there since 2.6.17. You > need proper or more recent kernel headers, I guess, it's not any > external dependency. OK, my bad. I'm using kernel 2.6.39.3 but I hadn't copied or linked the mtd subdir of the kernel headers to /usr/include. Allin Cottrell