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: #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 !!! ERROR: media-video/mplayer-1.0.20060302 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile mplayer-1.0.20060302.ebuild, line 478: Called die Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.14-nitro2 i686) ================================================================= System uname: 2.6.14-nitro2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.91.0.7 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups dri dvd dvdread eds emboss encode firefox flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java joystick jpeg kdeenablefinal libg++ libwww live mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis openal opengl pam pdflib perl pic png python quicktime readline real samba sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_fglrx video_cards_vesa video_cards_fbdev video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
*** Bug 127904 has been marked as a duplicate of this bug. ***
*** Bug 127909 has been marked as a duplicate of this bug. ***
*** Bug 127905 has been marked as a duplicate of this bug. ***
*** Bug 127910 has been marked as a duplicate of this bug. ***
*** Bug 127913 has been marked as a duplicate of this bug. ***
*** Bug 127920 has been marked as a duplicate of this bug. ***
*** Bug 127922 has been marked as a duplicate of this bug. ***
*** Bug 127923 has been marked as a duplicate of this bug. ***
I know this probably doesn't help, and it doesn't fix things totally, but removing the "live" use flag fixed to installation in my case. I tried to fix this, but I'm a below-novice coder, so I could figure out what to do, but I should point out that KMediaFactory had a similar problem, and was able to fix it. If you know of a good coder, you might try to have them take a look at that. Compare the KMF release version with the snapshot. (Specifically, the kmf_stddef.h file).
sorry for the last post: it should read "I couldn't figure out what to do." best of luck, adam.
a better workaround: -dvdread the builtin one should be fine
Created attachment 83368 [details, diff] dvdread-header-fix.patch patch, seems to work
Created attachment 83369 [details, diff] dvdread-header-fix.patch sorry, wrong one. This fixes it.
I second it. The dvdread-header patch that ed submitted works very nicely. so now i can use the "dvdread" use flag again. thank you kindly, adam
*** Bug 128047 has been marked as a duplicate of this bug. ***
I am a newbie. If someone would tell me howto use Ed Catmur's patch or point me to a website that has info on using patch files, I will also use it and confirm that it works.
(In reply to comment #16) > I am a newbie. If someone would tell me howto use Ed Catmur's patch or point me > to a website that has info on using patch files, I will also use it and confirm > that it works. > Here is the way I did it. There's many ways, but this requires the least explanation. Download the dvdread-header-fix.patch and put it into your "/usr/portage/media-video/mplayer/files/" folder. Then, edit the ebuild (you may have a different 1.0.2006... number depending on what packages you have masked) for the version you're going to install (let's assume you're using mplayer-1.0.20060302. This ebuild will be in the "/usr/portage/media-video/mplayer/" folder. Go down to about line 167 or so, and you will see a line that reads "use sparc && sed . . .". After this line, insert the code: epatch "${FILESDIR}/dvdread-header-fix.patch" and save the file. After this, type: ebuild /usr/portage/media-video/mplayer/mplayer-1.0.20060302.ebuild digest and wait for it to get done with that operation. That's it! Now emerge the mplayer version you edited, and you should have a nicely working piece of software. If you have any particular questions about my instructions above, feel free to ask. If you want to learn about portage overlays and such, which can help you install programs that won't revert back to the original when you emerge --sync, search the gentoo website. So take note: after you make these changes, the next time you sync your portage tree, your changes will be lost, and you'll have to redo everything. best of luck, adam p.s. In case I didn't mention earlier, this patch works on my P4 x86 2005.1 system.
*** Bug 128236 has been marked as a duplicate of this bug. ***
workaround added. Thanks for the reports.
*** Bug 128481 has been marked as a duplicate of this bug. ***
*** Bug 128510 has been marked as a duplicate of this bug. ***
*** Bug 129245 has been marked as a duplicate of this bug. ***