Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46890 - media-tv/xawdecode-1.9.0: compilation error in file divx.c
Summary: media-tv/xawdecode-1.9.0: compilation error in file divx.c
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 12:34 UTC by José Romildo Malaquias
Modified: 2005-12-21 14:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
files/xawdecode-1.9.0--ffmpeg-cvs.patch (xawdecode-1.9.0--ffmpeg-cvs.patch,808 bytes, patch)
2004-04-15 11:16 UTC, TGL
Details | Diff
same patch but renamed (xawdecode-1.9.0-ffmpeg-cvs.patch,808 bytes, patch)
2004-07-22 14:20 UTC, Nanouck
Details | Diff
new ebuild using xawdecode-1.9.0-ffmpeg-cvs.patch (xawdecode-1.9.0.ebuild,2.09 KB, text/plain)
2004-07-22 14:24 UTC, Nanouck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2004-04-05 12:34:20 UTC
Emerging media-tv/xawdecode-1.9.0 fails with the errors:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../alevt   -Wall -D_REENTRANT -O4 -march=athlon-4 -mcpu=athlon-4 -fstrength-reduce -frerun-loop-opt -fexpensive-optimizations -fschedule-insns2 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -pipe -falign-loops=2 -falign-functions=2 -ffast-math  -I/usr/X11R6/include -march=athlon-xp -fomit-frame-pointer -pipe -I/usr/X11R6/include -Wall -I/usr/include -DPREFIX='"/usr"' -D_LARGEFILE64_SOURCE  -c divx_ui.c
divx.c: In function `divx_init':
divx.c:824: error: `Motion_Est_QTab' undeclared (first use in this function)
divx.c:824: error: (Each undeclared identifier is reported only once
divx.c:824: error: for each function it appears in.)
make[2]: *** [divx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/xawdecode-1.9.0/work/xawdecode-1.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xawdecode-1.9.0/work/xawdecode-1.9.0'
make: *** [all-recursive-am] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.4.3.13p1
Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9,
2.4.26_pre6-gentoo)
=================================================================
System uname: 2.4.26_pre6-gentoo i686 AMD Athlon(tm) XP 2000+
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
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/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/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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="3dnow X Xaw3d aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups
emacs-w3 encode esd faad fbcon ffmpeg flac foomaticdb gdbm gif glut gnome gpm
gtk gtk2 gtkhtml guile imap imlib java javascript jpeg kde libg++ libwww lirc
mad mbox md5sum mikmod mmx motif mozilla mpeg ncurses nls nntp oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline rplay samba sdl slang spell
sse ssl stroke svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xosd xv xvid zlib"
Comment 1 TGL 2004-04-15 11:16:40 UTC
Created attachment 29355 [details, diff]
files/xawdecode-1.9.0--ffmpeg-cvs.patch

'Motion_Est_QTab' disappeared from avcodec.h in >=ffmpeg-0.4.8.20040222.  The
attached patch from xawdecode upstream takes care of this.  Apply with
something like this in the ebuild:

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/xawdecode-1.9.0--ffmpeg-cvs.patch
}
Comment 2 Nanouck 2004-07-22 14:20:02 UTC
Created attachment 35967 [details, diff]
same patch but renamed

this patch is used by the new xawdecode-1.9.0.ebuild which is attached too.
Comment 3 Nanouck 2004-07-22 14:24:50 UTC
Created attachment 35969 [details]
new ebuild  using xawdecode-1.9.0-ffmpeg-cvs.patch

you just need to put xawdecode-1.9.0-ffmpeg-cvs.patch in your
XXX/media-tv/xawdecode/files/ and  xawdecode-1.9.0.ebuild in
XXX/media-tv/xawdecode/ after do 
ebuild XXX/media-tv/xawdecode/xawdecode-1.9.0.ebuild digest
Comment 4 Nanouck 2004-07-22 14:29:45 UTC
Comment on attachment 35967 [details, diff]
same patch but renamed

this patch is used by the new xawdecode-1.9.0.ebuild which is attached too here
<a href="attachment.cgi?id=35969&amp;action=view" class="" title="new ebuild 
using xawdecode-1.9.0-ffmpeg-cvs.patch">Created an attachment (id=35969)</a>
Comment 5 Nanouck 2004-07-22 14:35:41 UTC
sorry I loose on my last answer #4, but i don't know howto to delete it
Comment 6 TGL 2004-07-22 19:35:32 UTC
shameless advertisement: 
Another option to fix that bug would be to commit the 1.9.1 or 1.9.2 ebuilds that are waiting since quite some time in bug #48129. They would fix various other bugs (the most important one being xvid support), add cool features, bring you success with girls, etc.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-21 14:29:18 UTC
xawdecode is no more in portage.