Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99012 - Mplayer failure to compile - files in /usr/src/linux/include/*
Summary: Mplayer failure to compile - files in /usr/src/linux/include/*
Status: RESOLVED DUPLICATE of bug 88023
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 07:45 UTC by Bill Thompson
Modified: 2005-07-14 07:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Thompson 2005-07-14 07:45:13 UTC
Upgraded to linux headers 2.6.8.1-r4 and re-emerged glibc 2.3.4.20041102-r1.
Mplayer-1.0-pre6-r4 failed to compile - 
complaining about /usr/src/linux/include/asm/byteorder.h:57
                  /usr/src/linux/include/linux/cdrom.h:14
                  vcd_read.h:7
                  stream.vcd.c:25

Reproducible: Always
Steps to Reproduce:
1.emerge mplayer
2.
3.

Actual Results:  
Error messages as below.Failed to compile

Expected Results:  
Should have compiled without error.

In file included from /usr/src/linux/include/asm/byteorder.h:57,
                 from /usr/src/linux/include/linux/cdrom.h:14,
                 from vcd_read.h:7,
                 from stream_vcd.c:25:
/usr/src/linux/include/linux/byteorder/little_endian.h:43: error: syntax error b
efore "__cpu_to_le64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le
64p':
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: `__le64' undec
lared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: (Each undeclar
ed identifier is reported only once
/usr/src/linux/include/linux/byteorder/little_endian.h:45: error: for each funct
ion it appears in.)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:47: error: syntax error b
efore '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le64_to_c
pup':
/usr/src/linux/include/linux/byteorder/little_endian.h:49: error: `p' undeclared
 (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:51: error: syntax error b
efore "__cpu_to_le32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le
32p':
/usr/src/linux/include/linux/byteorder/little_endian.h:53: error: `__le32' undec
lared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:55: error: syntax error b
efore '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le32_to_c
pup':
/usr/src/linux/include/linux/byteorder/little_endian.h:57: error: `p' undeclared
 (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:59: error: syntax error b
efore "__cpu_to_le16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le
16p':
/usr/src/linux/include/linux/byteorder/little_endian.h:61: error: `__le16' undec
lared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:63: error: syntax error b
efore '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le16_to_c
pup':
/usr/src/linux/include/linux/byteorder/little_endian.h:65: error: `p' undeclared
 (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:67: error: syntax error b
efore "__cpu_to_be64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be
64p':
/usr/src/linux/include/linux/byteorder/little_endian.h:69: error: `__be64' undec
lared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:69: error: syntax error b
efore "__swab64p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:71: error: syntax error b
efore '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be64_to_c
pup':
/usr/src/linux/include/linux/byteorder/little_endian.h:73: error: `p' undeclared
 (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:75: error: syntax error b
efore "__cpu_to_be32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be
32p':
/usr/src/linux/include/linux/byteorder/little_endian.h:77: error: `__be32' undec
lared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:77: error: syntax error b
efore "__swab32p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:79: error: syntax error b
efore '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be32_to_c
pup':
/usr/src/linux/include/linux/byteorder/little_endian.h:81: error: `p' undeclared
 (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:83: error: syntax error b
efore "__cpu_to_be16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be
16p':
/usr/src/linux/include/linux/byteorder/little_endian.h:85: error: `__be16' undec
lared (first use in this function)
/usr/src/linux/include/linux/byteorder/little_endian.h:85: error: syntax error b
efore "__swab16p"
/usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
/usr/src/linux/include/linux/byteorder/little_endian.h:87: error: syntax error b
efore '*' token
/usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be16_to_c
pup':
/usr/src/linux/include/linux/byteorder/little_endian.h:89: error: `p' undeclared
 (first use in this function)
make[1]: *** [stream_vcd.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.
0pre6a/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre6-r4 failed.
!!! Function src_compile, Line 509, Exitcode 2
!!! Failed to build MPlayer

[emerge info]

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.
20041102-r1, 2.6.9-gentoo-r12 i686)
=================================================================
System uname: 2.6.9-gentoo-r12 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
s/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips
/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config
/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
LINGUAS="en fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts audiofile avi berkdb bidi bitmap-fonts bzlib cdr 
crypt cups curl divx4linux dvb dvd dvdr emboss encode esd exif fam fdftk fftw fl
ac foomaticdb fortran ftp gb gd gdbm ggi gif gnome gpm gps gstreamer gtk gtk2 gt
khtml imagemagick imlib ipv6 jack java jpeg junit kde lcms libg++ libwww mad mik
mod motif mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis openal opengl 
oss pam pda pdflib perl php png portaudio postgres python qt quicktime readline 
ruby scanner sdl slang sndfile sockets spell ssl svg svga szip tcltk tcpd tetex 
theora tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis wxwind
ows xine xinerama xml xml2 xmms xpm xv xvid zlib linguas_en linguas_fr userland_
GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS


emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] media-video/mplayer-1.0_pre6-r4 [1.0_pre5-r5] -3dfx 
+3dnow* +3dnowext* +X +aalib* +alsa (-altivec) +arts +avi +bidi 
+cdparanoia* -debug -dga -directfb +divx4linux -doc +dts* -dv +dvb +dvd 
+dvdread* -edl +encode +esd -fbcon +ggi +gif +gtk -i8x0 +ipv6 +jack 
-joystick +jpeg +libcaca* -lirc +live* -lzo +mad +matroska* -matrox 
+mmx* +mmxext* +mpeg -mythtv -nas +nls +nvidia +oggvorbis +opengl +oss 
+png -real -rtc -samba +sdl +sse* -sse2 +svga -tga +theora +truetype 
+v4l* +v4l2* +xanim* +xinerama +xmms +xv +xvid +xvmc* 0 kB
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-14 07:54:55 UTC

*** This bug has been marked as a duplicate of 88023 ***