errors with building xorg (conflicting types for `XF86fpos_t' and undefined reference to `sched_yield')
Jeremy C. Reed
reed at reedmedia.net
Wed Nov 23 09:01:29 PST 2005
Building xc from cvs I get:
making all in programs/Xserver/GL/mesa/main...
...
In file included from /usr/include/wchar.h:73,
from /usr/include/inttypes.h:44,
from glheader.h:83,
from dispatch.c:42:
/usr/include/stdio.h:63: error: conflicting types for `XF86fpos_t'
../../../../../programs/Xserver/include/xf86_libc.h:71: error: previous
declaration of `XF86fpos_t'
/usr/include/stdio.h:139: error: conflicting types for `XF86FILE'
../../../../../programs/Xserver/include/xf86_libc.h:66: error: previous
declaration of `XF86FILE'
/usr/include/stdio.h:225: error: conflicting types for `xf86fprintf'
../../../../../programs/Xserver/include/xf86_ansic.h:177: error: previous
declaration of `xf86fprintf'
/usr/include/stdio.h:230: error: conflicting types for `xf86fscanf'
../../../../../programs/Xserver/include/xf86_ansic.h:184: error: previous
declaration of `xf86fscanf'
/usr/include/stdio.h:248: error: conflicting types for `xf86sscanf'
../../../../../programs/Xserver/include/xf86_ansic.h:231: error: previous
declaration of `xf86sscanf'
*** Error code 1
This happens multiple times.
Another error I get is:
installing in programs/glxgears...
rm -f glxgears
gcc -o glxgears -O2 -fno-strict-aliasing -ansi -Dasm=__asm -Wall
-Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declara
tions -Wredundant-decls -Wnested-externs -Wundef
-L../..
/exports/lib glxgears.o -lGL -lXprintUtil -lXp -lXext -lX11
-L/usr/X11R6/lib
-lm -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath,/usr/pkg/lib
-Wl,-rpath-link,../../e
xports/lib
glxgears.o(.text+0x194f): In function `event_loop':
: undefined reference to `sched_yield'
*** Error code 1
Jeremy C. Reed
open source, Unix, *BSD, Linux training
http://www.pugetsoundtechnology.com/
More information about the xorg
mailing list