Hi guys,
I'm tryin to compile the latest version of squeezelite as the previous version (1.5) stopps playing mp3-streams after some hours.
When running make everything looks fine until this section:
# make package/feeds/packages/squeezelite/compile V=s
...
mips-openwrt-linux-uclibc-gcc main.o slimproto.o buffer.o stream.o utils.o output.o output_alsa.o output_pa.o output_stdout.o output_pack.o decode.o flac.o pcm.o mad.o vorbis.o faad.o mpg.o -L/data/home/joky/openwrt/git-trunk/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/data/home/joky/openwrt/git-trunk/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/data/home/joky/openwrt/git-trunk/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/data/home/joky/openwrt/git-trunk/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -ldl -o squeezelite
slimproto.o: In function `wake_controller':
slimproto.c:(.text+0xa6e): undefined reference to `eventfd_write'
buffer.o: In function `buf_init':
buffer.c:(.text+0x116): undefined reference to `pthread_mutexattr_init'
buffer.c:(.text+0x11e): undefined reference to `pthread_mutexattr_setprotocol'
buffer.c:(.text+0x12e): undefined reference to `pthread_mutexattr_destroy'
stream.o: In function `stream_init':
stream.c:(.text+0x710): undefined reference to `pthread_attr_setstacksize'
stream.c:(.text+0x71c): undefined reference to `pthread_create'
stream.o: In function `stream_close':
stream.c:(.text+0x792): undefined reference to `pthread_join'
utils.o: In function `wait_readwake':
utils.c:(.text+0x2d2): undefined reference to `eventfd_read'
output_alsa.o: In function `alsa_close':
output_alsa.c:(.text+0x4): undefined reference to `snd_pcm_close'
output_alsa.c:(.text+0x20): undefined reference to `snd_strerror'
output_alsa.o: In function `alsa_open': ...
Makefile:
include $(TOPDIR)/rules.mk
PKG_NAME:=squeezelite
PKG_VERSION:=75a72d5f86e1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://squeezelite.googlecode.com/archive/
# PKG_MD5SUM:=4e6fc300c148d179cdbb5fa51ac50f6c
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/squeezelite
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=lightweight headless squeezebox emulator
URL:=http://www.squeezelite/
DEPENDS:= +AUDIO_SUPPORT:alsa-lib \
+libvorbis +libflac \
+libfaad2 +libffmpeg +libpthread
endef
define Package/squeezelite/description
lightweight headless squeezebox emulator
endef
define Package/squeezelite/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
endef
$(eval $(call BuildPackage,squeezelite))
Is anything missing in the Makefile? Do I need any patch for the original Makefile?
kind regards