Denis Oliver Kropp wrote:

Quoting Duncan Webb:
Anybody help me with this compile error on a amd64 system. Using cvs version as of today.

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include -I../../../lib -I../../../lib -DDATADIR=\"/usr/share/directfb-0.9.24\" -DMODULEDIR=\"/usr/lib/directfb-0.9.24\" -D_REENTRANT -Wall -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT shmalloc.lo -MD -MP -MF .deps/shmalloc.Tpo -c shmalloc.c -fPIC -DPIC -o .libs/shmalloc.o
In file included from /usr/include/linux/fusion.h:5,
               from ../../../lib/fusion/fusion_internal.h:44,
               from shmalloc.c:72:
/usr/include/asm/types.h:23: error: conflicting types for 'int64_t'
/usr/include/sys/types.h:194: error: previous declaration of 'int64_t' was here
/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' was here

The only workaround I know is to include <asm/types.h> before <sys/types.h>.

I commented out the <asm/types.h> in /usr/include/linux/fusion.h and that allowed me to build DirectFB.

Thanks Denis
Duncan


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to