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 |