mplayer fails when compiling with lrmi, I thought this error was caused by lrmi not installed, but my thaught was wrong.. make -C osdep make[1]: Entering directory `/var/tmp/portage/mplayer-1.0_pre6/work/MPlayer-1.0pre6/osdep' cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o shmem.o shmem.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o strsep.o strsep.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o strl.o strl.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o vsscanf.o vsscanf.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o scandir.o scandir.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o gettimeofday.o gettimeofday.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o fseeko.o fseeko.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o swab.o swab.c cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -march=i686 -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o lrmi.o lrmi.c lrmi.c:195: error: conflicting types for 'set_bit' /usr/include/asm/bitops.h:38: error: previous definition of 'set_bit' was here make[1]: *** [lrmi.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6/work/MPlayer-1.0pre6/osdep' make: *** [osdep/libosdep.a] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge mplayer 2. 3. Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686) ================================================================= System uname: 2.6.10-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 02:42:32)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://gentoo.osuosl.org" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl acpi alsa apm arts avi berkdb bitmap-fonts cdr chroot crypt cups dvd dvdr encode esd evo fam flac foomaticdb fortran gdbm geoip gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl imlib ipv6 jack javascript jpeg kde kerberos ldap libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline real samba sdl sftplogging spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv xvid zlib"
Same error on mplayer-1.0_pre5-r5.
And on mplayer-1.0_pre5-r2. What is causing this?
Try -r2 of linux26 hearders. This looks like a kernel headers issue than anything else, and I just updated the local cvs repository and noticed an -r2 upgrade there. If that doesn't work, then I'll attach the maintainer here.
Just tested them out, and voila, it worked! Running pre6 now. Thanks.
Alright then, the fix is upgrading os-headers, please make sure you have -r2 at least.