[opus] Compiling FFmpeg with libopencore-amrnb and opus-git.

batguano999 batguano999 at zoho.com
Wed Nov 13 14:51:54 PST 2013


Hi
Any idea what's causing these errors:-

/home/user/build/lib/libopencore-amrnb.a(preemph.o): In function `preemphasis':
/home/user/build/opencore-amr-0.1.3/amrnb/../opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/preemph.cpp:193: multiple definition of `preemphasis'
/home/user/build/lib/libopus.a(celt_encoder.o):/home/user/build/opus/celt/celt_encoder.c:455: first defined here
collect2: error: ld returned 1 exit status
Makefile:105: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1

Compiling FFmpeg with "--enable-libopencore-amrnb --enable-libopus".
With opus-git-a71c9ad FFmpeg gives the errors and fails to build. :-(
With opus-1.1-beta FFmpeg builds OK. :-)

@arch ~]$ ./ffmpeg
ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov 13 2013 22:45:33 with gcc 4.8.2 (GCC)
  configuration: --extra-cflags=-I/home/user/build/include --extra-ldflags=-L/home/user/build/lib --enable-libopencore-amrnb --enable-libopus --enable-version3
  libavutil      52. 48.100 / 52. 48.100
  libavcodec     55. 39.100 / 55. 39.100
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104

Tests were carried out using...
ArchBang Linux OS.
FFmpeg-2.1.
opencore-amr-0.1.3.

Test build scripts...
"bad" is here ---> http://pastebin.com/raw.php?i=vfvEDHG8
"good" is here ---> http://pastebin.com/raw.php?i=kxuAQQBD



More information about the opus mailing list