[MPlayer-dev-eng] vo_fbdev does not compile with debian unstable kernel headers

Marcus Thiesen marcus at thiesenweb.de
Fri Oct 31 20:19:01 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I did a dist upgrade yesterday and got a new debian unstable kernel headers 
package which seems to be from 2.6.0-test7:

Package: linux-kernel-headers
Versions:
2.5.999-test7-bk-5(/var/lib/apt/lists/
ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages)(/var/lib/
dpkg/status)

Reverse Depends:
  libc6-dev,linux-kernel-headers
Dependencies:
2.5.999-test7-bk-5 - libc6-dev (3 2.3.2.ds1-6) libc6.1-dev (3 2.3.2.ds1-6) 
libc6-dev (3 2.3.2.ds1-6) libc6.1-dev (3 2.3.2.ds1-6)
Provides:
2.5.999-test7-bk-5 -

I'm actually using test9, but mplayer uses the /usr/include files. This leads 
to following compile error in MPlayer CVS from 5 minutes ago:

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 `/var/tmp/mplayer-cvs/main/libvo'
make: *** [libvo/libvo.a] Error 2

Have fun,
	Marcus

- -- 
- ---------------------------------------------------------
|Marcus Thiesen                           ICQ# 108989768|
- ---------------------------------------------------------
|                   www.thiesenweb.de                   |
- ---------------------------------------------------------
  28A7 37CC AE2C BB6C D56D  8A3D E614 E56B 7546 75F2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/orWs5hTla3VGdfIRAgucAJ9PeQPyGSqLaf04LawztT4N9IGSNgCfVrL+
6fn5QZ8Cc6Qx0aAIK1+raM0=
=Y8ap
-----END PGP SIGNATURE-----



More information about the MPlayer-dev-eng mailing list