[Openchrome-users] build error

Andrew Blackthorn a.blackthorn
Fri Aug 3 21:47:28 PDT 2007


I get the following error when attempting to build:

In file included from via.h:31,
                 from via_accel.c:44:
/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: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'
/usr/X11R7/include/xorg/xf86_ansic.h:294: error: previous declaration of
'xf86bzero' was here
/usr/include/string.h:296: error: conflicting types for 'xf86bzero'
/usr/X11R7/include/xorg/xf86_ansic.h:294: error: previous declaration of
'xf86bzero' was here
In file included from via.h:32,
                 from via_accel.c:44:
/usr/include/stdio.h:46: error: conflicting types for 'XF86FILE'
/usr/X11R7/include/xorg/xf86_libc.h:66: error: previous declaration of
'XF86FILE' was here
In file included from via.h:32,
                 from via_accel.c:44:
/usr/include/stdio.h:88: error: conflicting types for 'XF86fpos_t'
/usr/X11R7/include/xorg/xf86_libc.h:71: error: previous declaration of
'XF86fpos_t' was here
In file included from via.h:32,
                 from via_accel.c:44:
/usr/include/stdio.h:142: error: conflicting types for 'xf86stdin'
/usr/X11R7/include/xorg/xf86_libc.h:67: error: previous declaration of
'xf86stdin' was here
/usr/include/stdio.h:142: error: conflicting types for 'xf86stdin'
/usr/X11R7/include/xorg/xf86_libc.h:67: error: previous declaration of
'xf86stdin' was here
/usr/include/stdio.h:143: error: conflicting types for 'xf86stdout'
/usr/X11R7/include/xorg/xf86_libc.h:68: error: previous declaration of
'xf86stdout' was here
/usr/include/stdio.h:143: error: conflicting types for 'xf86stdout'
/usr/X11R7/include/xorg/xf86_libc.h:68: error: previous declaration of
'xf86stdout' was here
/usr/include/stdio.h:144: error: conflicting types for 'xf86stderr'
/usr/X11R7/include/xorg/xf86_libc.h:69: error: previous declaration of
'xf86stderr' was here
/usr/include/stdio.h:144: error: conflicting types for 'xf86stderr'
/usr/X11R7/include/xorg/xf86_libc.h:69: error: previous declaration of
'xf86stderr' was here
In file included from via.h:32,
                 from via_accel.c:44:
