[Libav-user] Build of ffmpeg library with libx264 support for QNX

Ramu Chakravadhanula boys21century at gmail.com
Thu Jul 4 07:25:19 CEST 2013


i guess it could be linker problem. can you post the command line
statement, so that anyone can help if you are not pointing to right
libraries.

/R

On 3 July 2013 23:49, Pavel Vazharov <pvazharov at abaltatech.com> wrote:

> Hello,
>
> I'm trying to build the ffmpege library with libx264 support for QNX.
>
> I'm using the following configure script:
>
> ./configure \
>         --arch=x86 \
>         --disable-debug \
>     --enable-static \
>     --disable-shared \
>     --target-os=qnx \
>     --disable-programs \
>     --disable-ffplay \
>     --disable-ffprobe \
>     --disable-ffserver \
>     --disable-yasm \
>     --disable-altivec \
>     --disable-mmxext \
>     --disable-inline-asm \
>     --disable-doc \
>     --disable-postproc \
>     --prefix=./target/QNX/x86 \
>     --enable-gpl \
>     --disable-everything \
>     --enable-encoder=libx264 \
>     --enable-decoder=h264 \
>     --enable-muxer=h264 \
>     --enable-demuxer=h264 \
>     --enable-parser=h264 \
>     --disable-dxva2 \
>         --disable-vda  \
>         --disable-vdpau \
>         --disable-protocols \
>     --disable-mipsfpu \
>     --enable-libx264 \
>     --extra-cflags="-I../x264 -Wno-deprecated
> -Wno-deprecated-declarations" \
>     --extra-ldflags="-L../x264"
>
> The library builds fine but the problem is that when I try to link again
> libavcodec.a in my application I get undefined references for symbols such
> as:
>
> libavcodec.a(h264.o): In function `ff_h264_decode_init':
> h264.c:(.text.unlikely+0xc6): undefined reference to `ff_h264dsp_init'
> h264.c:(.text.unlikely+0x109): undefined reference to `ff_h264chroma_init'
> h264.c:(.text.unlikely+0x119): undefined reference to `ff_h264qpel_init'
> h264.c:(.text.unlikely+0x12e): undefined reference to `ff_h264_pred_init'
> h264.c:(.text.unlikely+0x150): undefined reference to `ff_videodsp_init'
> C:\DataDisk\Project\AbaltaInternal\..\AbaltaInternal\WebLink/ThirdPartyTools/ffmpeg/lib/QNX/x86\libavcodec.a(h264_cavlc.o):
> In function `get_ue_golomb_31':
> h264_cavlc.c:(.text+0x151c): undefined reference to `ff_golomb_vlc_len'
> h264_cavlc.c:(.text+0x152a): undefined reference to `ff_ue_golomb_vlc_code'
>
> I don't know how to force the .c files with these functions to be build
> and to be added in the final library. I mean I don't know the configure
> options that breaks this.
>
> Can anyone help me with this. Thanks in advance.
>
> Best regards,
> Pavel.
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130704/50d7a955/attachment.html>


More information about the Libav-user mailing list