Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging avifile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Wed Nov 17, 2004 12:47 am    Post subject: Problem emerging avifile Reply with quote

I'm trying to emerge media-video/avifile-0.7.41.20041001-r1 but it fails with this error:

Code:
In file included from postprocess.c:648:
postprocess_template.c: In function `postProcess_MMX':
postprocess_template.c:3172: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
postprocess_template.c:3255: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[3]: *** [postprocess.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/ffmpeg/libavcodec/libpostproc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/ffmpeg/libavcodec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/ffmpeg'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.41.20041001-r1 failed.
!!! Function src_compile, Line 135, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Code:
my emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-nitro3 i686)
=================================================================
System uname: 2.6.9-nitro3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O1 -Wall -march=pentium4 -mcpu=pentium4 -ftracer -fno-thread-jumps -fcse-follow-jumps -fno-merge-constants -fsched-interblock -fprefetch-loop-arrays -falign-labels -fmove-all-movables -fno-omit-frame-pointer -fno-if-conversion2 -fno-defer-pop -maccumulate-outgoing-args -freduce-all-givs -freorder-functions -mno-align-stringops -fno-cprop-registers -falign-jumps -foptimize-sibling-calls"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O1 -Wall -march=pentium4 -mcpu=pentium4 -ftracer -fno-thread-jumps -fcse-follow-jumps -fno-merge-constants -fsched-interblock -fprefetch-loop-arrays -falign-labels -fmove-all-movables -fno-omit-frame-pointer -fno-if-conversion2 -fno-defer-pop -maccumulate-outgoing-args -freduce-all-givs -freorder-functions -mno-align-stringops -fno-cprop-registers -falign-jumps -foptimize-sibling-calls"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cdr crypt dga divx4linux dvd encode esd f77 fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib java joystick jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang sse ssl svga tcpd tiff truetype x86 xml2 xmms xprint xv zlib"

_________________
John5788
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed Nov 17, 2004 12:49 am    Post subject: Reply with quote

I'd watch bug 71360.

EDIT: I'm stupid. You're the one who reported it. :oops:
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
asv
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 138
Location: State College, PA United States

PostPosted: Thu Nov 18, 2004 12:05 am    Post subject: similar issue Reply with quote

I get the following error even with just the basic cflags:

Code:

/bin/sh ../../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include   -DHAVE_AV_CONFIG_H -I./.. -Wall -Wno-unused -I../../../include  -march=pentium4 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -c idct_mmx.c
dsputil_mmx.c: In function `dsputil_init_mmx':
dsputil_mmx.c:3081: warning: assignment from incompatible pointer type
dsputil_mmx.c:3082: warning: assignment from incompatible pointer type
dsputil_mmx.c: In function `transpose4x4':
dsputil_mmx.c:615: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[3]: *** [dsputil_mmx.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -DHAVE_AV_CONFIG_H -I./.. -Wall -Wno-unused -I../../../include -march=pentium4 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c idct_mmx.c  -fPIC -DPIC -o .libs/idct_mmx.o
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/ffmpeg/libavcodec/i386'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/ffmpeg/libavcodec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.41.20041001-r1/work/avifile-0.7-0.7.41/ffmpeg'
make: *** [all-recursive] Error 1

Back to top
View user's profile Send private message
Dodgeram01
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 80
Location: Ville Full of HICKS, USA

PostPosted: Fri Dec 10, 2004 1:12 am    Post subject: Reply with quote

I am experiencing this error as well.

Code:
downstairs greg # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 16 2004, 01:45:17)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups doc encode esd evo f77 fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib java jpeg junit kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png posix ppds python qt quicktime readline samba sandbox scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype usb x86 xml xml2 xmms xv zlib"


I've experienced similar errors with mplayer, however, I was able to resolve them by enabling System V IPC in my kernel.
_________________
Dodge.
Grab Life By The Horns.
Back to top
View user's profile Send private message
Dodgeram01
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 80
Location: Ville Full of HICKS, USA

PostPosted: Sat Dec 11, 2004 4:05 am    Post subject: Reply with quote

I was able to successfully compile avifile tonight with the following command:

Code:
CFLAGS="" emerge ffmpeg avifile


I have not been able to test the software yet, but at least by getting it to compile the first hurdle is potentially cleared.
_________________
Dodge.
Grab Life By The Horns.
Back to top
View user's profile Send private message
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 95

PostPosted: Tue Jan 04, 2005 8:20 pm    Post subject: Reply with quote

I got it to work too

https://forums.gentoo.org/viewtopic.php?p=1942196#1942196
Back to top
View user's profile Send private message
thinknot
n00b
n00b


Joined: 17 Feb 2004
Posts: 27
Location: Austin, TX

PostPosted: Mon Apr 04, 2005 7:34 pm    Post subject: Reply with quote

This can also be caused by disabling the -fomit-frame-pointer CFLAG
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Thu Aug 18, 2005 12:51 pm    Post subject: yet another error Reply with quote

hi all, hope this isnt a duplicate thread cause im @ the library (limited to 1 hour online)
i have looked but cant seem to find this error i get :

Code:
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -O3 -march=athlon-xp -mcpu=athlon-xp -mtune=athlon-xp -ftracer -m3dnow -mmmx -msse -pipe -D_FILE_OFFSET_BITS=64 -D_LOCALE_8859_1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe   -o libaviplaydha.la -rpath /usr/lib -release 0.7 -version-info 0:43:0 cpu_flush.lo irq.lo libdha.lo mtrr.lo pci.lo pci_names.lo mmi.lo ports.lo  -lnsl -ldl
libtool: link: `cpu_flush.lo' is not a valid libtool object
make[3]: *** [libaviplaydha.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/drivers/libdha'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/drivers/libdha'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/drivers'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



with use flags dissabled :

/bin/sh ../../libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++  -O3 -march=athlon-xp -mcpu=athlon-xp -mtune=athlon-xp -ftracer -m3dnow -mmmx -msse -pipe -D_FILE_OFFSET_BITS=64 -D_LOCALE_8859_1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe   -o libaviplay.la   AudioCleaner.lo AudioFpHQResampler.lo AudioIntResampler.lo AudioQueue.lo aviplay.lo aviplay2.lo aviplayprop.lo aviplayth.lo CopyAudioRenderer.lo IAudioRenderer.lo Statistic.lo SunAudioRenderer.lo OssAudioRenderer.lo SdlAudioRenderer.lo  -lnsl -ldl
libtool: link: `AudioCleaner.lo' is not a valid libtool object
make[2]: *** [libaviplay.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib/aviplay'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


with use and cpu optimizations dissabled + WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.9.6" hashed out  :

SOURCE -pipe   -o libaviplay.la   AudioCleaner.lo AudioFpHQResampler.lo AudioIntResampler.lo AudioQueue.lo aviplay.lo aviplay2.lo aviplayprop.lo aviplayth.lo CopyAudioRenderer.lo IAudioRenderer.lo Statistic.lo SunAudioRenderer.lo OssAudioRenderer.lo SdlAudioRenderer.lo  -lnsl -ldl
libtool: link: `AudioCleaner.lo' is not a valid libtool object
make[2]: *** [libaviplay.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib/aviplay'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)


sorry havent included more info these stupid library comps have access to wordpad removed so my notes i brought here all look messed up and in one line in notepad (godamn stupid windows machines)

anyone seen this one before please ???
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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