/usr/include/stdio.h:164:27: macro "tmpfile" passed 1 arguments, but takes
just 0
/usr/include/stdio.h:206: error: conflicting types for 'xf86fclose'
/usr/X11R7/include/xorg/xf86_ansic.h:163: error: previous declaration of
'xf86fclose' was here
/usr/include/stdio.h:206: error: conflicting types for 'xf86fclose'
/usr/X11R7/include/xorg/xf86_ansic.h:163: error: previous declaration of
'xf86fclose' was here
/usr/include/stdio.h:211: error: conflicting types for 'xf86fflush'
/usr/X11R7/include/xorg/xf86_ansic.h:166: error: previous declaration of
'xf86fflush' was here
/usr/include/stdio.h:211: error: conflicting types for 'xf86fflush'
/usr/X11R7/include/xorg/xf86_ansic.h:166: error: previous declaration of
'xf86fflush' was here
/usr/include/stdio.h:241: error: conflicting types for 'xf86fopen'
/usr/X11R7/include/xorg/xf86_ansic.h:174: error: previous declaration of
'xf86fopen' was here
/usr/include/stdio.h:241: error: conflicting types for 'xf86fopen'
/usr/X11R7/include/xorg/xf86_ansic.h:174: error: previous declaration of
'xf86fopen' was here
/usr/include/stdio.h:247: error: conflicting types for 'xf86freopen'
/usr/X11R7/include/xorg/xf86_ansic.h:182: error: previous declaration of
'xf86freopen' was here
/usr/include/stdio.h:247: error: conflicting types for 'xf86freopen'
/usr/X11R7/include/xorg/xf86_ansic.h:182: error: previous declaration of
'xf86freopen' was here
/usr/include/stdio.h:297: error: conflicting types for 'xf86setbuf'
/usr/X11R7/include/xorg/xf86_ansic.h:224: error: previous declaration of
'xf86setbuf' was here
/usr/include/stdio.h:297: error: conflicting types for 'xf86setbuf'
/usr/X11R7/include/xorg/xf86_ansic.h:224: error: previous declaration of
'xf86setbuf' was here
/usr/include/stdio.h:301: error: conflicting types for 'xf86setvbuf'
/usr/X11R7/include/xorg/xf86_ansic.h:225: error: previous declaration of
'xf86setvbuf' was here
/usr/include/stdio.h:301: error: conflicting types for 'xf86setvbuf'
/usr/X11R7/include/xorg/xf86_ansic.h:225: error: previous declaration of
'xf86setvbuf' was here
/usr/include/stdio.h:322: error: conflicting types for 'xf86fprintf'
/usr/X11R7/include/xorg/xf86_ansic.h:177: error: previous declaration of
'xf86fprintf' was here
/usr/include/stdio.h:322: error: conflicting types for 'xf86fprintf'
/usr/X11R7/include/xorg/xf86_ansic.h:177: error: previous declaration of
'xf86fprintf' was here
/usr/include/stdio.h:336: error: conflicting types for 'xf86vfprintf'
/usr/X11R7/include/xorg/xf86_ansic.h:264: error: previous declaration of
'xf86vfprintf' was here
/usr/include/stdio.h:336: error: conflicting types for 'xf86vfprintf'
/usr/X11R7/include/xorg/xf86_ansic.h:264: error: previous declaration of
'xf86vfprintf' was here
/usr/include/stdio.h:394: error: conflicting types for 'xf86fscanf'
/usr/X11R7/include/xorg/xf86_ansic.h:184: error: previous declaration of
'xf86fscanf' was here
/usr/include/stdio.h:394: error: conflicting types for 'xf86fscanf'
/usr/X11R7/include/xorg/xf86_ansic.h:184: error: previous declaration of
'xf86fscanf' was here
/usr/include/stdio.h:402: error: conflicting types for 'xf86sscanf'
/usr/X11R7/include/xorg/xf86_ansic.h:231: error: previous declaration of
'xf86sscanf' was here
/usr/include/stdio.h:402: error: conflicting types for 'xf86sscanf'
/usr/X11R7/include/xorg/xf86_ansic.h:231: error: previous declaration of
'xf86sscanf' was here
/usr/include/stdio.h:435: error: conflicting types for 'xf86fgetc'
/usr/X11R7/include/xorg/xf86_ansic.h:167: error: previous declaration of
'xf86fgetc' was here
/usr/include/stdio.h:435: error: conflicting types for 'xf86fgetc'
/usr/X11R7/include/xorg/xf86_ansic.h:167: error: previous declaration of
'xf86fgetc' was here
/usr/include/stdio.h:436: error: conflicting types for 'xf86getc'
/usr/X11R7/include/xorg/xf86_ansic.h:168: error: previous declaration of
'xf86getc' was here
/usr/include/stdio.h:436: error: conflicting types for 'xf86getc'
/usr/X11R7/include/xorg/xf86_ansic.h:168: error: previous declaration of
'xf86getc' was here
/usr/include/stdio.h:477: error: conflicting types for 'xf86fputc'
/usr/X11R7/include/xorg/xf86_ansic.h:178: error: previous declaration of
'xf86fputc' was here
/usr/include/stdio.h:477: error: conflicting types for 'xf86fputc'
/usr/X11R7/include/xorg/xf86_ansic.h:178: error: previous declaration of
'xf86fputc' was here
/usr/include/stdio.h:484: error: parse error before "xf86stdout"
/usr/include/stdio.h:526: error: conflicting types for 'xf86fgets'
/usr/X11R7/include/xorg/xf86_ansic.h:170: error: previous declaration of
'xf86fgets' was here
/usr/include/stdio.h:526: error: conflicting types for 'xf86fgets'
/usr/X11R7/include/xorg/xf86_ansic.h:170: error: previous declaration of
'xf86fgets' was here
/usr/include/stdio.h:583: error: conflicting types for 'xf86fputs'
/usr/X11R7/include/xorg/xf86_ansic.h:179: error: previous declaration of
'xf86fputs' was here
/usr/include/stdio.h:583: error: conflicting types for 'xf86fputs'
/usr/X11R7/include/xorg/xf86_ansic.h:179: error: previous declaration of
'xf86fputs' was here
/usr/include/stdio.h:589: error: parse error before "xf86stdout"
/usr/include/stdio.h:596: error: conflicting types for 'xf86ungetc'
/usr/X11R7/include/xorg/xf86_ansic.h:263: error: previous declaration of
'xf86ungetc' was here
/usr/include/stdio.h:596: error: conflicting types for 'xf86ungetc'
/usr/X11R7/include/xorg/xf86_ansic.h:263: error: previous declaration of
'xf86ungetc' was here
/usr/include/stdio.h:603: error: conflicting types for 'xf86fread'
/usr/X11R7/include/xorg/xf86_ansic.h:180: error: previous declaration of
'xf86fread' was here
/usr/include/stdio.h:603: error: conflicting types for 'xf86fread'
/usr/X11R7/include/xorg/xf86_ansic.h:180: error: previous declaration of
'xf86fread' was here
/usr/include/stdio.h:609: error: conflicting types for 'xf86fwrite'
/usr/X11R7/include/xorg/xf86_ansic.h:192: error: previous declaration of
'xf86fwrite' was here
/usr/include/stdio.h:609: error: conflicting types for 'xf86fwrite'
/usr/X11R7/include/xorg/xf86_ansic.h:192: error: previous declaration of
'xf86fwrite' was here
/usr/include/stdio.h:643: error: conflicting types for 'xf86fseek'
/usr/X11R7/include/xorg/xf86_ansic.h:189: error: previous declaration of
'xf86fseek' was here
/usr/include/stdio.h:643: error: conflicting types for 'xf86fseek'
/usr/X11R7/include/xorg/xf86_ansic.h:189: error: previous declaration of
'xf86fseek' was here
/usr/include/stdio.h:648: error: conflicting types for 'xf86ftell'
/usr/X11R7/include/xorg/xf86_ansic.h:191: error: previous declaration of
'xf86ftell' was here
/usr/include/stdio.h:648: error: conflicting types for 'xf86ftell'
/usr/X11R7/include/xorg/xf86_ansic.h:191: error: previous declaration of
'xf86ftell' was here
/usr/include/stdio.h:653: error: conflicting types for 'xf86rewind'
/usr/X11R7/include/xorg/xf86_ansic.h:223: error: previous declaration of
'xf86rewind' was here
/usr/include/stdio.h:653: error: conflicting types for 'xf86rewind'
/usr/X11R7/include/xorg/xf86_ansic.h:223: error: previous declaration of
'xf86rewind' was here
/usr/include/stdio.h:692: error: conflicting types for 'xf86fgetpos'
/usr/X11R7/include/xorg/xf86_ansic.h:169: error: previous declaration of
'xf86fgetpos' was here
/usr/include/stdio.h:692: error: conflicting types for 'xf86fgetpos'
/usr/X11R7/include/xorg/xf86_ansic.h:169: error: previous declaration of
'xf86fgetpos' was here
/usr/include/stdio.h:697: error: conflicting types for 'xf86fsetpos'
/usr/X11R7/include/xorg/xf86_ansic.h:190: error: previous declaration of
'xf86fsetpos' was here
/usr/include/stdio.h:697: error: conflicting types for 'xf86fsetpos'
/usr/X11R7/include/xorg/xf86_ansic.h:190: error: previous declaration of
'xf86fsetpos' was here
/usr/include/stdio.h:720: error: conflicting types for 'xf86clearerr'
/usr/X11R7/include/xorg/xf86_ansic.h:158: error: previous declaration of
'xf86clearerr' was here
/usr/include/stdio.h:720: error: conflicting types for 'xf86clearerr'
/usr/X11R7/include/xorg/xf86_ansic.h:158: error: previous declaration of
'xf86clearerr' was here
/usr/include/stdio.h:722: error: conflicting types for 'xf86feof'
/usr/X11R7/include/xorg/xf86_ansic.h:164: error: previous declaration of
'xf86feof' was here
/usr/include/stdio.h:722: error: conflicting types for 'xf86feof'
/usr/X11R7/include/xorg/xf86_ansic.h:164: error: previous declaration of
'xf86feof' was here
/usr/include/stdio.h:724: error: conflicting types for 'xf86ferror'
/usr/X11R7/include/xorg/xf86_ansic.h:165: error: previous declaration of
'xf86ferror' was here
/usr/include/stdio.h:724: error: conflicting types for 'xf86ferror'
/usr/X11R7/include/xorg/xf86_ansic.h:165: error: previous declaration of
'xf86ferror' was here
In file included from /usr/include/stdio.h:828,
                 from via.h:32,
                 from via_accel.c:44:
