Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2005 12:44:26 +0200
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org, Paul Ledbetter III <ledbetter.paul@gmail.com>
Subject:   Re: Problems building xorg-clients port
Message-ID:  <200508051244.27097.dejan.lesjak@ijs.si>
In-Reply-To: <200507250807.j6P87KF1091067@freefall.freebsd.org>
References:  <4523c6cc05080422392ba4e080@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508051244.27097.dejan.lesjak>