From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Tue, 17 Feb 2004 21:32:33 +0000 Subject: udev - changing libsysfs header file location Message-Id: <20040217133233.A11743@beaverton.ibm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Greg - The location of the libsysfs headers is different when building with udev versus building against the installed sysfsutils. Can you bk mv the libsysfs header files to the same subdirectory as seen after installing sysfsutil? And then apply patch being sent as a followup email. That is, move the headers located under udev libsysfs to libsysfs/sysfs. This would avoid problems with extras programs that want to build with and without udev, for example scsi_id ;-) To clarify here's the current scsi_id hack, it will not always work right when building udev without klibc, as it will either pick up the locally installed versions of /usr/include/sysfs/libsysfs.h, or if sysfsutils is not installed fail compilation: #ifdef __KLIBC__ /* * Assume built under udev with KLIBC */ #include #else #include #endif -- Patrick Mansfield ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel