Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128481 - mplayer: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
Summary: mplayer: #error "Must include <inttypes.h> or <stdint.h> before any libdvdrea...
Status: RESOLVED DUPLICATE of bug 127901
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-02 01:02 UTC by Martin Parm
Modified: 2006-04-02 01:09 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 Martin Parm 2006-04-02 01:02:54 UTC
mplayer fails to build with libdvdread support. I get the following error:

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.. -I../loader    -I../libavutil -I../libavcodec -I../libavformat    -I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include -I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/groupsock/include -o demux_rtp.o demux_rtp.cpp
In file included from stream.h:290,
                 from demux_rtp.h:8,
                 from demux_rtp.cpp:9:
/usr/include/dvdread/ifo_types.h:32:2: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0.20060302/work/mplayer-1.0.20060302/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

I have tried with the following combinations:
libdvdread-0.9.5 + mplayer-1.0.20060217
libdvdread-0.9.5-r1 + mplayer-1.0.20060217
libdvdread-0.9.5-r1 + mplayer-1.0.20060302


# emerge --info
Portage 2.0.54 (!/usr/local/portage/profiles/default-linux/x86/2006.0/DIKU/workstation, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.diku.dk/ http://www.ibiblio.org/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.diku.dk/gentoo-portage/"
USE="X alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cjk cli crypt ctype cups curl dba dri eds elibc_glibc emacs emboss encode esd exif expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 jpeg kde kernel_linux lcms ldap libg++ libwww mad maildir matroska mbox memlimit mikmod mmx mng motif mp3 mpeg ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sasl sdl session simplexml slang soap sockets spell spl sse sse2 ssl tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vorbis x86 xinerama xml xml2 xmms xsl xv xvid zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS


(the non-standard profile is simply a cascading profile which adds some packages to the 2006.0 profile)


# grep mplayer /etc/portage/package.use 
media-video/mplayer aac bidi cdparanoia dv dvd dvdread edl live lzo mmxext musepack tga win32codecs xanim
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 01:09:26 UTC

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