Hi there,
I am trying to compile current DirectFB CVS and I'm getting the compilation error at the end of this message.
My setup is a pretty up-to-date gentoo linux with NPTL enabled, linux-headers 2.6.7, kernel 2.6.7 (patched) and currently a few weeks older DirectFB CVS is working (although I'm getting all the time warnings and "unsupported pixelformat" like this one, maybe I should generally stay away from the CVS version for a while, what do you suggest?
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------(*) DirectFB/Core: Multi Application Core. (with MMX support) (2004-06-10 09:46)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 2594)...
(*) DirectFB/Modules: suppress module 'joystick'
(*) DirectFB/Modules: suppress module 'lirc'
(*) DirectFB/Modules: suppress module 'ps2mouse'
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (convergence integrated media GmbH)
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
SDL_DirectFB: Unsupported pixelformat (0x00200806)!
SDL DirectFB_SetVideoMode: [EMAIL PROTECTED], flags: 0x00000000
(!!!) *** WARNING [no video mode set yet] *** [layers.c:536 in dfb_screen_rectangle()]
The output above is from launching freevo, and something very similar happens when launching mplayer, but everything *seems* to be working as it looks OK on TV.
And here is the compilation error:
Making all in keyboard
make[3]: Entering directory `/usr/src/_cvs-versions/DirectFB/inputdrivers/keyboard'
source='keyboard.c' object='keyboard.lo' libtool=yes \
depfile='.deps/keyboard.Plo' tmpdepfile='.deps/keyboard.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE -Werror-implicit-function-declaration -c -o keyboard.lo `test -f keyboard.c || echo './'`keyboard.c
../../libtool: line 1: CC: command not found
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -Wall -O3 -ffast-math -pipe -march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -D_GNU_SOURCE -Werror-implicit-function-declaration -c keyboard.c -MT keyboard.lo -MD -MP -MF .deps/keyboard.TPlo -fPIC -DPIC -o .libs/keyboard.o
In file included from /usr/include/linux/prefetch.h:14,
from /usr/include/linux/list.h:5,
from /usr/include/linux/wait.h:12,
from /usr/include/linux/keyboard.h:4,
from keyboard.c:42:
/usr/include/asm/processor.h: In function `load_esp0':
/usr/include/asm/processor.h:461: error: implicit declaration of function `unlikely'
make[3]: *** [keyboard.lo] Error 1
make[3]: Leaving directory `/usr/src/_cvs-versions/DirectFB/inputdrivers/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/_cvs-versions/DirectFB/inputdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/_cvs-versions/DirectFB'
make: *** [all] Error 2
htpc DirectFB #
Best regards, Lucian
