Opps sorry...

it's another file

so I did the same patch on gfxdrivers/unichrome/uc_overlay.c

and worked

thanks.


Mensagem original de Iuri Gomes Diniz <[EMAIL PROTECTED]>:

> not yet:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib
> -I../../lib -I../../src -I../../systems -D_REENTRANT -O3 -ffast-math
> -pipe -g3 -fno-inline -D_GNU_SOURCE
> -Werror-implicit-function-declaration -MT uc_overlay.lo -MD -MP -MF
> .deps/uc_overlay.Tpo -c uc_overlay.c  -fPIC -DPIC -o .libs/uc_overlay.o
> In file included from /usr/include/asm/types.h:5,
>                 from ../../systems/fbdev/fbdev.h:31,
>                 from uc_ioctl.h:6,
>                 from uc_overlay.c:14:
> /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
>
> I think the problem is that in /usr/include/asm-x86_64/types.h we have:
>
> 22 typedef __signed__ long long __s64;
> 23 typedef unsigned long long  __u64;
>
>
> and in include/dfb_types.h We have:
>
> 42 #define __s32  s32
> 43 #define __s64  s64
>
> so the typedef's of /usr/include/asm-x86_64/types.h is preprocessed to
>
> typedef __signed__ long long s64
> typedef __signed__ long long u64
>
> so a redefinition occurs.
>
>
> Mensagem original de Mark Adams <[EMAIL PROTECTED]>:
>
>>> 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
>>
>>
>> Oh, that again :-)
>>
>> Can you try the attached patch?
>>
>> Mark
>>
>
>
>
> --
> Iuri Gomes Diniz <adm.iuri (at) digi.com.br>
> Network Admin and Programmer [http://clx.digi.com.br]
> DIGINET [http://www.digi.com.br]
> Natal - RN - Brazil.
>
>
> _______________________________________________________________
> 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
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>



-- 
Iuri Gomes Diniz <adm.iuri (at) digi.com.br>
Network Admin and Programmer [http://clx.digi.com.br]
DIGINET [http://www.digi.com.br]
Natal - RN - Brazil.


_______________________________________________________________
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
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to