Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2005 20:24:13 -0800
From:      Eric Anholt <eta@lclark.edu>
To:        Sven Wolf <receive.mailinglists@fusion-zone.net>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: xorg and do_traps.c compile problem
Message-ID:  <1107923053.852.65.camel@leguin>
In-Reply-To: <42094995.7050609@fusion-zone.net>
References:  <42094995.7050609@fusion-zone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2005-02-09 at 00:21 +0100, Sven Wolf wrote:
> Hello,
> 
> I try to install the xorg port on a FreeBSD 5.3 System but I get 
> following error message:
> 
> do_traps.c:113: error: ISO C forbids data definition with no type or 
> storage cla
> ss
> 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

When upgrading X.Org you must use portupgrade -R.  (alternatively,
install imake, then xorg-libraries, then any other port from xorg)

-- 
Eric Anholt                                eta@lclark.edu          
http://people.freebsd.org/~anholt/         anholt@FreeBSD.org



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