DirectFB - Home of the pragmatist Roadmap

[directfb-users] Re: current CVS fails compiling....
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Re: current CVS fails compiling....

Quoting Zoolook:
> 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?

Rebuilding your applications and libraries might help.

Using the CVS version is ok.

> 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'

Seems to be a problem with kernel headers.

Best regards,
  Denis Oliver Kropp

| DirectFB - Hardware accelerated graphics |
|                 |

                            Convergence GmbH

Home | Main Index | Thread Index / Development / Old Archives