mplayer cross compile 5

# !/bin/sh
ARGS=
#ARGS="$ARGS --cc=arm-linux-gcc"
ARGS="$ARGS --cc=arm_v5t_le-gcc"
ARGS="$ARGS --host-cc=gcc"
#ARGS="$ARGS --target=arm-linux"
ARGS="$ARGS --enable-cross-compile"
ARGS="$ARGS --enable-static"
ARGS="$ARGS --disable-libmpeg2"
ARGS="$ARGS --disable-freetype"
ARGS="$ARGS --disable-mencoder"
#ARGS="$ARGS --disable-decoder=libavcodec"
#ARGS="$ARGS --disable-demuxer=libmpdemux"
#ARGS="$ARGS --disable-libavcodec_a"
#ARGS="$ARGS --disable-libavcodec_so"
#ARGS="$ARGS --disable-libmpdemux"
#ARGS="$ARGS --disable-libmpdemux_so"
#ARGS="$ARGS --disable-libavformat_a"
#ARGS="$ARGS --disable-libavformat_so"
#ARGS="$ARGS --disable-win32"
ARGS="$ARGS --disable-dvdnav"
#ARGS="$ARGS --disable-streaming"
ARGS="$ARGS --disable-dvdread"
#ARGS="$ARGS --enable-fbdev"
ARGS="$ARGS --disable-fastmemcpy"
ARGS="$ARGS --enable-debug=1"
ARGS="$ARGS --disable-vidix"

echo "./configure $ARGS"
./configure $ARGS
#./configure --cc=arm-elf-gcc --host-cc=gcc --target=arm-linux

 

[frank@ashima mplayer_svn]$ make
arm_v5t_le-gcc -Wundef -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99 -W -Wall -O2   -pipe -g1  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I.  -D_REENTRANT    -c -o cpudetect.o cpudetect.c
cpudetect.c: In function `GetCpuFriendlyName':
cpudetect.c:241: warning: comparison between signed and unsigned
cpudetect.c: In function `sigill_handler_sse':
cpudetect.c:265: error: structure has no member named `eip'
cpudetect.c: At top level:
cpudetect.c:224: warning: unused parameter 'regs2'
cpudetect.c:251: warning: unused parameter 'signal'

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值