[MPlayer-users] Issues with linux kernel 2.6.0 and fb.h

Benjamin Pineau mlben at zouh.org
Fri Aug 29 12:53:51 CEST 2003


hi

Juste to report an issue while compilling latest cvs (from today)
against kernel 2.6.0-test4 (which, you know, introduces many changes 
in framebuffer, threading and preamption).

Here's the pertinent make output:

make -C libvo
make[1]: Entering directory `/tmp/mplayer-cvs-20030829/libvo'
gcc -c -O2 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.
-I.. -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
-I/usr/include/SDL -D_REENTRANT -I/usr/X11/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include   -DMPG12PLAY
-DVIDIX_PATH='"/usr/local/lib/mplayer/vidix/"' -o vo_mga.o vo_mga.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_mga.c:17:
/usr/include/linux/list.h:563: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_mga.c:17:
/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_mga.c:17:
/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_mga.o] Error 1
make[1]: Leaving directory `/tmp/mplayer-cvs-20030806/libvo'
make: *** [libvo/libvo.a] Error 2


-- 
b



More information about the MPlayer-users mailing list