[질문]mplayer 소스 rpm 설치하다 에러가 납니다.
cc -c -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DMPG12PLAY -o vo_fbdev.o vo_fbdev.c
In file included from /usr/include/linux/timer.h:5,
from /usr/include/linux/workqueue.h:8,
from /usr/include/linux/fb.h:5,
from vo_fbdev.c:21:
/usr/include/linux/list.h:594:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/timer.h:6,
from /usr/include/linux/workqueue.h:8,
from /usr/include/linux/fb.h:5,
from vo_fbdev.c:21:
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:430: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/spinlock.h:433: (Each undeclared identifier is reported only
once
/usr/include/linux/spinlock.h:433: for each function it appears in.)
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/linux/workqueue.h:8,
from /usr/include/linux/fb.h:5,
from vo_fbdev.c:21:
/usr/include/linux/timer.h: At top level:
/usr/include/linux/timer.h:11: field `entry' has incomplete type
/usr/include/linux/timer.h:43: confused by earlier errors, bailing out
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/MPlayer-1.0pre3/libvo'
make: *** [libvo/libvo.a] 오류 2
[root@localhost MPlayer-1.0pre3]#
----------
위와 같은 에러가 발생하는군요..
사용하는 버전은 레뎃 9.0이구요.. 그놈 설정을 했습니다.
mplayer-1.0pre3 source rpm 이구요
커널은 2.6.1 입니다.
프레임 버퍼 사용을 하도록 커널에 포함을 시켰습니다.
댓글 달기