Problems building xorg-clients port

Dejan Lesjak dejan.lesjak at ijs.si
Fri Aug 5 10:44:42 GMT 2005


On Friday 05 of August 2005 07:39, Paul Ledbetter III wrote:
> Hello,
>
>    I am unable to build the xorg-clients port.  Advice would be
> appreciated.  I am running into the following error:
>
> cc -O -pipe -ansi -pedantic -Wno-system-headers -Dasm=__asm     -Wall
> -Wpointer-arith -Wundef   -I/usr/ports/x11/xorg-clients/work/xc
> -I/usr/ports/x11/xorg-clients/work/xc/exports/include
> -I/usr/X11R6/include -I/usr/local/include
> -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/config
> -I/usr/ports/x11/xorg-clients/work/xc/exports/include/X11
> -I/usr/ports/x11/xorg-clients/work/xc
> -I/usr/ports/x11/xorg-clients/work/xc/exports/include
> -I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO
> -DMITSHM -DXFT -DXFREE86_FT2 -DXRENDER  -c do_traps.c
> do_traps.c:113: error: syntax error before '*' token
> do_traps.c:113: warning: type defaults to `int' in declaration of `traps'
> do_traps.c:113: error: ISO C forbids data definition with no type or
> storage class
> do_traps.c: In function `InitFixedTraps':
> do_traps.c:129: error: `XTrap' undeclared (first use in this function)
> do_traps.c:129: error: (Each undeclared identifier is reported only once
> do_traps.c:129: error: for each function it appears in.)
> do_traps.c:129: error: `curTrap' undeclared (first use in this function)
> do_traps.c:130: warning: ISO C90 forbids mixed declarations and code
> do_traps.c:144: error: syntax error before ')' token
> do_traps.c:207: warning: value computed is not used
> do_traps.c: In function `DoFixedTraps':
> do_traps.c:248: warning: implicit declaration of function `XRenderAddTraps'
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients/work/xc/programs/x11perf.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients.

Are your other ports up to date? Specifically xorg-libraries should be of the 
same version as xorg-clients, as well as imake. What is the FreeBSD version 
and what version of xorg-clients are you trying to build?


Dejan


More information about the freebsd-x11 mailing list