Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
troubles with transcode 0.6.12
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sparks
Guru
Guru


Joined: 05 Mar 2003
Posts: 331
Location: Nashville, TN

PostPosted: Thu Jan 22, 2004 3:10 pm    Post subject: troubles with transcode 0.6.12 Reply with quote

I am having troubles emerging the latest transcode here is the error message:
Code:
386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:610: 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:362: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:409: 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 used
make[4]: *** [dsputil_mmx.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)


It looks like it has something to do with mmx? I know there were problems with earlier versions of transcode that were fixed by adding the mmx USE flag, but I do have the mmx USE flag set. Here is my emerge --info
Code:

emerge --info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -ffast-math -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -ffast-math -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png pnp ppds python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcpd threads tiff truetype usb x86 xml2 xmms xv zlib"

I'm not really sure what the problem is, it's not imperative that I upgrade to 0.6.12 but it would be nice :)
_________________
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
NoiZe_DJ
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2003
Posts: 134
Location: Z'Ha'Dum

PostPosted: Thu Jan 22, 2004 7:27 pm    Post subject: Reply with quote

Same Problems here. I hope somebody has a solution. :)
_________________
> Live Your Life > Just Go BZRK > Think 4 Yourself > Fight The System

Windows XP hat mehr Bugs als Klendathu...

<Herbie`work> yu ar lahfing abaut mei inglisch skills ?
Back to top
View user's profile Send private message
hinken
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 109

PostPosted: Thu Jan 22, 2004 7:35 pm    Post subject: Reply with quote

...just for the record, I'm having the same problem....
Back to top
View user's profile Send private message
hinken
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 109

PostPosted: Thu Jan 22, 2004 8:55 pm    Post subject: Reply with quote

well.....not exactly the same.....
Code:

/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtca vcodec.a(ratecontrol.o)(.text+0x18ec): In function `ff_rate_estimate_qscale':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/rateco ntrol.c:573: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtca vcodec.a(dv.o)(.text+0x85e):/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12'
make: *** [all] Error 2
 
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)


here is my emerge --info:

Code:

Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.pudas.net/gentoo http://mirror.pudas.net/gentoo http://gentoo.linux.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
 

 
Back to top
View user's profile Send private message
chomber
n00b
n00b


Joined: 18 Aug 2003
Posts: 35

PostPosted: Thu Jan 22, 2004 9:18 pm    Post subject: Reply with quote

same problem here:

Code:
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(dv.o)(.text+0x965):
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2
 
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
sparks
Guru
Guru


Joined: 05 Mar 2003
Posts: 331
Location: Nashville, TN

PostPosted: Thu Jan 22, 2004 9:40 pm    Post subject: Reply with quote

there is an entry in bugzilla here #38570. I dropped my cflaggs and it worked fine.
_________________
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
Mankale
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 76

PostPosted: Fri Jan 23, 2004 11:27 am    Post subject: Reply with quote

Worked here too.

CFLAGS="-O2 -march=pentium4 -mmmx -msse -mfpmath=sse,387 -funroll-loops -fprefetch-loop-arrays -frerun-cse-after-loop -pipe" emerge transcode
Back to top
View user's profile Send private message
hinken
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 109

PostPosted: Sat Jan 24, 2004 10:20 pm    Post subject: Reply with quote

Quote:
there is an entry in bugzilla here #38570. I dropped my cflaggs and it worked fine.


