Error installing 'avifile-0.7.41,2' (in function `transpose4x4',
dsputil_mmx.c:615).
Elifarley Callado Coelho Cruz
elifarley at gmail.com
Tue Mar 15 12:08:14 PST 2005
I get an error when I try to install avifile (In function
`transpose4x4', dsputil_mmx.c:615: error: can't find a register in
class `GENERAL_REGS' while reloading `asm')
The closest problem I could find using google was this:
http://lists.freebsd.org/pipermail/freebsd-ports/2004-November/017563.html
On that thread, Michael Nottebrock suggested "-march and inline asm
don't always place nice. Tried without yet?"
So, I removed the line "CPUTYPE=i686" from make.conf, to get rid of
the "-march" option, but it didn`t help.
More info below:
% uname -a
FreeBSD dexter.lab 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5
04:19:18 UTC 2004
root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
/etc/make.conf excerpt (I have a pentium 4):
--
#CPUTYPE=i686
CFLAGS= -pipe -funroll-loops -O2 #-fno-unit-at-a-time
# -fdisable-runtime-cpudetection
COPTFLAGS= -pipe -funroll-loops -O2
--
error log:
Installing 'avifile-0.7.41,2' from a port (multimedia/avifile)
[...]
/bin/sh ../../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../../../include -D
HAVE_AV_CONFIG_H -I./.. -I/usr/local/include -I/usr/local/include
-I/usr/X11R6/include -D
_GETOPT_H -Wall -Wno-unused -I../../../include -pipe -funroll-loops
-ffast-math -D_LARG
EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c dsputil_mmx.c
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -DHAVE_AV_CONFIG_H
-I./.. -I/usr/local/incl
ude -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall
-Wno-unused -I../../../inc
lude -pipe -funroll-loops -ffast-math -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -c dsputi
l_mmx.c -fPIC -DPIC -o .libs/dsputil_mmx.o
dsputil_mmx.c: In function `transpose4x4':
dsputil_mmx.c:615: error: can't find a register in class
`GENERAL_REGS' while reloading `a
sm'
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
gmake[3]: *** [dsputil_mmx.lo] Error 1
gmake[3]: Leaving directory
`/volumes/smallFiles/usr-ports/multimedia/avifile/work/avifile
-0.7-0.7.41/ffmpeg/libavcodec/i386'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/volumes/smallFiles/usr-ports/multimedia/avifile/work/avifile
-0.7-0.7.41/ffmpeg/libavcodec'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/volumes/smallFiles/usr-ports/multimedia/avifile/work/avifile
-0.7-0.7.41/ffmpeg'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop in /volumes/smallFiles/usr-ports/multimedia/avifile.
*** Error code 1
:
Stop in /volumes/smallFiles/usr-ports/multimedia/avifile.
! multimedia/avifile (new compiler error)
--
There are 10 types of people in the world:
Those who understand binary and those who don't
More information about the freebsd-ports
mailing list