error compiling driver/xf86-video-ast: conflicting types for 'xf86memmove'

Carlos Eduardo Rodrigues Diógenes cerdiogenes at yahoo.com.br
Mon May 22 13:51:25 PDT 2006


Hi,

While compiling the xf86-video-ast I get the following error:

...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/home/kadu/modular/include/xorg
-I/home/kadu/modular/include -g -MT ast_vgatool.lo -MD -MP
-MF .deps/ast_vgatool.Tpo -c ast_vgatool.c  -fPIC -DPIC
-o .libs/ast_vgatool.o
In file included from ast.h:23,
                 from ast_vgatool.c:58:
/usr/include/string.h:293: error: conflicting types for 'xf86memmove'
/usr/include/string.h:44: error: previous declaration of 'xf86memmove'
was here
/usr/include/string.h:296: error: conflicting types for 'xf86bzero'
/home/kadu/modular/include/xorg/xf86_ansic.h:295: error: previous
declaration of 'xf86bzero' was here
In file included from /usr/include/stdlib.h:433,
                 from ast.h:24,
                 from ast_vgatool.c:58:
/usr/include/sys/types.h:62: error: conflicting types for 'xf86dev_t'
/home/kadu/modular/include/xorg/xf86_libc.h:87: error: previous
declaration of 'xf86dev_t' was here
/usr/include/sys/types.h:110: error: conflicting types for 'xf86ssize_t'
/home/kadu/modular/include/xorg/xf86_libc.h:86: error: previous
declaration of 'xf86ssize_t' was here
In file included from /usr/include/stdlib.h:433,
                 from ast.h:24,
                 from ast_vgatool.c:58:
/usr/include/sys/types.h:151: error: duplicate 'unsigned'
In file included from ast.h:24,
                 from ast_vgatool.c:58:
/usr/include/stdlib.h:440:29: error: macro "random" passed 1 arguments,
but takes just 0
/usr/include/stdlib.h:622:24: error: macro "abort" passed 1 arguments,
but takes just 0
make[2]: *** [ast_vgatool.lo] Error 1
make[2]: Leaving directory `/home/kadu/src/driver/xf86-video-ast/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kadu/src/driver/xf86-video-ast'
make: *** [all] Error 2

Any help with this will be very appreciated.

Thanks.
-- 
Carlos Eduardo Rodrigues Diógenes




More information about the xorg mailing list