[MPlayer-users] mplayer wont compile on my 2.6 kernel
Irakli Tsagareli
itsagareli at mail.ru
Fri Dec 26 13:25:16 CET 2003
Hello people !!
I just compiled fresh 2.6.0 kernel and tried to compile latest CVS mplayer source, but it stops compilation with errors. below is last few lines of compiler output. system is ASPLinux 9. kernel is vanilla 2.6.0 from kernel.org with PREEMPT enabled (I noted it here because most of errors are near usage of function "preempt_disable()" in /usr/include/linux/spinlock.h), GCC is 3.3.2. after compiling kernel I have correctly created links /usr/include/linux and /usr/include/asm and some others (asm-i386, asm-generic, etc)
cc -c -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -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:588: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: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:436: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/spinlock.h:451: error: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:451: error: for each function it appears in.)
/usr/include/linux/spinlock.h: In function `bit_spin_is_locked':
/usr/include/linux/spinlock.h:462: error: invalid type argument of `->'
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: error: field `entry' has incomplete type
In file included from /usr/include/linux/fb.h:5,
from vo_fbdev.c:21:
/usr/include/linux/workqueue.h:15: error: field `entry' has incomplete type
In file included from vo_fbdev.c:21:
/usr/include/linux/fb.h:342: error: parse error before '*' token
/usr/include/linux/fb.h:346: error: parse error before '}' token
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/opt/shared/sources/main/libvo'
make: *** [libvo/libvo.a] Error 2
can anybody help me?
thank you..
More information about the MPlayer-users
mailing list