Missing typdefs and usb.h for Soarer's Converter

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

 



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 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’
  u_int8_t  bLength;
  ^~~~~~~~
/usr/include/usb.h:82:2: error: unknown type name ‘u_int8_t’
  u_int8_t  bDescriptorType;
  ^~~~~~~~
/usr/include/usb.h:87:2: error: unknown type name ‘u_int8_t’
  u_int8_t  bLength;
  ^~~~~~~~

Tested compiling the code on Debian and Ubuntu with the equivalent
libraries installed and it produces the binaries just fine, so I must be
missing something on the Fedora procedure. It's almost like it's missing
the stdint.h header but I've verified it's present. The binaries I
compiled on the Debian install even work just fine on F29 which leads me
to believe I'm just missing a -devel package needed to compile it.
Thought maybe it needed the avr-libc package and it's headers but that
didn't seem to help.

Unfortunately the original person who wrote this code has long since
vanished but Teensy stuff is pretty popular so I thought it'd be worth a
shot to ask here! I haven't messed with any other Teensy code myself.

Thanks!

Leander
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux