The compilation failed if the "assert.h" arn't included automaticly. workaround add "#include <assert.h> to: mplex/multplex.cc mplex/systems.cc mplex/stillstream.cc bye bernd
please reassign, i have never even touched mjpegtools . reporter, i know i can't reproduce it. Please give some more info when this happens, version, your architecture, etc. This really is a no good bugreport like this. Give us your 'emerge info' output.
Sorry for the dealy, this seamed for me to be a problem with the gcc 3.3 assert.h are not included automaticly Portage 2.0.48-r1 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2) ================================================================= System uname: 2.4.20-ck4 i686 AMD Athlon(tm) Processor PORTDIR="/usr/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe" CFLAGS="-mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache notitles"
Yup. Same here. Look: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I .. -I ../utils -march=pentium2 -O3 -mmmx -pipe -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -fPIC -c -o multplex.o `test -f multplex.cc || echo './'`multplex.cc source='systems.cc' object='systems.o' libtool=no \ depfile='.deps/systems.Po' tmpdepfile='.deps/systems.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I .. -I ../utils -march=pentium2 -O3 -mmmx -pipe -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -fPIC -c -o systems.o `test -f systems.cc || echo './'`systems.cc systems.cc: In member function `void PS_Stream::BufferPaddingPacket(int, uint8_t*&)': systems.cc:207: error: `assert' undeclared (first use this function) systems.cc:207: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [systems.o] Error 1 make[2]: *** Waiting for unfinished jobs.... multplex.cc: In member function `void OutputStream::WriteRawSector(uint8_t*, unsigned int)': multplex.cc:1127: error: `assert' undeclared (first use this function) multplex.cc:1127: error: (Each undeclared identifier is reported only once for each function it appears in.) multplex.cc: In member function `void OutputStream::OutputDVDPriv2()': multplex.cc:1252: error: `assert' undeclared (first use this function) make[2]: *** [multplex.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r7/work/mjpegtools-1.6.0/mplex' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r7/work/mjpegtools-1.6.0' make: *** [all] Error 2 !!! ERROR: media-video/mjpegtools-1.6.0-r7 failed. !!! Function src_compile, Line 107, Exitcode 2 !!! (no error message) $ emerge info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Pentium II (Klamath) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi crypt encode foomaticdb gif gpm imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses pdflib png quicktime slang spell truetype xml2 xmms xv zlib gdbm berkdb readline X tcpd pam ssl perl python oggvorbis -gnome -xfs -acpi4linux -3dnow -ipv6 threads -nls -kde -cups -arts -qt -gtk -opengl -svga -sdl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -mmmx -pipe -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -fPIC" CXXFLAGS="-march=pentium2 -O3 -mmmx -pipe -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -fPIC" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc userpriv usersandbox" gcc is actually gcc-3.3-r1
I forget to CC me myselft. Sorry for the noise.
Please try mjpegtools 1.6.1.90 (already marked stable on x86)
Closing. If problems persist with the new version, please reopen.