Bug 52693 - mpeg4ip doesn't compile with gcc-3.4
Bug#: 52693 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: tester@gentoo.org Reported By: ferret@explodingferret.com
Component: Applications
URL: 
Summary: mpeg4ip doesn't compile with gcc-3.4
Keywords:  
Status Whiteboard: 
Opened: 2004-06-01 08:27 0000
Description:   Opened: 2004-06-01 08:27 0000
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -Wmissing-prototypes -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -march=i686
-O2 -pipe -fomit-frame-pointer -DUSE_MMX -DMPEG4IP -MT bitstream.lo -MD -MP -MF
.deps/bitstream.Tpo -c bitstream.cpp  -fPIC -DPIC -o .libs/bitstream.o
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC
but not for C++
make[3]: *** [bitstream.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/lib/bitstream'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.1/work/mpeg4ip-1.1'
make: *** [all] Error 2

!!! ERROR: media-video/mpeg4ip-1.1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! make failed




Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0,
2.6.6-mm5)
=================================================================
System uname: 2.6.6-mm5 i686 Intel(R) Celeron(R) CPU 2.30GHz
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /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="-march=i686 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
                                http://gentoo.mirror.sdv.fr
                                http://ftp.heanet.ie/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dga directfb doc encode esd
fbcon flash foomaticdb gdbm ggi gif gpm gtk gtk2 imap imlib java javascript jikes
jpeg ldap libg++ libwww mad mbox mikmod mmx mng motif mpeg music ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell ssl tcltk tcpd tetex tiff truetype usb videos wmf x86 xml xml2 xv
xvid zlib"

------- Comment #1 From Olivier Crete 2004-06-05 00:52:31 0000 -------
ok, I fixed that one.. (I just removed -Wmissing-prototypes).. I'm sending this
upstream too... please tell me of the next thing that breaks on 3.4 ;)

------- Comment #2 From Olivier Crete 2004-06-05 08:21:34 0000 -------
this bug should be fixed in CVS, I dont have gcc 3.4 yet, please try to compile
again and tell me if it breaks somewhere else..