Hello,

I'm trying to build a demuxer using libav{util,format,codec}.a

( rev 16054 )

My configure options were :

--disable-vhook --enable-cross-compile --cross-prefix="sh-superh-elf-" 
--target-os=os21 --arch=st40 --disable-network --disable-encoders 
--disable-decoders --disable-muxers --disable-protocols 
--disable-devices --disable-bsfs --disable-filters --enable-debug=3 
--disable-optimizations

link fails :

libavcodec.a(h264_parser.o): In function `refill2'
libavcodec/cabac.h:290: undefined reference to `ff_h264_norm_shift'

libavcodec.a(h264_parser.o): In function `get_cabac_noinline'
libavcodec/cabac.h:585: undefined reference to `ff_h264_lp s_range'
libavcodec/cabac.h:585: undefined reference to `ff_h264_mlps_state'
libavcodec/cabac.h:585: undefined reference to `ff_h264_norm_shift'

libavcodec.a(h264_parser.o): In function `get_cabac'
libavcodec/cabac.h:589: undefined reference to `ff_h264_lps_range'
libavcodec/cabac.h:589: undefined reference to `ff_h264_mlps_state'
libavcodec/cabac.h:589: undefined reference to `ff_h264_norm_shift'

collect2: ld returned 1 exit status

<unrelated>
There is some x86 asm in libavcodec/cabac.h
Isn't x86 asm supposed to live in the i386 directory?
</unrelated>

Is the configure line I used unsupported ?

--disable-parser=h264 seems to be an appropriate work around.

Regards.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to