Re: Broken X driver

Matthieu Herrb <[email protected]> Sat, 28 Nov 2009 08:26:02 +0000
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
James Hartley wrote:
> On Fri, Nov 27, 2009 at 2:48 AM, Matthieu Herrb <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     STeve Andre' wrote:
>     > This is on a i386-current system as of a few minutes ago.
> 
>     Fixed now. Sorry for the breakage.
> 
> Thanks, Matthieu for addressing this so quickly.
> 
> However, this exposed another error:
> 
> cd /usr/xenocara/app/xtsscale && exec make  all
> cc -O2 -pipe  -Wall    -I/usr/X11R6/include
> -I/usr/X11R6/include/freetype2  -I/usr/X11R6/include/xorg -nostdinc
> -idirafter /usr\
> /dest/usr/include -c /usr/xenocara/app/xtsscale/xtsscale.c
> /usr/xenocara/app/xtsscale/xtsscale.c:62:27: ws-properties.h: No such
> file or directory
> /usr/xenocara/app/xtsscale/xtsscale.c: In function `uncalibrate':
> /usr/xenocara/app/xtsscale/xtsscale.c:431: error: `WS_PROP_CALIBRATION'
> undeclared (first use in this function)
> /usr/xenocara/app/xtsscale/xtsscale.c:431: error: (Each undeclared
> identifier is reported only once
> /usr/xenocara/app/xtsscale/xtsscale.c:431: error: for each function it
> appears in.)
> /usr/xenocara/app/xtsscale/xtsscale.c: In function `main':
> /usr/xenocara/app/xtsscale/xtsscale.c:515: error: `WS_PROP_CALIBRATION'
> undeclared (first use in this function)
> /usr/xenocara/app/xtsscale/xtsscale.c:522: error: `WS_PROP_SWAP_AXES'
> undeclared (first use in this function)
> *** Error code 1
> 
> It appears that both WS_PROP_CALIBRATION & WS_PROP_SWAP_AXES are both
> defined in /usr/xenocara/driver/xf-86-input-ws/include/ws-properties.h.

You have to install the xf86-input-ws driver before building xtssscale.
I did change change the build order on thursday:

> From: Matthieu Herrb <[email protected]>
> Message-Id: <[email protected]>
> To: [email protected]
> Subject: CVS: cvs.openbsd.org: xenocara
> 
> CVSROOT:	/cvs
> Module name:	xenocara
> Changes by:	[email protected]	2009/11/26 15:53:50
> 
> Modified files:
> 	.              : Makefile 
> 	app            : Makefile 
> 
> Log message:
> Move app/xtsscale build after drivers, since it requires a
> header installed by driver/xf86-input-ws.
> Problem noticed by jdixon@


-- 
Matthieu Herrb