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

hmm, do I miss some package or is this a real problem?



Hi again,

Well, now I've gotten to the point of starting actually make my installation
useful. And in order to make it useful, I need DirectFB (www.directfb.org). But
the version in sid repository is 0.9.20 and I need a newer one. So I grabbed the
source package from the website and tried to compile it, and I get:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib
-I../../src -I../../systems -D_REENTRANT -Wall -O3 -ffast-math -pipe
-D_GNU_SOURCE -Werror-implicit-function-declaration -MT matrox_crtc2.lo -MD -MP
-MF .deps/matrox_crtc2.Tpo -c matrox_crtc2.c  -fPIC -DPIC -o .libs/matrox_crtc2.o
In file included from /usr/include/linux/fb.h:5,
                 from ../../systems/fbdev/fbdev.h:31,
                 from matrox_crtc2.c:54:
/usr/include/asm/types.h:23: error: conflicting types for `int64_t'
/usr/include/sys/types.h:194: error: previous declaration of `int64_t'
/usr/include/asm/types.h:24: error: conflicting types for `u_int64_t'
/usr/include/sys/types.h:200: error: previous declaration of `u_int64_t'
make[3]: *** [matrox_crtc2.lo] Error 1

Now, I'm not sure if directfb is just not 64bit clean or if I'm missing some
package or something...but I suspect its maybe my installation that's missing
something, because:

1. There's no complaining on the directfb mailing-lists :)
2. At least Gentoo is shipping 0.9.22 but there doesn't seem to be any patches.

And also, a related question: in order to run multiple directfb applications at
the same time, it needs a 'fusion' kernel module (some ipc system). I'm using
the latest kernel-image from debian repository, and when I try to compile the
module (it's possible to compile it out-of-tree at least with self compiled
kernels...) I get:

make -C /lib/modules/2.6.11-9-amd64-k8/build \
CPPFLAGS="-D__KERNEL__ -I`pwd`/linux/include
-I/lib/modules/2.6.11-9-amd64-k8/build/include" \
        SUBDIRS=`pwd`/linux/drivers/char/fusion modules
make: *** /lib/modules/2.6.11-9-amd64-k8/build: No such file or directory. Stop.
make: *** [all] Error 2

and indeed, there is no 'build' directory. anyway to have it without building
the kernel (well that's not really a problem, out of interest).

Thanks in advance, juhis



Reply to: