The configure script could't find liborc without the below changes. Added ldflags of "-lorc-0.4" so that configure could find it, added "liborc" to the deps lines so it would build with liborc. Without this, configure reported "ERROR: schroedinger-1.0 not found", along with every symbol schroedinger looked for in orc as being undefined, like: ~snip~ tmp-orc.c:(.text+0x19fbb): undefined reference to `orc_program_set_backup_function' tmp-orc.c:(.text+0x19fd1): undefined reference to `orc_program_add_source' tmp-orc.c:(.text+0x19fe7): undefined reference to `orc_program_add_source' tmp-orc.c:(.text+0x19ffd): undefined reference to `orc_program_add_accumulator' tmp-orc.c:(.text+0x1a02b): undefined reference to `orc_program_append_2' tmp-orc.c:(.text+0x1a037): undefined reference to `orc_program_compile' tmp-orc.c:(.text+0x1a043): undefined reference to `orc_program_take_code' tmp-orc.c:(.text+0x1a056): undefined reference to `orc_program_free' /home/courtlandj/usr/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schroarith.o): In function `schro_arith_decode_init': schroarith.c:(.text+0x6c0): undefined reference to `orc_memset' schroarith.c:(.text+0x855): undefined reference to `orc_memcpy' /home/courtlandj/usr/lib/libschroedinger-1.0.a(libschroedinger_1.0_la-schroarith.o): In function `schro_arith_encode_init': schroarith.c:(.text+0x87d): undefined reference to `orc_memset' collect2: ld returned 1 exit status
(You get the idea.) I've successfully built & encoded a video with -vcodec libdirac, played back fine. --- configure | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index fa23619..ab3e3ca 100755 --- a/configure +++ b/configure @@ -1408,8 +1408,8 @@ libopencore_amrnb_decoder_deps="libopencore_amrnb" libopencore_amrnb_encoder_deps="libopencore_amrnb" libopencore_amrwb_decoder_deps="libopencore_amrwb" libopenjpeg_decoder_deps="libopenjpeg" -libschroedinger_decoder_deps="libschroedinger" -libschroedinger_encoder_deps="libschroedinger" +libschroedinger_decoder_deps="libschroedinger liborc" +libschroedinger_encoder_deps="libschroedinger liborc" libspeex_decoder_deps="libspeex" libspeex_encoder_deps="libspeex" libtheora_encoder_deps="libtheora" @@ -2909,7 +2909,7 @@ enabled libopencv && require_pkg_config opencv opencv/cv.h cvCreateImageHeader enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg enabled libpulse && require_pkg_config libpulse-simple pulse/simple.h pa_simple_new enabled librtmp && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket -enabled libschroedinger && require_pkg_config schroedinger-1.0 schroedinger/schro.h schro_init +enabled libschroedinger && require_pkg_config schroedinger-1.0 schroedinger/schro.h schro_init -lorc-0.4 enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg enabled libvo_aacenc && require libvo_aacenc vo-aacenc/voAAC.h voGetAACEncAPI -lvo-aacenc -- 1.7.2.5 -Courtland Jones
_______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
