gcc -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. -I. . -I/usr/include/freetype2 -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 -DVIDIX_PATH='"/usr/local/lib/mplayer/vidix/"' -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:20: /usr/include/linux/list.h:576: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:20: /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:430: error: invalid type argument of `->' /usr/include/linux/spinlock.h:433: error: invalid type argument of `->' /usr/include/linux/spinlock.h:433: error: `TIF_NEED_RESCHED' undeclared (first use in this function) /usr/include/linux/spinlock.h:433: error: (Each undeclared identifier is reported only once /usr/include/linux/spinlock.h:433: error: for each function it appears in.) /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) In file included from /usr/include/linux/workqueue.h:8, from /usr/include/linux/fb.h:5, from vo_fbdev.c:20: /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:20: /usr/include/linux/workqueue.h:15: error: field `entry' has incomplete type In file included from vo_fbdev.c:20: /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 `/root/mplayer/MPlayer-1.0pre2/libvo' make: *** [libvo/libvo.a] Error 2