Linux cross-compiling Windows version FFmpeg

Source: Internet
Author: User

Main reference http://www.cnblogs.com/haibindev/archive/2011/12/01/2270126.html

There was a problem compiling LIBFAAC on my machine. Output is as follows

.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x1e7): Undefined reference to ' maxbitrate '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x60d): Undefined reference to ' Getsrindex '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x795): Undefined reference to ' GETMAXPREDSFB '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x7fe): Undefined reference to ' fft_initialize '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x912): Undefined reference to ' fft_terminate '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0xaac): Undefined reference to ' Getchannelinfo '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x138f): Undefined reference to ' Msencode '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x14f6): Undefined reference to ' msreconstruct '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x1637): Undefined reference to ' Msencode '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x164b): Undefined reference to ' msreconstruct '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x189f): Undefined reference to ' Msencode '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x18bb): Undefined reference to ' msreconstruct '
.. /LIBFAAC/.LIBS/LIBFAAC.A (PSYCHKNI.O):p sychkni.c: (. text+0x4f9): Undefined reference to ' Rfft '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FILTBANK.O): filtbank.c: (. text+0x342): Undefined reference to ' FFT '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FILTBANK.O): filtbank.c: (. text+0x45e): Undefined reference to ' FFT '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FILTBANK.O): filtbank.c: (. text+0x6b0): Undefined reference to ' Ffti '
.. /LIBFAAC/.LIBS/LIBFAAC.A (FILTBANK.O): filtbank.c: (. text+0x74e): Undefined reference to ' Ffti '

This is because the original text is missing a step directly

./configure--host=i686-w64-mingw32--prefix=/home/haibindev/opensdk--enable-static--disable-shared--with-mp4v2= No

You actually need to run the LIBFAAC directory first./bootstrap

If you are prompted for something that is not found, use the sudo apt-get install and

And then run the configure above to make it normal.

Linux cross-compiling Windows version FFmpeg

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.