I am now trying to build xine to be able to display mjpeg files on OpenBSD.
I get the following error attempting to build xine-lib on OpenBSD 3.8:
========
gmake[3]: Entering directory `/home/daf/Xine/xine-lib-1.1.1/src/xine-utils'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../.. -I../../i       nclude -I../../include -I../../src 
-I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-ut       ils 
-I../../intl -I../../intl -I../../src/input -I../../src/input  -I../../lib   
-I/usr/X11R6/include        -mcpu=i386 -O3 -pipe -fomit-frame-pointer 
-falign-functions=4 -falign-loops=4 -falign-jumps=4  -mprefe       
rred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 
-fno-strict-aliasing -ffast-math -fn       o-inline-functions -Wall 
-Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmiss   
    ing-prototypes -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  
 -MT cpu_accel.lo -MD -MP        -MF ".deps/cpu_accel.Tpo" -c -o cpu_accel.lo 
cpu_accel.c; \
then mv -f ".deps/cpu_accel.Tpo" ".deps/cpu_accel.Plo"; else rm -f 
".deps/cpu_accel.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include 
-I../../src -I../../src/x       ine-engine -I../../src/xine-engine 
-I../../src/xine-utils -I../../intl -I../../intl -I../../src/input        
-I../../src/input -I../../lib -I/usr/X11R6/include -mcpu=i386 -O3 -pipe 
-fomit-frame-pointer -falign-f       unctions=4 -falign-loops=4 -falign-jumps=4 
-mpreferred-stack-boundary=2 -fexpensive-optimizations -fsc       hedule-insns2 
-fno-strict-aliasing -ffast-math -fno-inline-functions -Wall -Wnested-externs 
-Wcast-ali       gn -Wchar-subscripts -Wmissing-declarations 
-Wmissing-prototypes -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_       BITS=64 
-DXINE_COMPILE -MT cpu_accel.lo -MD -MP -MF .deps/cpu_accel.Tpo -c cpu_accel.c  
-fPIC -DPIC -o        .libs/cpu_accel.o
In file included from xineutils.h:64,
                 from cpu_accel.c:41:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use 
<stdlib.h>"
cpu_accel.c: In function `arch_accel':
cpu_accel.c:109: error: can't find a register in class `BREG' while reloading 
`asm'
cpu_accel.c:117: error: can't find a register in class `BREG' while reloading 
`asm'
cpu_accel.c:133: error: can't find a register in class `BREG' while reloading 
`asm'
cpu_accel.c:135: error: can't find a register in class `BREG' while reloading 
`asm'
gmake[3]: *** [cpu_accel.lo] Error 1
gmake[3]: Leaving directory `/home/daf/Xine/xine-lib-1.1.1/src/xine-utils'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/daf/Xine/xine-lib-1.1.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/daf/Xine/xine-lib-1.1.1'
gmake: *** [all] Error 2
=======
I don't see any reference to 'BREG' in the source code.
google 'xibe-lib breg openbsd' returns indications of a 
problem with fPIC, but the messages are from 2003.
Can this be made to work with 3.8 or 3.9?

Thanks,
Dave Feustel
-- 
Lose, v., experience a loss, get rid of, "lose the weight"
Loose, adj., not tight, let go, free, "loose clothing"

Reply via email to