[MPlayer-users] Compilation with 2.6.0-test6 kernel
Iñigo Lopez Barranco
ilopez at albatros-sl.es
Fri Oct 3 12:37:06 CEST 2003
Hi. I'm trying to compile Mplayer 1.0pre1 with a vanilla kernel 2.6.0-test6, but it fails when compiling vo_mga.c. Is it possible to compile this version of MPlayer with this kernel?
This is the message I get:
gcc -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/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:436: invalid type argument of `->'
/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)
/usr/include/linux/spinlock.h:451: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:451: for each function it appears in.)
/usr/include/linux/spinlock.h: In function `bit_spin_is_locked':
/usr/include/linux/spinlock.h:462: invalid type argument of `->'
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 `/downloads/mplayer-1.0pre1/libvo'
make: *** [libvo/libvo.a] Error 2
And these are the configuration options:
Byte order: Little Endian
Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr
Languages:
Messages/GUI: en
Manual pages: en (no localization selected, use --language=all)
Enabled optional drivers:
Input: ftp network tv-v4l2 edl tv cdda mpdvdkit2 vcd smb
Codecs: qtx divx5linux xvid libavcodec real xanim dshow/dmo win32 faad2 libvorbis libmad gif
Audio output: esd oss sdl mpegpes(dvb)
Video output: xvidix sdl vesa gif89a jpeg png mpegpes(dvb) fbdev svga aa xmga mga opengl dga xv x11 xover tga
Disabled optional drivers:
Input: tv-v4l tv-bsdbt848 live.com matroska dvdread dvdcss
Codecs: divx4linux libdv libtheora liblzo
Audio output: sgi sun alsa arts dxr2 nas win32 macosx
Video output: bl zr dxr3 dxr2 directx ggi xvmc directfb tdfx_vid tdfxfb 3dfx
Thanks in advance
More information about the MPlayer-users
mailing list