Re: Missing typdefs and usb.h for Soarer's Converter

2019-03-30 Thread Sam Varshavchik
Leander Hutton writes: Did some comparing between the Debian version of usb.h and Fedora. The usb.h on Debian included sys/param.h and the Fedora version omits this. /usr/include/usb.h is installed by the libusb 0.1.5, a comparatively old version sys/param.h then includes sys/types.h, so

Re: Missing typdefs and usb.h for Soarer's Converter

2019-03-29 Thread Leander Hutton
On 3/29/19 11:29 PM, Sam Varshavchik wrote: > A brief grep finds these typedefs defined in : > > #include  > > typedef u_int8_t foo; > > > This compiles just fine. > > So, I surmise that the code in question was using something that itself > includes sys/types.h, but whatever that is, the vers

Re: Missing typdefs and usb.h for Soarer's Converter

2019-03-29 Thread Sam Varshavchik
Leander Hutton writes: I have libusb-devel installed and /usr/include/usb.h and /usr/include/stdint.h are both present. Running the included makefile for the Linux build just dumps unknown type name errors for u_int8_t and u_int16_t: /usr/include/usb.h:81:2: error: unknown type name ‘u_int8_t’

Missing typdefs and usb.h for Soarer's Converter

2019-03-29 Thread Leander Hutton
I'm trying to compile Soarer's Converter on Fedora 29 and running into typedef problems. This is a somewhat old utility for programming USB converters for old terminal and XT keyboards based on an Arduino Teensy. More info here on that here: https://geekhack.org/index.php?topic=17458.0 I have lib