I’m trying to compile SDL from the devel branch of CVS from today on BeOS.
Things start out really well, but unceremoniously die with:
(cd . && ln -s SDL_yuv_sw.o SDL_yuv_sw.lo)
gcc -c -o SDL_yuv_mmx.lo SDL_yuv_mmx.c -g -O2 -DUSE_ASMBLIT -I./hermes
-I…/…/src/hermes -DENABLE_BWINDOW -DHAVE_OPENGL -I…/…/include
-I…/…/include/SDL -I…/…/src -I…/…/src/beos -I…/…/src/main
-I…/…/src/audio -I…/…/src/video -I…/…/src/events
-I…/…/src/joystick -I…/…/src/cdrom -I…/…/src/thread
-I…/…/src/timer -I…/…/src/endian -I…/…/src/file
/boot/home/SDL/src/video/SDL_yuv_mmx.c: In function
ColorRGBDitherYV12MMX1X': /boot/home/SDL/src/video/SDL_yuv_mmx.c:206: Invalid
asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:206: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
/boot/home/SDL/src/video/SDL_yuv_mmx.c: In function
Color565DitherYV12MMX1X': /boot/home/SDL/src/video/SDL_yuv_mmx.c:376: Invalid
asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:376: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
make[3]: *** [SDL_yuv_mmx.lo] Error 1
make[3]: Leaving directory /boot/home/SDL/src/video' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/boot/home/SDL/src/video’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/boot/home/SDL/src’
make: *** [all-recursive] Error 1
Any help with this would be appreciated Thanks.
Adam Kirchhoff
Hiya
I’m trying to compile SDL from the devel branch of CVS from today on BeOS.
Things start out really well, but unceremoniously die with:
(cd . && ln -s SDL_yuv_sw.o SDL_yuv_sw.lo)
gcc -c -o SDL_yuv_mmx.lo SDL_yuv_mmx.c -g -O2 -DUSE_ASMBLIT -I./hermes
-I…/…/src/hermes -DENABLE_BWINDOW -DHAVE_OPENGL -I…/…/include
-I…/…/include/SDL -I…/…/src -I…/…/src/beos -I…/…/src/main
-I…/…/src/audio -I…/…/src/video -I…/…/src/events
-I…/…/src/joystick -I…/…/src/cdrom -I…/…/src/thread
-I…/…/src/timer -I…/…/src/endian -I…/…/src/file
/boot/home/SDL/src/video/SDL_yuv_mmx.c: In function
ColorRGBDitherYV12MMX1X': /boot/home/SDL/src/video/SDL_yuv_mmx.c:206: Invalid
asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:206: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
/boot/home/SDL/src/video/SDL_yuv_mmx.c: In function
Color565DitherYV12MMX1X': /boot/home/SDL/src/video/SDL_yuv_mmx.c:376: Invalid
asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:376: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
Try compiling this sourcefile with the ‘-fnopic’ option. If that doesn’t
work,
try it without defining USE_ASMBLIT.
BTW, I’ve never figured out what the .lo extension means. If it’s just a
standard object file, why doesn’t it have a .o extension?–
C-YA
Jon
http://www.dookie.demon.co.uk
Jonathan Belson wrote:
Hiya
I’m trying to compile SDL from the devel branch of CVS from today on BeOS.
Things start out really well, but unceremoniously die with:
(cd . && ln -s SDL_yuv_sw.o SDL_yuv_sw.lo)
gcc -c -o SDL_yuv_mmx.lo SDL_yuv_mmx.c -g -O2 -DUSE_ASMBLIT -I./hermes
-I…/…/src/hermes -DENABLE_BWINDOW -DHAVE_OPENGL -I…/…/include
-I…/…/include/SDL -I…/…/src -I…/…/src/beos -I…/…/src/main
-I…/…/src/audio -I…/…/src/video -I…/…/src/events
-I…/…/src/joystick -I…/…/src/cdrom -I…/…/src/thread
-I…/…/src/timer -I…/…/src/endian -I…/…/src/file
/boot/home/SDL/src/video/SDL_yuv_mmx.c: In function
ColorRGBDitherYV12MMX1X': /boot/home/SDL/src/video/SDL_yuv_mmx.c:206: Invalid
asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:206: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
/boot/home/SDL/src/video/SDL_yuv_mmx.c: In function
Color565DitherYV12MMX1X': /boot/home/SDL/src/video/SDL_yuv_mmx.c:376: Invalid
asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:376: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
Try compiling this sourcefile with the ‘-fnopic’ option. If that doesn’t
work,
try it without defining USE_ASMBLIT.
BTW, I’ve never figured out what the .lo extension means. If it’s just a
standard object file, why doesn’t it have a .o extension?
–
C-YA
Jon
http://www.dookie.demon.co.uk
AFAIK it has something to do with libtool–
Paulo Pinto, uRD Software Engineer
Altitude Software (formerly Easyphone)
paulo.pinto at altitudesoftware.com
www.altitudesoftware.com
The opinions expressed by myself are personal and not of my employer.
Use Linux. The choice of a free generation.
slouken
September 22, 2000, 8:47pm
4
I’m trying to compile SDL from the devel branch of CVS from today on BeOS.
Things start out really well, but unceremoniously die with:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:206: Invalid `asm’ statement:
/boot/home/SDL/src/video/SDL_yuv_mmx.c:206: fixed or forbidden register 3
(bx) was spilled for class GENERAL_REGS.
This should be fixed with the latest CVS.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software