whem emerging ffmpeg 0.4.7_pre20030624, I get the following error: gcc -mcpu=ev56 -O3 -pipe -fPIC -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fforce-addr -freduce-all-givs -c -o alpha/dsputil_alpha.o alpha/dsputil_alpha.c alpha/dsputil_alpha.c: Dans la fonction
whem emerging ffmpeg 0.4.7_pre20030624, I get the following error: gcc -mcpu=ev56 -O3 -pipe -fPIC -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fforce-addr -freduce-all-givs -c -o alpha/dsputil_alpha.o alpha/dsputil_alpha.c alpha/dsputil_alpha.c: Dans la fonction « dsputil_init_alpha »: alpha/dsputil_alpha.c:366: structure n'a pas de membre nommé « idct_idct » alpha/dsputil_alpha.c:366: « simple_idct_axp » non déclaré (première utilisation dans cette fonction) alpha/dsputil_alpha.c:366: (Chaque identificateur non déclaré est rapporté une seule fois alpha/dsputil_alpha.c:366: pour chaque fonction dans laquelle il apparaît.) make[1]: *** [alpha/dsputil_alpha.o] Erreur 1 make[1]: Leaving directory `/home/var/tmp/portage/ffmpeg-0.4.7_pre20030624/work/ffmpeg-cvs-2003-06-24/libavcodec' make: *** [lib] Erreur 2 Reproducible: Always Steps to Reproduce: On alpha platform 1.emerge ffmpeg Actual Results: Compilation and emerge fail Expected Results: Emerge successfully Portage 2.0.48-r1 (default-alpha-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-raid2 alpha EV56 GENTOO_MIRRORS="ftp://gentoo.irisa.fr/pub/gentoo-sources http://gentoo.oregonstate.edu 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 /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" 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="alpha crypt cups encode gif jpeg libg++ mikmod ncurses nls oss pdflib png quicktime sdl spell truetype xml2 xmms xv zlib gnome-libs gdbm berkdb slang readline tetex ruby mysql X gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome motif opengl ldap cdr acl alsa avi doc dvd evo flash gb gd gtk2 gtkhtml guile imap innodb ipv6 kerberos libgda mcal mdb mozaccess mozcalendar mozilla mozinterfaceinfo mozirc mozp3p mozxmlterm mpeg pda plotutils samba sasl scanner snmp tcltk tiff usb vim-with-x wmf xfs xinerama xml xosd -kde -qt -gtk" COMPILER="gcc3" CHOST="alpha-unknown-linux-gnu" CFLAGS="-mcpu=ev56 -O3 -pipe" CXXFLAGS="-mcpu=ev56 -O3 -pipe" ACCEPT_KEYWORDS="alpha ~alpha" MAKEOPTS="" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache"
Commenting/Removing line 366 in the file libavcodec/alpha/dsputil_alpha.c allows the compilation to succeed (and the rest of ffmpeg as well). Since the structure DSPContext declared in libavcodec/dsputil.h doesn't contain any declaration for the member idct_idct. I can't yet tell if this has some consequence on the behaviour on ffmpeg.
Created attachment 13923 [details, diff] A possible correction Just comment/remove the line 366 in the file libavcodec/alpha/dsputil_alpha.c
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ffmpeg/ffmpeg/libavcodec/alpha/dsputil_alpha.c.diff?r1=1.19&r2=1.20 that has the fix you are looking for... i am adding this fix to our build. :) Please test.
It compiles right. YES. Since I don't have yet a player, I can't test yet if it runs well.
Closing FIXED