EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
想利用ARM移植vlc库,实现播放mp4文件,哪位大神做过……
5 @- V# ~7 d% P
, K) Q. d; e' V# i8 a- M, {/ u: ^" x# a- @6 N& l3 }" @
最新移植问题 一:
5 l+ G2 p$ @4 T1 h/usr/bin/ld: ./.libs/libunzip.a(unzip.o): relocation R_ARM_THM_MOVW_ABS_NC against `__stack_chk_guard' can not be used when making a shared object; recompile with -fPIC
& v: H4 J8 h% a6 E./.libs/libunzip.a(unzip.o): error adding symbols: Bad value
' m* d- p- |& \/ Icollect2: error: ld returned 1 exit status
3 O" y1 w" r0 U, M! @) \
最新移植问题 二: 9 p/ I W* w* y% X# v5 G3 l1 j, b, l' n
现在是在x86架构的ubuntu12.04 64bit上编译的vlc,编译了依赖库,但编译vlc库到最后,报如下错误
$ U9 p) B# x) _. a& l m+ C; n1 u+ w
# ~6 w, U0 f% D( L
% I: h; D& U: Q+ w! A- F% u2 e3 V! v
最新移植问题三:使用arm-linux-gnueabi-gcc编译vlc2.2.0,使用之前编译的依赖库,并增了x264
( b4 H; b4 c% h3 ]' ^: N( A7 j9 |configure配置如下:
3 P" O; t+ X5 U' E( t./configure --prefix=/opt/vlc2.2.0-arm --host=arm-linux-gnueabi --disable-lua --enable-mad --with-mad=/opt/vlc-arm-dep/libmad --disable-avcodec --disable-swscale --disable-a52 --disable-glx --disable-libgcrypt --enable-x264 --with-x264-tree=/opt/vlc-arm-dep/x264-r
- N0 g5 c, K' o) |错误如下: % e4 {$ ^8 h% i3 o
; f! }) S4 B1 \- z' H/ k( d% s
vlc库已经成功编译并移植到arm开发板上,能够运行,但播放视频闪退、播放视频时,命令窗口结果:8 i4 q+ b! [3 V; H0 @
0 L* C2 J5 w* m8 X
: O" |; d/ s! n; J1 G! q
; `. n+ {" w+ L* O! y4 R, t9 r
0 S$ L: t) h; F. H8 [6 i2 d
' ^. y0 H, n+ Q- Y% A; E0 W5 o |