soundcheck wrote: > Q. > > Is there a sl Makefile that can be used for a building a static binary? >
This is the make command I used to use to build the armhf binary on my lmsclients download site. make -f Makefile.rpi OPTS="-DLINKALL -DDSD -DVISEXPORT -DRESAMPLE -DIR -DGPIO -DRPI -I./include" LDFLAGS="/usr/lib/arm-linux-gnueabihf/libFLAC.a /usr/lib/arm-linux-gnueabihf/libvorbisfile.a /usr/lib/arm-linux-gnueabihf/libvorbis.a /usr/lib/arm-linux-gnueabihf/libogg.a /usr/lib/arm-linux-gnueabihf/libmad.a /usr/lib/arm-linux-gnueabihf/libfaad.a /usr/lib/arm-linux-gnueabihf/libmpg123.a /usr/lib/arm-linux-gnueabihf/libsoxr.a $HOME/source/picoreplayer/tcz/lirc/liblirc_client.a /usr/lib/gcc/arm-linux-gnueabihf/4.9/libgomp.a lib/libwiringPi.a -lpthread -ldl -lrt -lm -lasound" Several of the support libraries do not have static libraries available so you will need to build them yourself from the debian apt sources. The official libwiringPi no longer supports building the static version, so you'll need to use the 'picoreplayer libwiringPi github fork' (https://github.com/piCorePlayer/wiringPi). For lirc support you need to build liblirc_client.a from https://github.com/ralph-irving/tcz-lirc/blob/master/lirc-0.9.0.tar.bz2 soundcheck wrote: > > @Ralphy > > I talked to Paul the other day. I'm wondering if you managed to prepare > the header .tcz for building sl on pCP. > We've been discussing it quite a while back. > > Thx I have not done this yet, but it is still on my todo list. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ------------------------------------------------------------------------ ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
