Package: directfb
Version: 0.9.22-4
Severity: important

Hi,

Your package is failing to build on amd64 with the following
error:
 gcc -DHAVE_CONFIG_H -I. -I../../../systems/fbdev -I../..  -I../../../include -I
../../include -I../../lib -I../../../lib -I../../../src -D_REENTRANT -Wall -O3
-ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT fbdev
.lo -MD -MP -MF .deps/fbdev.Tpo -c ../../../systems/fbdev/fbdev.c -fPIC -DPIC
-o .libs/fbdev.o
In file included from ../../../systems/fbdev/fb.h:4,
                 from ../../../systems/fbdev/fbdev.h:38,
                 from ../../../systems/fbdev/fbdev.c:79:
/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'
../../../systems/fbdev/fbdev.c: In function `system_initialize':
../../../systems/fbdev/fbdev.c:369: warning: cast from pointer to integer of di
fferent size
../../../systems/fbdev/fbdev.c: In function `system_join':
../../../systems/fbdev/fbdev.c:483: warning: cast from pointer to integer of di
fferent size
../../../systems/fbdev/fbdev.c: In function `system_map_mmio':
../../../systems/fbdev/fbdev.c:613: warning: cast from pointer to integer of di
fferent size
make[4]: *** [fbdev.lo] Error 1


The problem is that fb.h includes <asm/types.h> intead of
<sys/types.h>.  Including asm/* directly is almost always a bad
thing to do.

If I replace it with <sys/types.h> it builds more without
erorrs, but then has about the same problem with
keyboard.c including <linux/input.h>, which includes
<asm/types.h>.

Maybe this should get reassigned to linux-kernel-headers?
I currently have 2.5.999-test7-bk-17 installed.


PS: It gives nice warnings about cast from/to
pointer/integer.  I suggest you look at such warnings,
since they ussually indicate 64 bit portability problems.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to