最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

mplayer configure

工作和技术 crifan 1795浏览 0评论

编译MPlayer:

1.先去配置必须的一些参数:

./configure –prefix=/usr –confdir=/etc –target=arm-linux –host-cc=/usr/bin/gcc –cc=/mnt/buildroot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc –as=/mnt/buildroot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-as –with-extraincdir=/mnt/buildroot/buildroot/build_arm/staging_dir/usr/include –with-extralibdir=/mnt/buildroot/buildroot/build_arm/staging_dir/lib –enable-mad –enable-fbdev –disable-big-endian –disable-mpdvdkit –disable-tv –enable-dynamic-plugins –disable-armv5te

最近发现,对于MPlayer-1.0rc2,上面配置以前是可以用的,但是现在却不能用了,显示–disable-mpdvdkit不支持。所以,去掉–disable-mpdvdkit,就可以了:

./configure –prefix=/usr –confdir=/etc –target=arm-linux –host-cc=/usr/bin/gcc –cc=/mnt/buildroot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc –as=/mnt/buildroot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-as –with-extraincdir=/mnt/buildroot/buildroot/build_arm/staging_dir/usr/include –with-extralibdir=/mnt/buildroot/buildroot/build_arm/staging_dir/lib –enable-mad –enable-fbdev –disable-big-endian   –disable-tv –enable-dynamic-plugins –disable-armv5te

最新的,交叉编译器路径改了之后的:

./configure –prefix=/usr –confdir=/etc –target=arm-linux –host-cc=/usr/bin/gcc –cc=/root/buildroot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc –as=/root/buildroot/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-as –with-extraincdir=/root/buildroot/buildroot/build_arm/staging_dir/usr/include –with-extralibdir=/root/buildroot/buildroot/build_arm/staging_dir/lib –enable-mad –enable-fbdev –disable-big-endian   –disable-tv –enable-dynamic-plugins –disable-armv5te

其中,gcc等路径,要改成你当前的交叉编译所在具体路径。

2.直接make即可。

附录:

when you got : MPlayer interrupted by signal 4 in module: decode_video while running mplayer

Q:

MPlayer dies with

MPlayer interrupted by signal 4 in module: decode_video
A:

Don’t use MPlayer on a CPU different from the one it was compiled on or recompile with runtime CPU detection (./configure –enable-runtime-cpudetection).

in my case ,when I compile the mplayer for armv4 ,then I only pass the –disable-armv5

to ./configure ,but it still has a optin is

–enable-armv6            enable ARMv6 (ARM) [autodetect]

when I not desinate it .It auto enable the armv6 ,so cannot run the mplayer in armv4 .

so pass –disable-armv6 to ./configure then re-make it .

转载请注明:在路上 » mplayer configure

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
79 queries in 0.172 seconds, using 22.09MB memory