This doesnt seem to work for me. Same error dispite droped CVAR.
Code:
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/ratecontrol.c:179: undefined reference to `mm_flags'


I dont REALLY need transcode but it would be nice to be able to do a
emerge -Du world without errors(yes Im a lazy bastard :twisted: )

Does it work for everyone else???
Back to top
View user's profile Send private message
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Sun Jan 25, 2004 4:27 am    Post subject: Reply with quote

Nope. Same errors even with reduced CFLAGS.

I'm confused. Now, I've heard of this before so I'm not doubting the truth of the assertion that it is the optomization flags that is doing this, but it doesn't make any sense to me. Doesn't C follow certain rules? Pass this many arguments to this function and get this back. Get this piece of memory and write this to it. That's it. Given those rules, how can you have something compile _sometimes_. It doesn't make any sense to me. Eh, maybe google knows. Either way, no emerge -puD for me for a while.
Back to top
View user's profile Send private message
mrmodin
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 216
Location: Stockholm, Sweden

PostPosted: Tue Jan 27, 2004 5:40 pm    Post subject: Finally Reply with quote

Finally got it working.
Tried
Code:
CFLAGS=" " emerge transcode
Back to top
View user's profile Send private message
drjimmy42
Guru
Guru


Joined: 03 Feb 2003
Posts: 512
Location: Nashua, NH

PostPosted: Tue Jan 27, 2004 6:18 pm    Post subject: Reply with quote

nope, just ran

Code:

CFLAGS=" " emerge transcode


still getting
Code:
.12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)

Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Wed Jan 28, 2004 8:40 pm    Post subject: Reply with quote

One more here... does not help to compile without CFLAGS.
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Wed Jan 28, 2004 10:36 pm    Post subject: Reply with quote

I had the same sort of trouble as everyone else. Much to my own amazement, this finally worked:
Code:
USE="mmx 3dnow" emerge transcode

Thanks to Tobias Minich...
Back to top
View user's profile Send private message
joki
n00b
n00b


Joined: 30 Sep 2003
Posts: 53
Location: germany

PostPosted: Thu Jan 29, 2004 2:01 pm    Post subject: Reply with quote

nice...now i can include it again in my world file :D
_________________
emerge dev-pocket/money
Back to top
View user's profile Send private message
whatalotta
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2003
Posts: 114
Location: Union City, CA

PostPosted: Sun Feb 01, 2004 7:32 am    Post subject: Reply with quote

Plate,

Thank you! That has been driving me nuts. When I tried as you suggested, transcode finally emerged.
Back to top
View user's profile Send private message
tizzyd
n00b
n00b


Joined: 16 Aug 2003
Posts: 33
Location: New England USA

PostPosted: Tue Feb 03, 2004 9:04 pm    Post subject: Reply with quote

plate wrote:
I had the same sort of trouble as everyone else. Much to my own amazement, this finally worked:
Code:
USE="mmx 3dnow" emerge transcode

Thanks to Tobias Minich...


That's the setting for me as well. Thanks for the help! You Da Man!
Back to top
View user's profile Send private message
PurpleSkunk
n00b
n00b


Joined: 04 Jan 2004
Posts: 65
Location: Le Mans, France

PostPosted: Wed Feb 04, 2004 7:11 pm    Post subject: Reply with quote

I think, in your /etc/make.conf file, that having "mmx" in your USE parameters and no "-fforce_addr" in your CFLAGS resolves the problem.

It worked for me ! :P
Back to top
View user's profile Send private message
msdn
n00b
n00b


Joined: 13 Sep 2003
Posts: 26
Location: CANADA

PostPosted: Sun Feb 08, 2004 5:12 pm    Post subject: Reply with quote

PurpleSkunk wrote:
I think, in your /etc/make.conf file, that having "mmx" in your USE parameters and no "-fforce_addr" in your CFLAGS resolves the problem.

It worked for me ! :P


Thanxx. It solved my problem also !
Back to top
View user's profile Send private message
toberonenz
n00b
n00b


Joined: 19 Apr 2003
Posts: 15
Location: Auckland, New Zealand

PostPosted: Tue Feb 10, 2004 4:03 am    Post subject: Reply with quote

PurpleSkunk wrote:
I think, in your /etc/make.conf file, that having "mmx" in your USE parameters and no "-fforce_addr" in your CFLAGS resolves the problem.

It worked for me ! :P



Worked for me to ! :lol:
Back to top
View user's profile Send private message
troworld
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2003
Posts: 95
Location: ON, CA

PostPosted: Wed Feb 11, 2004 3:09 am    Post subject: Reply with quote

One just can't live without these forums. Worked for me, too.

Thanks!
Back to top
View user's profile Send private message
pontifikas
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2003
Posts: 138
Location: Greece

PostPosted: Sat Feb 14, 2004 4:09 pm    Post subject: Reply with quote

Had the same problem.
"mmx 3dnow" was the right one.Thanks!
_________________
Crimes against humanity??Dunno!!Maybe that chimp-face guy over there can help you.
Ehrr...don't push him hard though.He's kinda slow.
Back to top
View user's profile Send private message
syph3r2001
n00b
n00b


Joined: 01 Jul 2003
Posts: 44

PostPosted: Mon Feb 23, 2004 5:09 pm    Post subject: Reply with quote

I found

USE="mmx sse sse2" emerge -u transcode

worked for me
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Mon Feb 23, 2004 5:56 pm    Post subject: Reply with quote

thx, "mmx 3dnow" also worked fine for me
Back to top
View user's profile Send private message
steelrose
Apprentice
Apprentice


Joined: 06 May 2002
Posts: 245
Location: Cyprus

PostPosted: Wed Feb 25, 2004 1:29 pm    Post subject: Reply with quote

This happens also with version 0.6.12-r1. The solution is the same
_________________
Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help
Back to top
View user's profile Send private message
rockfly
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 179

PostPosted: Wed Feb 25, 2004 1:39 pm    Post subject: Reply with quote

btw try revdep-rebuild in the gentoolkit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum