Frontend Tech + >> Ultimarc
View all threads Index   Flat Mode Flat  

dizzlebomb
MAME Fan
Reged: 06/22/20
Posts: 2
Send PM
Re: Ultrastik and ultrastikcmd on Raspberry Pi
06/23/20 03:33 AM


Do we know the status of this on Pi 4? When I get into installing libhid (the 3rd primary step) I get errors that look like this during the 'sudo make'

.deps/hid_opening.Tpo -c hid_opening.c -fPIC -DPIC -o .libs/hid_opening.o
hid_opening.c: In function 'hid_get_usb_handle':
hid_opening.c:79:47: error: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 32 [-Werror=format-truncation=]
snprintf(hidif->id, sizeof(hidif->id), "%s/%s[%d]",
^~
hid_opening.c:79:7: note: 'snprintf' output between 5 and 8207 bytes into a destination of size 32
snprintf(hidif->id, sizeof(hidif->id), "%s/%s[%d]",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usbbus->dirname, usbdev->filename, hidif->interface);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:427: hid_opening.lo] Error 1


I can't seem to figure out how to resolve this and get libhid installed properly.







Entire thread
Subject Posted by Posted on
* Ultrastik and ultrastikcmd on Raspberry Pi ruckage 05/14/15 01:07 PM
. * Re: Ultrastik and ultrastikcmd on Raspberry Pi dizzlebomb  06/23/20 03:33 AM

Extra information Permissions
Moderator:  Andy Warne 
0 registered and 17 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3258