Bug 97936 - mpeg4ip 1.3 won't compile with gcc 3.4
|
Bug#:
97936
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-video@gentoo.org
|
Reported By: jva-misc@cute.se
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: mpeg4ip 1.3 won't compile with gcc 3.4
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-07-04 14:11 0000
|
When emerging mpeg4ip 1.3 on AMD64 the emerge stops giving me this error:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.tcc:121
6: instantiated from `_OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter
, std::ios_base&, _CharT, double) const [with _CharT = char, _OutIter = std::ost
reambuf_iterator<char, std::char_traits<char> >]'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.h:2349:
instantiated from `_OutIter std::num_put<_CharT, _OutIter>::put(_OutIter, std
::ios_base&, _CharT, double) const [with _CharT = char, _OutIter = std::ostreamb
uf_iterator<char, std::char_traits<char> >]'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:246: in
stantiated from `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(double) [with _CharT = char, _Traits = std::char_traits<ch
ar>]'
tools_entropy_huffman.cpp:246: instantiated from here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3/x86_64-pc-linux-gnu/bits/c
++locale.h:84: warning: format not a string literal, argument types not checked
make[6]: *** [tools_entropy_huffman.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video/iso-mpeg4/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video/iso-mpeg4'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video/iso-mpeg4'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common
/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common '
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3'
make: *** [all] Error 2
Emerging mpeg4ip 1.1 worked, but I need 1.3. This is my emerge info:
(I've tried emerging with the CFLAGS turned off)
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11
x86_64)=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 22 2005, 23:06:56)]
dev-lang/python: 2.3.5
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 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="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe -fomit-frame-pointer -msse
-msse2 -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe -fomit-frame-pointer -msse
-msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.se http://mirror.pudas.net/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnow 3dnowext 7zip X a52 acpi alsa bcmath berkdb bitmap-fonts bzlib
cdr crypt cups curl dvd dvdr eds esd fam flac font-server fortran ftp gdbm gif
gnome gnutls gpm gstreamer gtk imlib ipv6 jp2 jpeg jpeg2k libwww lzo lzw
lzw-tiff mad mmx mmxext mozilla mp3 multilib mysql ncurses network nls nptl ogg
oggvorbis opengl oss pam perl png python qt readline sdl slang sqlite sse sse2
ssl tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev
unicode usb userlocales vorbis xinerama xml xml2 xmms xpm xrandr xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS
Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~amd64" emerge mpeg4ip
I emerge with these USE-flags enabled:
a52 aac alsa esd ffmpeg id3 ipv6 lame mmx mpeg2 xvid
I've tried to emerge without mmx, but it still failed.
Created an attachment (id=62851) [details]
A patch that solves the emerge problem
Here is a patch we made that solves the compile problem. This have been tested
and mpeg4ip 1.3 now compiles on both gcc version 3.4.4. Only partly tested on
gcc 3.3.5-20050130, but seems to work just fine.
I acted too fast. The patch does not work properly yet.
I also have the exact same problem on a regular x86 machine (non-AMD64)
though ...
I also see this problem on a x86 machine. I've used the same resolution that
was
used in the ebuild for mpeg4ip 1.1: to remove the -Werror argument from CFLAGS.
With this removed the warning is still shown but at least compilation
continues.
This obviously assumes that the warning is not fatal.
Check the 1.1 ebuild for the exact syntax.
Sorry, Hans de Graaff, your solution didn't work for me.
I put the following lines into the ebuild:
----------------------------
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's/-Wmissing-prototypes//g' -e 's/-Werror//g' configure
}
----------------------------
Unfortunately I just get the same error again.
---------------------------
emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 CPU
3.06GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2
sys-apps/sandbox: 1.2.12
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.6
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 16bit S3TC X Xaw3d aac aalib acpi alsa amarok apache2 arts audiofile
avi berkdb bitmap-fonts bmp bootsplash bzip2 ccache cdda cddb cdio cdparanoia
cdr cdrom crypt cscope cups curl dba dga dhcp dio directfb divx4linux doc dpms
dv dvd dvdr dvdread eds emboss emoticon encode ethereal expat fam fame fbcon
fbsplash ffmpeg fftw flac font-server foomaticdb fortran freetype ftp gd gdbm
gif gimp gimpprint gkrellm glade glibc glut gnome gnuplot gpm gs gstreamer gtk
gtk2 gtkhtml guile hal html http httpd iconv icq id3 ieee1394 imagemagick
imlib imlib2 ipv6 irc jabber java javascript jce jp2 jpeg jpeg2k junit kde
kdeenablefinal lame lapack latex lcms ldap libg++ libwww live lm_sensors
logitech-mouse logrotate lzo lzw mad mbox md5sum mikmod mime mimencode mixer
mjpeg mmx mng motif mozilla mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses
net network nls no-old-linux nojoystick nptl nptlonly nvidia objc octave ogg
oggvorbis openal opengl openssh oss pam pcmcia pdflib perl php pic player
plotutils png posix ppds print pwdb python qt quicktime quotes readline real
rtc samba scanner sdl sftplogging sharedmem slang sndfile sockets socks5
sounds sox speex spell sse sse2 ssl stream svg svga syslog sysvipc tcltk tcpd
tetex threads tiff transcode truetype truetype-fonts type1 type1-fonts ucs2
ucs4 unicode usb userlocales utf8 vcd vcdimager vim vim-with-x vorbis wifi
win32codecs xine xinetd xml xml2 xosd xpm xprint xrandr xscreensaver xsl xv
xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS
The new easytag 1.99.9 seems to have a dependency upon mpeg3ip 1.3. Sadly, the
b0rkage described above still isn't fixed. I'll also report this as bug for easytag.
(In reply to comment #5)
> Sorry, Hans de Graaff, your solution didn't work for me.
>
> I put the following lines into the ebuild:
> ----------------------------
> src_unpack() {
> unpack ${A}
> cd ${S}
> sed -i -e 's/-Wmissing-prototypes//g' -e 's/-Werror//g' configure
> }
> ----------------------------
>
> Unfortunately I just get the same error again.
>
>
> ---------------------------
> emerge info
> Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
> 2.6.12-gentoo-r6 i686)
> =================================================================
> System uname: 2.6.12-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 CPU
> 3.06GHz
> Gentoo Base System version 1.6.13
> ccache version 2.3 [enabled]
> dev-lang/python: 2.3.5-r2
> sys-apps/sandbox: 1.2.12
> 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.6
> sys-devel/binutils: 2.15.92.0.2-r10
> sys-devel/libtool: 1.5.18-r1
> virtual/os-headers: 2.6.11-r2
> ACCEPT_KEYWORDS="x86"
> AUTOCLEAN="yes"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/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/splash /etc/terminfo /etc/env.d"
> CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
> ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
> ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
> LANG="de_DE.UTF-8"
> LC_ALL="de_DE.UTF-8"
> LINGUAS="de"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-de"
> SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
> USE="x86 16bit S3TC X Xaw3d aac aalib acpi alsa amarok apache2 arts audiofile
> avi berkdb bitmap-fonts bmp bootsplash bzip2 ccache cdda cddb cdio cdparanoia
> cdr cdrom crypt cscope cups curl dba dga dhcp dio directfb divx4linux doc dpms
> dv dvd dvdr dvdread eds emboss emoticon encode ethereal expat fam fame fbcon
> fbsplash ffmpeg fftw flac font-server foomaticdb fortran freetype ftp gd gdbm
> gif gimp gimpprint gkrellm glade glibc glut gnome gnuplot gpm gs gstreamer gtk
> gtk2 gtkhtml guile hal html http httpd iconv icq id3 ieee1394 imagemagick
> imlib imlib2 ipv6 irc jabber java javascript jce jp2 jpeg jpeg2k junit kde
> kdeenablefinal lame lapack latex lcms ldap libg++ libwww live lm_sensors
> logitech-mouse logrotate lzo lzw mad mbox md5sum mikmod mime mimencode mixer
> mjpeg mmx mng motif mozilla mp3 mp4live mpeg mpeg2 mpeg4 mplayer mysql ncurses
> net network nls no-old-linux nojoystick nptl nptlonly nvidia objc octave ogg
> oggvorbis openal opengl openssh oss pam pcmcia pdflib perl php pic player
> plotutils png posix ppds print pwdb python qt quicktime quotes readline real
> rtc samba scanner sdl sftplogging sharedmem slang sndfile sockets socks5
> sounds sox speex spell sse sse2 ssl stream svg svga syslog sysvipc tcltk tcpd
> tetex threads tiff transcode truetype truetype-fonts type1 type1-fonts ucs2
> ucs4 unicode usb userlocales utf8 vcd vcdimager vim vim-with-x vorbis wifi
> win32codecs xine xinetd xml xml2 xosd xpm xprint xrandr xscreensaver xsl xv
> xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
> Unset: ASFLAGS, CTARGET, LDFLAGS
Same her, ~x86, gcc-3.4.4
*** Bug 111468 has been marked as a duplicate of this bug. ***
I think I'm having the same error, except I don't actually get any error
messages. The last line is this:
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O3
-march=pentium4 -fomit-frame-pointer -pipe -DMPEG4IP -I/usr/include/SDL
-D_REENTRANT -MT tools_entropy_huffman.lo -MD -MP -MF
.deps/tools_entropy_huffman.Tpo -c tools_entropy_huffman.cpp -fPIC -DPIC -o
.libs/tools_entropy_huffman.o
Then it just returns to the prompt. Always stops at the same file.
emerge info:
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-archck1 i686)
=================================================================
System uname: 2.6.14-archck1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.13
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.20-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org
http://gentoo.mirrors.pair.com"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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 a52 aac aalib alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts bzip2 caps cdparanoia cdr crypt cups curl dbus dts dvd eds emboss
encode exif fam ffmpeg flac font-server foomaticdb fortran freetype gdbm gif
gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 java
jikes jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww lm_sensors mad matroska
mmx mng mp3 mpeg ncurses network nls nptl nvidia offensive ogg oggvorbis opengl
pdflib perl pic png ppds python qt quicktime readline real ruby samba scanner
sdl slang sndfile snmp spell sse sse2 ssl svg svga tcpd tetex theora threads
tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf
wxwindows xine xml2 xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
yes, infact there is no important error, just a warning, but the -Werror gcc
flag make this
return 1.
i've done this solution, it works:
1) emerge mpeg4ip
2) let configure do its job and start compilation, press ctrl+z to stop it.
3) cd /var/tmp/portage/mpeg4ip-1.3/work/mpeg4ip-1.3/common/video/iso-mpeg4/src
4) sed -i -e 's/-Wmissing-prototypes//g' -e 's/-Werror//g' Makefile
5) fg
this works.
mainteiner should check where -Werror flag is setted,
i think in Makefile.in in the same directory.
had no time to investigate, grep is your friend :)
Alright, I've added a sed for the -Werror, can you test the lastest version?
(please wait a few hours for the CVS to reach the rsync tree)
the problem is with faad2, required by ffmpeg now :)
(In reply to comment #12)
> the problem is with faad2, required by ffmpeg now :)
Which problem ? Are you refering to another bug ? This bug is the compilation
error of mpeg4ip.
yes i'll investigate and if needed fill another bug.
*** Bug 112799 has been marked as a duplicate of this bug. ***
More output, as requested:
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include
-D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2
-march=athlon-xp -O3 -pipe -DMPEG4IP -I/usr/include/SDL -D_REENTRANT -MT
tools_entropy_bitstrm.lo -MD -MP -MF .deps/tools_entropy_bitstrm.Tpo -c
tools_entropy_bitstrm.cpp -o tools_entropy_bitstrm.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I./../include -D__TRACE_AND_STATS_
-D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror
-D_OBSS_ -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas
-Wno-deprecated -Wformat=2 -march=athlon-xp -O3 -pipe -DMPEG4IP
-I/usr/include/SDL -D_REENTRANT -MT tools_entropy_huffman.lo -MD -MP -MF
".deps/tools_entropy_huffman.Tpo" -c -o tools_entropy_huffman.lo
tools_entropy_huffman.cpp; \
then mv -f ".deps/tools_entropy_huffman.Tpo" ".deps/tools_entropy_huffman.Plo";
else rm -f ".deps/tools_entropy_huffman.Tpo"; exit 1; fi
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../include
-D__TRACE_AND_STATS_ -D__DOUBLE_PRECISION_ -D_REENTRANT -DNOCONTROLS
-fexceptions -Wall -Werror -D_OBSS_ -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2
-march=athlon-xp -O3 -pipe -DMPEG4IP -I/usr/include/SDL -D_REENTRANT -MT
tools_entropy_huffman.lo -MD -MP -MF .deps/tools_entropy_huffman.Tpo -c
tools_entropy_huffman.cpp -fPIC -DPIC -o .libs/tools_entropy_huffman.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:
In function `int std::__convert_from_v(char*, int, const char*, _Tv,
__locale_struct* const&, int) [with _Tv = double]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.tcc:1072:
instantiated from `_OutIter std::num_put<_CharT,
_OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT)
const [with _ValueT = double, _CharT = char, _OutIter =
std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.tcc:1216:
instantiated from `_OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter,
std::ios_base&, _CharT, double) const [with _CharT = char, _OutIter =
std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/locale_facets.h:2349:
instantiated from `_OutIter std::num_put<_CharT, _OutIter>::put(_OutIter,
std::ios_base&, _CharT, double) const [with _CharT = char, _OutIter =
std::ostreambuf_iterator<char, std::char_traits<char> >]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/ostream.tcc:246:
instantiated from `std::basic_ostream<_CharT, _Traits>&
std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char,
_Traits = std::char_traits<char>]'
tools_entropy_huffman.cpp:245: instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:84:
warning: format not a string literal, argument types not checked
make[6]: *** [tools_entropy_huffman.lo] Error 1
make[6]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video/iso-mpeg4/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video/iso-mpeg4'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video/iso-mpeg4'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mpeg4ip-1.4.1/work/mpeg4ip-1.4.1'
make: *** [all] Error 2
I got the same error as above
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:84:
warning: format not a string literal, argument types not checked
make[6]: *** [tools_entropy_huffman.lo] Error 1
solution was in the forums:
http://forums.gentoo.org/viewtopic-t-388157-highlight-mpeg4ip.html
Turned out to be an -O3 problem. Works fine for me with -O2 in CXXFLAGS
stripped the -Werror
in CVS