Hi,
I'm trying to build MPD-full with pulseaudio support on BarrierBreaker.
The target profile is : TP-LINK TL-WDR3500/3600/4300/4310/MW4350R
Therefore I followed this thread:
https://forum.openwrt.org/viewtopic.php … 26#p205026
But as the post also says https://forum.openwrt.org/viewtopic.php … 71#p216871
I used "attitude_adjustment_12.09" and instructions are for "attitude_adjustment_12.09"
Based on the documentation, I made the following changes to "feeds/packages/sound/mpd/Makefile"
define Package/mpd-full
$(call Package/mpd/Default)
TITLE+= (full)
DEPENDS+= \
+AUDIO_SUPPORT:alsa-lib \
+libaudiofile +BUILD_PATENTED:libfaad2 +libffmpeg-full +libid3tag \
+libmms +libogg +libsndfile +libvorbis +pulseaudio-daemon
PROVIDES:=mpd
VARIANT:=full
endef
--enable-pulse \
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(if $(ICONV_FULL),-liconv),-rpath-link=$(STAGING_DIR)/usr/lib/pulseaudio
"feeds/packages/sound/pulseaudio/Makefile" seemed to have everything it needs. The documentation sais:
+ $(CP) \
+ $(PKG_INSTALL_DIR)/usr/lib/pulseaudio/*.so* \
+ $(1)/usr/lib/pulseaudio/
But I assumed it is included in $(PKG_INSTALL_DIR)/usr/lib/pulseaudio/*
And the file remained as provided by the git clone.
define Build/InstallDev
$(INSTALL_DIR) \
$(1)/usr/lib/pkgconfig \
$(1)/usr/include/pulse \
$(1)/usr/lib \
$(1)/usr/lib/pulseaudio
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/pulse/* \
$(1)/usr/include/pulse
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
$(1)/usr/lib/pkgconfig
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
$(1)/usr/lib/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pulseaudio/* \
$(1)/usr/lib/pulseaudio/
endef
So after selecting Sound/pulseaudio-daemon,Libraries/libffmpeg-mini and Sound/mpd-full in the Menuconfig.
I started a Make
and I got the following result.
checking whether the C compiler works... no
configure: error: in `build_dir/target-mips_34kc_uClibc-0.9.33.2/mpd-full/mpd-0.17.6':
configure: error: C compiler cannot create executables
Has anyone an Idea on this ?
Thanks
(Last edited by youpla on 16 Aug 2015, 09:20)