Hi people,
When I trying to compile directfb 1.0.0-rc4 on my AMD64 I got some errors like
this:
In file included from /usr/include/asm/types.h:5,
from ../../systems/fbdev/fbdev.h:31,
from uc_ioctl.h:6,
from unichrome.c:48:
/usr/include/asm-x86_64/types.h:22: error: conflicting types for 's64'
../../include/dfb_types.h:31: error: previous declaration of 's64' was here
/usr/include/asm-x86_64/types.h:23: error: conflicting types for 'u64'
../../include/dfb_types.h:26: error: previous declaration of 'u64' was here
Seems a conflict of macro substitution with the types __u64/__u32 of
/usr/include/asm-x86_64/types.h
I can compile by doing this ugly workaround (include/dfb_types.h lines 35~40):
------------
#if 0
#ifndef DIRECTFB_NO_CRUFT
#define __u8 u8
#define __u16 u16
#define __u32 u32
#define __u64 u64
#define __s8 s8
#define __s16 s16
#define __s32 s32
#define __s64 s64
#endif
#endif
----------------------
Then I got errors like:
memcpy.c: In function 'generic64_memcpy':
memcpy.c:66: error: expected '=', ',', ';', 'asm' or '__attritoken
Then I change 'if 0' to 'if 1' and the file time: touch -t 7001010000
include/dfb_types.h)
I know nothing about DirectFB internals, this is a ugly workaround, I hope
somenone will fix it.
thanks.
my configure line:
./configure --enable-x11 --enable-zlib --enable-multi --enable-debug
--prefix=/home/iuri/cross/installs/directfb-1.0.0
--
Iuri Gomes Diniz <iuri (at) digizap.com.br>
http://clx.digi.com.br
_______________________________________________________________
Na Digizap você tem 5GB de espaço para dividir como quiser em
até 50 contas de email!
Ligue e assine: 4008-9000
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users