mplayer


mplayer 설치 시,

libmpcodecs/ve_x264.c: In function 'put_image':
libmpcodecs/ve_x264.c:239: error: implicit declaration of function 'x264_picture_init'
libmpcodecs/ve_x264.c:249: error: 'X264_TYPE_KEYFRAME' undeclared (first use in this function)
libmpcodecs/ve_x264.c:249: error: (Each undeclared identifier is reported only once
libmpcodecs/ve_x264.c:249: error: for each function it appears in.)

이런 에러가 났다.

gcc 버전이 낮아서 나는 문제라고 해서 4.4.7 설치하는데 아래와 같은 에러 발견..  -> 버젼을 올려도 해결이 안됨.. 멘붕
gcc 빌드를 위해서는 mpfr, gmp 의 일정 이상 버전의 설치가 필요했다.
둘다 설치를 분명 했는데..

configure: error: cannot compute suffix of object files: cannot compile

이런 에러가 떨어졌다. config.log를 보아하니, libgmp.so, libmpfr.so를 못찾는 다는 에러가 뙇.

두개 다 #./configure --enable-shared 로 다시 설치했더니 
gcc는 제대로 make 진행중.. 이다가 또 에러 났다..
아래처럼 상위에 디렉토리를 하나 만들고 설치하니 잘 되었다.!!! 우왕 ㅠㅠ
After that, make a directory outside the GCC source directory, for example:
$ ls
./   ../    gcc-src-dir/
$ mkdir gcc-obj-dir
$ cd gcc-obj-dir
$ ../gcc-src-dir/configure
...
$ make
...
and so on.




===========================
ERROR: mplayer cfg-common.h error initializer element is not constant

cat /etc/readhat-release  => CentOS release 6.4(Final)
ffmpeg --version => 0.9.1
mplayer --version => mplayer-export-snapshot.tar.bz2 (1.1.1)



댓글