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

dizzlebomb
MAME Fan
Reged: 06/22/20
Posts: 2
Send PM
Re: New version 0.2 of Linux UltraStik map upload tool now available
06/23/20 06:14 PM


Hi Andy,

I'm attempting to setup one of my two UltraStik360's that I purchased close to when they first came out, on a new Retropie setup and be able to update the joystick mappings per rom in whatever way possible.

gcc (Raspbian 8.3.0-6+rpi1) 8.3.0

I have read a few things about the new firmware for the sticks but am still unclear if I somehow need that firmware update, and whether I'd need to send my stick(s) back to Andy W. for that as you once did, or if I don't need to bother with that at all.

I have gone down a few routes, also looking into RGBCommander to do the map switching but upon downloading that saw that it only works with Rev2 of the UltraStik360 and that is almost surely not what I have.

As it stands, I am attempting to install UltrastikCmd-master, everything goes fine with libusb-1.0.19 and libusb-compat-0.1.5, but upon running 'sudo make' for libhid-0.2.16, I see this error >>

make[1]: Entering directory '/etc/UltrastikCmd-master/libhid-0.2.16/src'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -I/usr/local/include -O2 -Wall -W -Werror -MT hid_opening.lo -MD -MP -MF ".deps/hid_opening.Tpo" -c -o hid_opening.lo hid_opening.c; \
then mv -f ".deps/hid_opening.Tpo" ".deps/hid_opening.Plo"; else rm -f ".deps/hid_opening.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -fPIC -I../include -I../hidparser -I/usr/local/include -O2 -Wall -W -Werror -MT hid_opening.lo -MD -MP -MF .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
make[1]: Leaving directory '/etc/UltrastikCmd-master/libhid-0.2.16/src'
make: *** [Makefile:394: install-recursive] Error 1


I guess I'm just wondering what avenue is best for me to pursue. I don't know whether to talk to Andy W. about sending the stick(s) back for the firmware update, or how to go about resolving this error for my current gcc from the newest RetroPie image I'm setup with.

Do you have any advice regarding this situation?

Thanks!
Dan







Entire thread
Subject Posted by Posted on
* New version 0.2 of Linux UltraStik map upload tool now available Andy S 03/29/15 06:37 AM
. * Re: New version 0.2 of Linux UltraStik map upload tool now available dizzlebomb  06/23/20 06:14 PM
. * Re: New version 0.2 of Linux UltraStik map upload tool now available Vagabondivan  02/21/21 01:15 PM

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