xorg and do_traps.c compile problem

Eric Anholt eta at lclark.edu
Tue Feb 8 20:24:17 PST 2005


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 at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org


More information about the freebsd-x11 mailing list