Re: lsusb.c relies on Linux-specific byte-swap call

Joe Peterson <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Xiaofan Chen wrote:
> On 11/2/07, Joe Peterson <[email protected]> wrote:
>> Well, we still need to do some testing, but at least the patch gets past
>> the byte order issue in the compile.  BTW, attached is a new patch,
>> which fixes the problem in configure.in, thereby making use of autotools
>> rather than hard-coding the arch ifdef in the code:
>>
> 
> One more thing, with the latest patch, the autotools still could not find
> libusb package. I need to use the following commands.
> 
> ===[mcuee] ~/Desktop/build/usbutils-0.73 # CFLAGS=-I/usr/local/include
> LDFLAGS=-L/usr/local/lib ./configure
> 
> ===[mcuee] ~/Desktop/build/usbutils-0.73 # CFLAGS=-I/usr/local/include
> LDFLAGS=-L/usr/local/lib make
> 
> There are two error messages but I am not so sure what that means.
> 
> ===[mcuee] ~/Desktop/build/usbutils-0.73 # lsusb
> Bus /dev/usb1 Device /dev/ugen0: ID 04d8:0033 Microchip Technology, Inc.
> 
> ===[mcuee] ~/Desktop/build/usbutils-0.73 # sudo lsusb -v

Is the above only required when you use my patch?  The patch should not
affect other things like that (it only deals with the two include files
for byte order); let me know if it somehow does.

					-Joe

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.