[MPlayer-users] ./configure fails with libopencore_amr wideband

andrew andrew.david.45 at gmail.com
Tue Aug 4 12:36:07 CEST 2009


Hi,

I have just built the latest libopencore-amr from git and I note that
the latest svn MPlayer picks up libopencore_amr narrowband but not
wideband. I attach the relevant sections of configure.log.

My apologies if this is a problem with libopencore-amr rather than
MPlayer.

Andrew

-- 
Do you think that's air you're breathing?
-------------- next part --------------
##########################################

============ Checking for libopencore_amr narrowband ============

#include <opencore-amrnb/interf_dec.h>
int main(void) { Decoder_Interface_init(); return 0; }

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -Ilibdvdread4 -I.  -D_REENTRANT -I/usr/X11/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT -I/usr/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/cdda -I/usr/include/freetype2 -I/usr/include    /usr/lib/live/liveMedia/libliveMedia.a                  /usr/lib/live/groupsock/libgroupsock.a                  /usr/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                   -ffast-math   -lncurses -lsmbclient -lpng -lz -lmng -lz -ljpeg -lungif -lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/usr/lib -lfribidi -lenca -lz -lbz2 -llzo2 -lmad -lspeex -ltheora -logg   -ldts -lmpcdec  -lstdc++   -lXext -lX11 -lpthread -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib -lcaca -lcucul -lvga -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -lasound -laudiofile -lm -lfaac  -lfaac -o /tmp/mplayer-conf-7026-32526 /tmp/mplayer-conf-27110-32526.c -lopencore-amrnb


Result is: yes 
##########################################

============ Checking for libopencore_amr wideband ============

#include <opencore-amrwb/dec_if.h>
int main(void) { D_IF_init(); return 0; }

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -Ilibdvdread4 -I.  -D_REENTRANT -I/usr/X11/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT -I/usr/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/cdda -I/usr/include/freetype2 -I/usr/include    /usr/lib/live/liveMedia/libliveMedia.a                  /usr/lib/live/groupsock/libgroupsock.a                  /usr/lib/live/UsageEnvironment/libUsageEnvironment.a                  /usr/lib/live/BasicUsageEnvironment/libBasicUsageEnvironment.a                   -ffast-math   -lncurses -lsmbclient -lpng -lz -lmng -lz -ljpeg -lungif -lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/usr/lib -lfribidi -lenca -lz -lbz2 -llzo2 -lmad -lspeex -ltheora -logg   -ldts -lmpcdec  -lstdc++ -lopencore-amrnb   -lXext -lX11 -lpthread -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib -lcaca -lcucul -lvga -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -lasound -laudiofile -lm -lfaac  -lfaac -o /tmp/mplayer-conf-7026-32526 /tmp/mplayer-conf-27110-32526.c -lopencore-amrwb
/tmp/ccu3Wfzq.o: In function `main':
mplayer-conf-27110-32526.c:(.text+0xf): undefined reference to `D_IF_init'
collect2: ld returned 1 exit status


Result is: no 
##########################################


More information about the MPlayer-users mailing list