[MPlayer-users] Compile with new kernel
Janos Makadi
maki at freemail.hu
Thu Jul 31 17:19:24 CEST 2003
Hello,
Sorry for not replaying to the letter, but I'm reading the list in digest.
So, it doesn't matter if the /usr/src/linux is a link or not. The
building process produce the same result. (Could you drop me a mail to
desribe, what's the difference beetween a link and a directory in this
point?)
If I change the "fbdev" directive in the configuration script to "no",
(default is "auto") the build process finish without error.
I found it happens with 0.90 and the last cvs version too.
Here is the build log:
make -C libvo
make[1]: Entering directory `/root/install/MPlayer-0.90/libvo'
gcc -c -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -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/fb.h:5,
from vo_fbdev.c:23:
/usr/include/linux/workqueue.h:15: error: field `entry' has incomplete type
/usr/include/linux/workqueue.h:19: error: field `timer' has incomplete type
In file included from vo_fbdev.c:23:
/usr/include/linux/fb.h:344: error: parse error before "spinlock_t"
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/root/install/MPlayer-0.90/libvo'
make: *** [libvo/libvo.a] Error 2
There was more error, because of including the the kernel headers
directly, (u8 type undeclared) but I solved that.
THX
Janos Makadi
More information about the MPlayer-users
mailing list