Re: [ANNOUNCE] udev 006 release

From: Daniel Stekloff
Date: Thu Nov 20 2003 - 10:34:05 EST


On Wednesday 19 November 2003 10:59 pm, Olaf Hering wrote:
> On Wed, Nov 19, Greg KH wrote:
> > - I've added two external programs to the udev tarball, under
> > the extras/ directory. They are the scsi-id program from Pat
> > Mansfield, and the multipath program from Christophe Varoqui.
> > Both of them can work as CALLOUT programs. I don't think they
> > currently build properly within the tree, by linking against
> > klibc, but patches to their Makefiles to fix this would be
> > gladly accepted :)
>
> There is no make install target for the headers and the libs. Both
> packages disgree on the location. I use the patch below. Can you make a
> decision where the headers should be located?


As a note, the package sysfsutils that contains libsysfs installs the headers
into /usr/include/sysfs. Are we going to have conflicts since udev has its
own private libsysfs statically included? Should the extra programs build off
udev's libsysfs, since they are included with the package? Or, should they
require a shared libsysfs from sysfsutils? If udev is to have its own static
edition of libsysfs, perhaps it'd be best if it didn't install headers and
the extras either used its static version or required the shared libsysfs to
be installed.

Thanks,

Dan


> --- scsi_id/scsi_id.c
> +++ scsi_id/scsi_id.c 2003/11/19 21:25:38
> @@ -33,7 +33,7 @@
> #include <stdarg.h>
> #include <ctype.h>
> #include <sys/stat.h>
> -#include <sys/libsysfs.h>
> +#include <libsysfs.h>
> #include "scsi_id.h"
>
> #ifndef VERSION
> --- scsi_id/scsi_serial.c
> +++ scsi_id/scsi_serial.c 2003/11/19 21:25:42
> @@ -31,7 +31,7 @@
> #include <unistd.h>
> #include <syslog.h>
> #include <scsi/sg.h>
> -#include <sys/libsysfs.h>
> +#include <libsysfs.h>
> #include "scsi_id.h"
> #include "scsi.h"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/