| View previous topic :: View next topic |
| Author |
Message |
lordello n00b


Joined: 13 Aug 2004 Posts: 43 Location: Rio de Janeiro - Brasil
|
Posted: Wed Aug 25, 2004 2:48 pm Post subject: avidemux 2.0.28 error |
|
|
I don't know why, but avidemux don't compile here.
Tanks.
| Code: | 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
|
|
|
| Back to top |
|
 |
AlterEgo Veteran


Joined: 25 Apr 2002 Posts: 1619
|
Posted: Wed Aug 25, 2004 7:48 pm Post subject: |
|
|
| Code: |
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: |
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  |
|
| Back to top |
|
 |
dr_mox n00b

Joined: 22 Dec 2003 Posts: 62 Location: Bath, England
|
Posted: Wed Aug 25, 2004 8:29 pm Post subject: |
|
|
gettin exactly the same error as lordello!
Moxy |
|
| Back to top |
|
 |
Shaman Apprentice

Joined: 12 Sep 2002 Posts: 167 Location: Kingston, ON
|
Posted: Wed Aug 25, 2004 11:20 pm Post subject: |
|
|
| Me three. |
|
| Back to top |
|
 |
Halcy0n Developer


Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Thu Aug 26, 2004 1:20 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
lordello n00b


Joined: 13 Aug 2004 Posts: 43 Location: Rio de Janeiro - Brasil
|
Posted: Thu Aug 26, 2004 4:58 am Post subject: |
|
|
Yes, it works, tanks.
| 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. |
|
|
| Back to top |
|
 |
AlterEgo Veteran


Joined: 25 Apr 2002 Posts: 1619
|
Posted: Fri Aug 27, 2004 2:28 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
mean Guru

Joined: 25 Sep 2002 Posts: 313
|
Posted: Fri Aug 27, 2004 4:01 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
zypher Retired Dev


Joined: 10 Jun 2002 Posts: 416 Location: Cologne, ger.
|
Posted: Mon Aug 30, 2004 7:48 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|