Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

avidemux 2.0.28 error

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
lordello
n00b
n00b
User avatar
Posts: 43
Joined: Fri Aug 13, 2004 4:25 pm
Location: Rio de Janeiro - Brasil
Contact:
Contact lordello
Website

avidemux 2.0.28 error

  • Quote

Post by lordello » Wed Aug 25, 2004 2:48 pm

I don't know why, but avidemux don't compile here.
Tanks.

Code: Select all

gcc  -O2  -O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -O3 -g -Wall -O2 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/malloc -msse -c -o i386/cputest.o i386/cputest.c
gcc  -O2  -O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -O3 -g -Wall -O2 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/malloc -msse -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:614: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx_rnd.h:363: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:410: warning: `avg_no_rnd_pixels16_l2_mmx' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not usedmake[2]: ** [i386/dsputil_mmx.o] Erro 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28/adm_lavcodec'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28'
make: ** [all] Erro 2

!!! ERROR: media-video/avidemux-2.0.28 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! make failed
Top
AlterEgo
Veteran
Veteran
User avatar
Posts: 1619
Joined: Thu Apr 25, 2002 2:51 pm

  • Quote

Post by AlterEgo » Wed Aug 25, 2004 7:48 pm

Code: Select all

xvid_vbr.c: In function `vbr_init_2pass2':
xvid_vbr.c:905: warning: passing arg 3 of `vbr_make_variance' from incompatible pointer type
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/malloc -I/usr/include/SDL -D_REENTRANT  -I.. -IADM_libra
ry -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -march=athlon-xp -O3 -pipe -fomit-frame-poi
nter -ftracer -fno-exceptions -fno-check-new -O3 -MT adm_encxvid.o -MD -MP -MF ".deps/adm_encxvid.Tpo" -c -o adm
_encxvid.o adm_encxvid.cpp; \
then mv -f ".deps/adm_encxvid.Tpo" ".deps/adm_encxvid.Po"; else rm -f ".deps/adm_encxvid.Tpo"; exit 1; fi
adm_encxvid.cpp: In member function `virtual uint8_t
   EncoderXvid::configure(AVDMGenericVideoStream*)':
adm_encxvid.cpp:79: error: `ADM_assert' undeclared (first use this function)
adm_encxvid.cpp:79: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
adm_encxvid.cpp: In member function `virtual uint8_t EncoderXvid::startPass1()
   ':
adm_encxvid.cpp:140: error: `ADM_assert' undeclared (first use this function)
adm_encxvid.cpp: In member function `virtual uint8_t
   EncoderXvid::encode(unsigned int, uint32_t*, uint8_t*, uint32_t*)':
adm_encxvid.cpp:195: error: `ADM_assert' undeclared (first use this function)
adm_encxvid.cpp: In member function `virtual uint8_t EncoderXvid::startPass2()
   ':
adm_encxvid.cpp:284: error: `ADM_assert' undeclared (first use this function)
make[3]: *** [adm_encxvid.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28/avidemux/ADM_encoder'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28/avidemux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.28/work/avidemux-2.0.28'
make: *** [all] Error 2

!!! ERROR: media-video/avidemux-2.0.28 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! make failed

Code: Select all

 emerge --info
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-ck5)
=================================================================
System uname: 2.6.7-ck5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe  -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /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/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe  -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc prelink sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-s -j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ebuilds"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bonobo cdr crypt cups dvd dvdr encode exif foomaticdb gdbm gif gphoto2 gpm gtk gtk2 gtkhtml imlib java jikes jpeg kde libg++ libwww mad mikmod mmx motif mozsvg mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png ppds pythonqt quicktime readline rtc scanner sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Slightly different error here :?:
Top
dr_mox
n00b
n00b
Posts: 62
Joined: Mon Dec 22, 2003 9:04 pm
Location: Bath, England

  • Quote

Post by dr_mox » Wed Aug 25, 2004 8:29 pm

gettin exactly the same error as lordello!

Moxy
Top
Shaman
Apprentice
Apprentice
Posts: 167
Joined: Thu Sep 12, 2002 4:16 pm
Location: Kingston, ON
Contact:
Contact Shaman
Website

  • Quote

Post by Shaman » Wed Aug 25, 2004 11:20 pm

Me three.
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

  • Quote

Post by Halcy0n » Thu Aug 26, 2004 1:20 am

We have two different errors here. For the original poster, try removing -fforce-addr from your CFLAGS. It seems as though there is a bug out for that one already.
Mark Loeser
http://www.halcy0n.com
Top
lordello
n00b
n00b
User avatar
Posts: 43
Joined: Fri Aug 13, 2004 4:25 pm
Location: Rio de Janeiro - Brasil
Contact:
Contact lordello
Website

  • Quote

Post by lordello » Thu Aug 26, 2004 4:58 am

Yes, it works, tanks. :roll:
HaLCy0n wrote:We have two different errors here. For the original poster, try removing -fforce-addr from your CFLAGS. It seems as though there is a bug out for that one already.
Top
AlterEgo
Veteran
Veteran
User avatar
Posts: 1619
Joined: Thu Apr 25, 2002 2:51 pm

  • Quote

Post by AlterEgo » Fri Aug 27, 2004 2:28 pm

AlterEgo wrote:blah blah blah
Fixed my error by adding the "xvid" USE flag:
USE="xvid" emerge avidemux
media-video/avidemux-2.0.28
media-libs/xvid-1.0.1
Top
mean
Guru
Guru
Posts: 313
Joined: Wed Sep 25, 2002 2:35 pm

  • Quote

Post by mean » Fri Aug 27, 2004 4:01 pm

It is a bug
The failing combo is xvid 0.9 + Avidemux 2.0.28
The simplest is to update to xvid 1.0.X

Or patch the source
2 files lack a #include "ADM_assert.h"
adm_xvid.cpp
DIA_xvid.cpp
Top
zypher
Retired Dev
Retired Dev
User avatar
Posts: 416
Joined: Mon Jun 10, 2002 11:34 am
Location: Cologne, ger.

  • Quote

Post by zypher » Mon Aug 30, 2004 7:48 am

Thanks mean!
Latest version of avidemux now checks for xvid-0.9/1.0.0 and patches the sources if needed.
Cheers,
Marc.
linux user 65882
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic