Just repeated a Squeezeplay build using an Ubuntu 14.04 LTS 64 bit OS and the Squeezeplay 7.8 trunk (rev 9704). Required some changes to the procedure outlined in post #1 which I'll recap here.
1. Don't make the change to <builddir>/squeezeplay/src/squeezeplay/src/audio/decode/decode.c, just leave it as original. "%llu" works fine on my x86_64 platform. 2. The make system is set to treat warnings as errors, so tweak <builddir>/squeezeplay/src/squeezeplay/src/jive_debug.c: Change line 100 from "memset(hd, 0, sizeof(hd));" to "memset(hd, 0, sizeof(*hd));" 3. The latest SDL-1.2.15 is a pain. I don't know how it ever worked with Squeezeplay. However, the SDL-1.2.13 bundled with Squeezeplay still causes problems so you still have to replace it with downloaded 1.2.15. Then you have to hack it and pull some of the 1.2.13 code back in. In a nutshell: a. Download SDL-1.2.15 and replace SDL-1.2.13 as described before. b. Patch it with this: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libsdl/files/libsdl-1.2.15-const-xdata32.patch?view=markup , for example: Code: -------------------- cd SDL-1.2.13 patch -p1 < ~/Source/squeezeplay-STASH/libsdl-1.2.15-const-xdata32.patch -------------------- c. Modify the _XData32 definition (as described in the Linux From Scratch recipe): Code: -------------------- sed -i '/_XData32/s:register long:register _Xconst long:' src/video/x11/SDL_x11s ym.h -------------------- d. Now you need to restore some of the definitions from SDL-1.2.15. I attached 3 patch files corresponding to the 3 files needing patches: include/SDL_keysym.h, include/SDL_events.h, and src/events/SDL_events.c. Code: -------------------- cd SDL-1.2.13/include patch < SDL_keysym.h.patch patch < SDL_events.h.patch cd SDL-1.2.13/src/events patch < SDL_events.c.patch -------------------- This should be enough to successfully run "make -f Makefile.linux" . +-------------------------------------------------------------------+ |Filename: SDL_keysym.h.patch | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=18383| +-------------------------------------------------------------------+ ------------------------------------------------------------------------ Braklet's Profile: http://forums.slimdevices.com/member.php?userid=47269 View this thread: http://forums.slimdevices.com/showthread.php?t=97714 _______________________________________________ jive mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/jive
