[MPlayer-users] MPlayer-1.0pre2 compiling error (fbdev?)
Renaud Desarzens
rde_lists at desarzens.ch
Wed Nov 5 17:35:17 CET 2003
Hi all
I'm quite new to linux. I believe I've read all the necessary docs that
might help, googled around and searched the mailing list archives to
find something useful... The only thing I've found was to configure
mplayer using the --disable-fbdev option which then compiled fine. But
unfortunately I want to have fbdev being enabled.
I apologize, if this is something easy... but I'm really stuck with it.
So here I go:
Trying to compile MPplayer-1.0pre2 like this (nothing special, I think):
./configure --enable-gui --enable-largefiles --enable-menu >
/tmp/confLog.txt
make > /tmp/makeLog.txt
make install
Configuration seems to go well, can't figure out any problems here. But
compilation itself runs maybe 1-2 minute, then stops issueing the
following (copy & pasted from console):
(snip)
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
(/snip)
I'm running:
- Debian Mini Woody with selfcompiled Kernel 2.4.22
- Athlon XP 2600 nforce2 mobo
and managed already to get onboard lan & sound working as well as my GF4
MX440 AGP8x graphics card (yeah!).
Before I started to setup mplayer, I also installed/upgraded some
packages (maybe not all were necessary):
- make (3.80)
- binutils (2.14.90)
- libgtk1.2-dev
- libpng12-0
- libpng12-dev
- libjpeg-progs
- lame
- libvorbis0
- libvorbis0-dev
- cdparanoia
- libc6
I also already tried to compile with GCC 2.95.4 and (after having
installed it) with GCC 3.3.2, no changes... same error.
The only thing I can think about is: do I have to upgrade my xfree86
(4.1.0) to a newer release?
Thanks a lot in advance for any hints/tips that might help to compile
with fbdev enabled!
Renaud
More information about the MPlayer-users
mailing list