Problems encountered during mplayer compilation in kernel2.6.24 or later versions and Solutions

Source: Internet
Author: User
Problems encountered during mplayer compilation in kernel2.6.24 or later versions and solutions-Linux general technology-Linux programming and kernel information. For details, refer to the following. The fatal problem in compiling mplayer rc1.2 on kernel2.6.24 is that the ivtv section compilation error occurs because the kernel of kernel = 2.6.24 already contains ivtv. Therefore, every compilation of mplayer fails.

The specific solution is: the source code in the-echocheck "ivtv TV-Out" section of the shell file configure in the vi mplayer directory.
CODE:-echocheck "ivtv TV-Out"
+ Echocheck "ivtv TV-Out (pre linux-2.6.24 )"
If test "$ _ ivtv" = auto; then
Cat> $ TMPC <EOF
# Include
@-4935,7 + 4935,13 @ if test "$ _ ivtv" = auto; then
# Include
# Include
# Include
-Int main (void) {return 0 ;}
+ # Include
+ Int main (void ){
+ Struct ivtv_cfg_stop_decode sd;
+ Struct ivtv_cfg_start_decode sd1;
+ Ioctl (0, IVTV_IOC_START_DECODE, & sd1 );
+ Ioctl (0, IVTV_IOC_STOP_DECODE, & sd );
+ Return 0 ;}
EOF
_ Ivtv = no
Cc_check & _ ivtv = yes
Related Article

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.