/usr/include/bits/stdio.h: In function `vprintf':
/usr/include/bits/stdio.h:36: error: `stdout' undeclared (first use in
this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is
reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h: In function `getchar':
/usr/include/bits/stdio.h:43: error: `stdin' undeclared (first use in this
function)
/usr/include/bits/stdio.h: In function `getchar_unlocked':
/usr/include/bits/stdio.h:59: error: `stdin' undeclared (first use in this
function)
/usr/include/bits/stdio.h: At top level:
/usr/include/bits/stdio.h:66: error: parse error before "xf86stdout"
/usr/include/bits/stdio.h: In function `xf86fputc':
/usr/include/bits/stdio.h:67: error: number of arguments doesn't match
prototype
/usr/include/stdio.h:484: error: prototype declaration
/usr/include/bits/stdio.h:68: error: `__c' undeclared (first use in this
function)
/usr/include/bits/stdio.h:68: error: `stdout' undeclared (first use in
this function)
/usr/include/bits/stdio.h: In function `putchar_unlocked':
/usr/include/bits/stdio.h:94: error: `stdout' undeclared (first use in
this function)
In file included from /usr/include/stdlib.h:433,
                 from via.h:35,
                 from via_accel.c:44:
/usr/include/sys/types.h: At top level:
/usr/include/sys/types.h:62: error: conflicting types for 'xf86dev_t'
/usr/X11R7/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'
/usr/X11R7/include/xorg/xf86_libc.h:86: error: previous declaration of
'xf86ssize_t' was here
In file included from via.h:35,
                 from via_accel.c:44:
/usr/include/stdlib.h:622:24: macro "abort" passed 1 arguments, but takes
just 0
via_accel.c: In function `viaAccelTextureBlit':
via_accel.c:2712: warning: passing arg 2 of `viaOrder' from incompatible
pointer type
via_accel.c:2713: warning: passing arg 2 of `viaOrder' from incompatible
pointer type
make[2]: *** [via_accel.lo] Error 1
make[2]: Leaving directory `/usr/src/openchrome-experimental/unichrome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/openchrome-experimental'
make: *** [all] Error 2


The same error occurs with both the experimental and trunk branch.

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20070804/2235543b/attachment-0001.html



More information about the Openchrome-users mailing list