Compile errors with xorg 6.8.1 on 4.11-RELEASE
Eric Anholt
eta at lclark.edu
Thu Jan 27 08:25:05 PST 2005
On Thu, 2005-01-27 at 09:49 +0100, Stefan Midjich wrote:
> Hi
>
> This is important for me to fix as i decided to wipe my laptop hdd and
> do it all over again at the same time as 4.11 was released so now i'm
> stuck with nothing to use for development at home so please help me if
> anyone here recognizes what this problem could be.
>
> Here is what happens:
> ===========================================================================
> HM -DXFT -DXFREE86_FT2 -DXRENDER -c do_traps.c
> do_traps.c:113: syntax error before `*'
> do_traps.c:113: warning: type defaults to `int' in declaration of `traps'
> do_traps.c:113: ANSI C forbids data definition with no type or storage class
> do_traps.c: In function `InitFixedTraps':
> do_traps.c:129: `XTrap' undeclared (first use in this function)
> do_traps.c:129: (Each undeclared identifier is reported only once
> do_traps.c:129: for each function it appears in.)
> do_traps.c:129: `curTrap' undeclared (first use in this function)
> do_traps.c:129: warning: statement with no effect
> do_traps.c:130: syntax error before `color'
> do_traps.c:136: `major' undeclared (first use in this function)
> do_traps.c:136: `minor' undeclared (first use in this function)
> do_traps.c:144: syntax error before `)'
> do_traps.c:154: `depth' undeclared (first use in this function)
> do_traps.c:155: `width' undeclared (first use in this function)
> do_traps.c:163: `std_fmt' undeclared (first use in this function)
> do_traps.c:164: warning: unreachable code at beginning of switch statement
> do_traps.c:178: `color' undeclared (first use in this function)
> 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 updating x.org, you need to use portupgrade unless you know what
you're doing. In this case, the issue is trying to build xorg-clients
before having built xorg-libraries.
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
More information about the freebsd-x11
mailing list