[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] mediastreamer alsa module will not build
From: |
Cameron Barfield |
Subject: |
[Linphone-developers] mediastreamer alsa module will not build |
Date: |
Thu, 4 Apr 2013 14:45:15 -0700 |
Hi --
I'm trying to cross-compile Linphone for a MIPS platform. Linphone builds and runs, but I have no sound because I cannot get mediastreamer's alsa module (mediastreamer2/src/audio_filters/alsa.c) to compile. I imagine I'm missing something really simple here, but I can't seem to figure it out.
Here's the script I'm using to run configure:
TARGET=${BUILDTARGET:-`pwd`/../../../initramfs}
CC=mips-linux-gnu-gcc CXX=mips-linux-gnu-g++ CFLAGS="-EL -msoft-float -march=m14kc -O2 -fomit-frame-pointer -fPIC -lm -I$TARGET/include/" LD="mips-linux-gnu-gcc" CXXFLAGS="-I$TARGET/include" CPPFLAGS="-I$TARGET/include" LDFLAGS="-EL -msoft-float" ./configure --host=mipsel-linux --prefix=$TARGET --with-alsa=$TARGET --with-osip=$TARGET --disable-video --disable-speex --enable-portaudio=no --enable-gtk_ui=no --disable-manual --disable-strict --disable-glib --enable-ipv6=no --disable-shared --enable-static --enable-alsa=yes --include=$TARGET/include
errorcheck 5 "linphone failed to configure"
make -j2
errorcheck 5 "linphone failed to be made"v
make install
errorcheck 5 "linphone failed to install"v
Relevant output from configure:
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
After building:
$ ls mediastreamer2/src/audiofilters/
alaw.c alsa.c audiomixer.c chanadapt.c dtmfgen.c equalizer.c g726.c genericplc.o l16.lo msconf.c msfileplayer.c msfilerec.c msg722.c msiounit.m msvolume.c oss.c pasnd.c tonedetector.c ulaw.c waveheader.h winsnd3.c
alaw.lo aqsnd.c audiomixer.lo chanadapt.lo dtmfgen.lo equalizer.lo genericplc.c gsm.c l16.o msconf.lo msfileplayer.lo msfilerec.lo msg722.lo msresample.c msvolume.lo oss.lo pulseaudio.c tonedetector.lo ulaw.lo webrtc_aec.c winsnd.c
alaw.o arts.c audiomixer.o chanadapt.o dtmfgen.o equalizer.o genericplc.lo l16.c macsnd.c msconf.o msfileplayer.o msfilerec.o msg722.o msspeex.c msvolume.o oss.o speexec.c tonedetector.o ulaw.o winsnd2.c winsndds.cpp
Any ideas?
- [Linphone-developers] mediastreamer alsa module will not build,
Cameron Barfield <=