/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -mcpu=i686 -march=i686 - march=i686 -mcpu=i686 -O3 -pipe -Wall -Wunused -o y4mcolorbars y4mcolorbars.o colorspace.o subsample.o -L../utils -lmjpegutils ./.libs/liblavplay.so: undefined reference to `SDL_Quit' ./.libs/liblavplay.so: undefined reference to `SDL_WM_SetCaption' ./.libs/liblavplay.so: undefined reference to `SDL_CreateYUVOverlay' ./.libs/liblavplay.so: undefined reference to `SDL_LockYUVOverlay' ./.libs/liblavplay.so: undefined reference to `SDL_EventState' ./.libs/liblavplay.so: undefined reference to `SDL_UnlockSurface' ./.libs/liblavplay.so: undefined reference to `SDL_LockSurface' ./.libs/liblavplay.so: undefined reference to `SDL_DisplayYUVOverlay' ./.libs/liblavplay.so: undefined reference to `SDL_UpdateRect' ./.libs/liblavplay.so: undefined reference to `SDL_Init' ./.libs/liblavplay.so: undefined reference to `SDL_GetError' ./.libs/liblavplay.so: undefined reference to `SDL_UnlockYUVOverlay' ./.libs/liblavplay.so: undefined reference to `SDL_FreeYUVOverlay' ./.libs/liblavplay.so: undefined reference to `SDL_SetVideoMode' collect2: ld returned 1 exit status make[2]: *** [divxdec] Error 1 make[2]: *** Se espera a que terminen otras tareas.... i686-pc-linux-gnu-gcc -mcpu=i686 -march=i686 -march=i686 -mcpu=i686 -O3 -pipe - Wall -Wunused -o y4mcolorbars y4mcolorbars.o colorspace.o subsample.o - L/var/tmp/portage/mjpegtools-1.6.0-r4/work/mjpegtools-1.6.0/utils -lmjpegutils make[2]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0- r4/work/mjpegtools-1.6.0/lavtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0- r4/work/mjpegtools-1.6.0' make: *** [all] Error 2 !!! ERROR: media-video/mjpegtools-1.6.0-r4 failed. !!! Function src_compile, Line -97, Exitcode 2 !!! (no error message) SOLUTION: Apply this patch : http://www.stillhq.com/jpeg2mpeg/make-compile.diff
Heyas, could you paste an "emerge info" please? -phoen][x-
Got an idea, mkennedy? -phoen][x-
Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r6,2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r9 i686 Celeron (Mendocino) USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga tcltk java X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla ldap cdr" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -mcpu=i686 -O3 -pipe" CXXFLAGS="-march=i686 -mcpu=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="/opt/blackdown-jre-1.3.1" AUTOCLEAN="no" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
r6 still fails here
Is there a patched ebuild in the pipeline?
Suddenly worked today - avifile update ??????? Some other package at any rate.
1.6.0-r5 fails for me with: lav_io.c: In function `check_DV2_input': lav_io.c:1385: too many arguments to function `dv_decoder_new' lav_io.c:1415: warning: implicit declaration of function `dv_decoder_free' -r5 and -r7 both fail because they can't find -ldirectfb - I'm not installing directfb because it breaks too much stuff.
I am having some problems as well installing: lav_io.c:1385: too many arguments to function `dv_decoder_new' lav_io.c:1415: warning: implicit declaration of function `dv_decoder_free' make[2]: *** [lav_io.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .libs/editlist.lo editlist.lo
Created attachment 7033 [details] New ebuild for mjpegtools Just renamed the latest ebuild media-video/mjpegtools-1.6.0-r7.ebuild to mjpegtools-1.6.1.ebuild.
Mines fixed!
-r5 and -r6 compiles fine on my gcc 2.95 -r7 fails with avilib.c -Wp,-MD,.deps/avilib.TPlo -fPIC -DPIC -o avilib.o make[2]: *** [lav_io.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... -r5 fails on my gcc 3.2.1 -r6 and -r7 compiles find on my gcc 3.2.1
-r5 failed on my gcc 3.2.1 system aswell. -r7 works fine.
ch=i686 -Wall -Wunused -c editlist.c -MT editlist.lo -MD -MP -MF .deps/editlist.TPlo -o editlist.o >/dev/null 2>&1 lav_io.c: In function `check_DV2_input': lav_io.c:1385: too many arguments to function `dv_decoder_new' lav_io.c:1415: warning: implicit declaration of function `dv_decoder_free' make[2]: *** [lav_io.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .libs/editlist.lo editlist.lo make[2]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r5/work/mjpegtools-1.6.0/lavtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r5/work/mjpegtools-1.6.0' make: *** [all] Error 2 !!! ERROR: media-video/mjpegtools-1.6.0-r5 failed. 1.6.0-r7 works well, please unmask it!!!
-r7 should only be unmasked in gcc3 profile
-r5, -r6, -r7 does not work here. The posted ebuild for 1.6.1 does! Why not include it in portage? # emerge info Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GENTOO_MIRRORS="http://www.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="" USE="3dnow acpi alsa apm avi crypt dga directfb dvd encode fbcon gd gif gpm gtk gtkhtml imlib ipv6 java jpeg mmx motif mozilla mpeg ncurses nls opengl oss pam perl png qt quicktime readline samba sse ssl svga tiff truetype X xml xml2 xmms zlib x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS="" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
-r5 is now gcc 2.95 default -r7 is now masked as stable (should work with all gcc 3) 1.6.1 is masked in cvs now