George Yil wrote:
> Hi,
>
> I have the latest cvs of all. I am trying to compile DirectFB-extra.
> Here is the error:
>
> make all-recursive
> make[1]: Entering directory
> `/home/add-on/core/directfb/cvs/latest/DirectFB-extra'
> Making all in lib
> make[2]: Entering directory
> `/home/add-on/core/directfb/cvs/latest/DirectFB-extra/lib'
> Making all in dvc
> make[3]: Entering directory
> `/home/add-on/core/directfb/cvs/latest/DirectFB-extra/lib/dvc'
> if /bin/sh ../../libtool --tag=CC --mode=compile
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT
> -I/usr/local/include/directfb -D_GNU_SOURCE -D_REENTRANT
> -I/usr/local/include/directfb-internal -I/usr/local/include/directfb
> -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0 -g -O2
> -Werror-implicit-function-declaration -MT
> dvc.lo -MD -MP -MF ".deps/dvc.Tpo" -c -o dvc.lo dvc.c; \
> then mv -f ".deps/dvc.Tpo" ".deps/dvc.Plo"; else
> rm -f ".deps/dvc.Tpo"; exit 1; fi
> mkdir .libs
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT
> -I/usr/local/include/directfb -D_GNU_SOURCE -D_REENTRANT
> -I/usr/local/include/directfb-internal -I/usr/local/include/directfb
> -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0 -g -O2
> -Werror-implicit-function-declaration -MT
> dvc.lo -MD -MP -MF .deps/dvc.Tpo -c dvc.c -fPIC -DPIC -o .libs/dvc.o
> dvc_mmx.h: In function `Store_RGB16_LE_MMX':
> dvc_mmx.h:231: error: can't find a register in class `GENERAL_REGS' while
> reloading `asm'
Really strange! That function uses only 3 registers!
It's seems like a compiler bug. Which version of gcc are you using?
You can pass --disable-mmx to configure to avoid building that code.
--
Regards,
Claudio Ciccani
[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users