Re: usb-utils: Support for 'usb.ids.gz' currently broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 15, 2011 at 07:07:18AM +0000, Martin Rother wrote:
> If a distribution wants to save a little bit of space for the usb-utils the option exists to use a 'usb.ids.gz' file instead of 'usb.ids'. Provided the respective library is available at compile time a few lines of code in 'lsusb.c' and 'names.c' achieve this depending on the "HAVE_LIBZ" flag.
> 
> This flag was properly set in usbutils-0.91, but I've now found that this is not the case anymore with usbutils-002. I'm myself a bit confused as the 'configure' script in usbutils-002 seems to use "HAVE_ZLIB" and "USE_ZLIB" (but not "HAVE_LIBZ").
> 
> I guess someone else will quickly identify what is going on here. I just used the following "fudge" (after './configure' and before 'make') to overcome this problem:
>     echo '#define HAVE_LIBZ 1' >> config.h && sed -i '/LIBS = $/s#$#-lz #' Makefile

This should be fixed in the usbutils git tree with the following commit:
	https://github.com/gregkh/usbutils/commit/7170260942c403a1c6e8359e085e48cf4a14668c

Can you verify that this fixes the issue for you?

If so, I probably should release 003 with this in it as you aren't the
first to be hit by it.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux