Broken X driver

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Broken X driver

STeve Andre'
This is on a i386-current system as of a few minutes ago.

--STeve Andre'
 gcc -DHAVE_CONFIG_H -I. -I/usr/xenocara/driver/xf86-input-ws/src -I.. -I/usr/xenocara/driver/xf86-input-ws/include/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include -O2 -pipe -MT ws.lo -MD -MP -MF .deps/ws.Tpo -c /usr/xenocara/driver/xf86-input-ws/src/ws.c  -fPIC -DPIC -o .libs/ws.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I/usr/xenocara/driver/xf86-input-ws/src -I.. -I/usr/xenocara/driver/xf86-input-ws/include/    -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast  -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include -O2 -pipe -MT emumb.lo -MD -MP -MF ".deps/emumb.Tpo" -c -o emumb.lo /usr/xenocara/driver/xf86-input-ws/src/emumb.c;  then mv -f ".deps/emumb.Tpo" ".deps/emumb.Plo"; else rm -f ".deps/emumb.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I/usr/xenocara/driver/xf86-input-ws/src -I.. -I/usr/xenocara/driver/xf86-input-ws/include/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include -O2 -pipe -MT emumb.lo -MD -MP -MF .deps/emumb.Tpo -c /usr/xenocara/driver/xf86-input-ws/src/emumb.c  -fPIC -DPIC -o .libs/emumb.o
/usr/xenocara/driver/xf86-input-ws/src/emumb.c: In function `wsmbEmuInitProperty':
/usr/xenocara/driver/xf86-input-ws/src/emumb.c:400: error: `WS_PROP_MIDBUTTON' undeclared (first use in this function)
/usr/xenocara/driver/xf86-input-ws/src/emumb.c:400: error: (Each undeclared identifier is reported only once
/usr/xenocara/driver/xf86-input-ws/src/emumb.c:400: error: for each function it appears in.)
/usr/xenocara/driver/xf86-input-ws/src/emumb.c:411: error: `WS_PROP_MIDBUTTON_TIMEOUT' undeclared (first use in this function)
*** Error code 1

Stop in /usr/xenocara/driver/xf86-input-ws/obj/src (line 320 of Makefile).
*** Error code 1

Stop in /usr/xenocara/driver/xf86-input-ws/obj (line 315 of Makefile).
*** Error code 1

Stop in /usr/xenocara/driver/xf86-input-ws/obj (line 222 of Makefile).
*** Error code 1

Stop in /usr/xenocara/driver/xf86-input-ws (line 142 of /usr/X11R6/share/mk/bsd.xorg.mk).
*** Error code 1

Stop in /usr/xenocara/driver/xf86-input-ws (line 203 of /usr/X11R6/share/mk/bsd.xorg.mk).
*** Error code 1

Reply | Threaded
Open this post in threaded view
|

Re: Broken X driver

Matthieu Herrb
STeve Andre' wrote:

> This is on a i386-current system as of a few minutes ago.
>
> --STeve Andre'
>  gcc -DHAVE_CONFIG_H -I. -I/usr/xenocara/driver/xf86-input-ws/src -I.. -I/usr/xenocara/driver/xf86-input-ws/include/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include -O2 -pipe -MT ws.lo -MD -MP -MF .deps/ws.Tpo -c /usr/xenocara/driver/xf86-input-ws/src/ws.c  -fPIC -DPIC -o .libs/ws.o
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I/usr/xenocara/driver/xf86-input-ws/src -I.. -I/usr/xenocara/driver/xf86-input-ws/include/    -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast  -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include -O2 -pipe -MT emumb.lo -MD -MP -MF ".deps/emumb.Tpo" -c -o emumb.lo /usr/xenocara/driver/xf86-input-ws/src/emumb.c;  then mv -f ".deps/emumb.Tpo" ".deps/emumb.Plo"; else rm -f ".deps/emumb.Tpo"; exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I/usr/xenocara/driver/xf86-input-ws/src -I.. -I/usr/xenocara/driver/xf86-input-ws/include/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -I/usr/X11R6/include/xorg -I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include -O2 -pipe -MT emumb.lo -MD -MP -MF .deps/emumb.Tpo -c /usr/xenocara/driver/xf86-input-ws/src/emumb.c  -fPIC -DPIC -o .libs/emumb.o
> /usr/xenocara/driver/xf86-input-ws/src/emumb.c: In function `wsmbEmuInitProperty':
> /usr/xenocara/driver/xf86-input-ws/src/emumb.c:400: error: `WS_PROP_MIDBUTTON' undeclared (first use in this function)
> /usr/xenocara/driver/xf86-input-ws/src/emumb.c:400: error: (Each undeclared identifier is reported only once
> /usr/xenocara/driver/xf86-input-ws/src/emumb.c:400: error: for each function it appears in.)
> /usr/xenocara/driver/xf86-input-ws/src/emumb.c:411: error: `WS_PROP_MIDBUTTON_TIMEOUT' undeclared (first use in this function)
> *** Error code 1
>
> Stop in /usr/xenocara/driver/xf86-input-ws/obj/src (line 320 of Makefile).
> *** Error code 1
>
> Stop in /usr/xenocara/driver/xf86-input-ws/obj (line 315 of Makefile).
> *** Error code 1
>
> Stop in /usr/xenocara/driver/xf86-input-ws/obj (line 222 of Makefile).
> *** Error code 1
>
> Stop in /usr/xenocara/driver/xf86-input-ws (line 142 of /usr/X11R6/share/mk/bsd.xorg.mk).
> *** Error code 1
>
> Stop in /usr/xenocara/driver/xf86-input-ws (line 203 of /usr/X11R6/share/mk/bsd.xorg.mk).
> *** Error code 1
>

Fixed now. Sorry for the breakage.

--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: Broken X driver

James Hartley
On Fri, Nov 27, 2009 at 2:48 AM, Matthieu Herrb <[hidden email]>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.

Reply | Threaded
Open this post in threaded view
|

Re: Broken X driver

Matthieu Herrb
James Hartley wrote:

> On Fri, Nov 27, 2009 at 2:48 AM, Matthieu Herrb <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]>
> Message-Id: <[hidden email]>
> To: [hidden email]
> Subject: CVS: cvs.openbsd.org: xenocara
>
> CVSROOT: /cvs
> Module name: xenocara
> Changes by: [hidden email] 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

Reply | Threaded
Open this post in threaded view
|

Re: Broken X driver

James Hartley
On Sat, Nov 28, 2009 at 12:26 AM, Matthieu Herrb <[hidden email]>wrote:

> ...
> You have to install the xf86-input-ws driver before building xtssscale.
> I did change change the build order on thursday:
>
> Interesting, as I had done an update yesterday which picked up the missing
header file resolving STeve's problem.  I'll try a different AnonCVS server.

Thanks, again.

Reply | Threaded
Open this post in threaded view
|

Re: Broken X driver

James Hartley
In reply to this post by Matthieu Herrb
On Sat, Nov 28, 2009 at 12:26 AM, Matthieu Herrb <[hidden email]>wrote:

> James Hartley wrote:
> > On Fri, Nov 27, 2009 at 2:48 AM, Matthieu Herrb <[hidden email]
>  You have to install the xf86-input-ws driver before building xtssscale.
>

I see the following change in Makefile:

 SUBDIR= proto font/util data/bitmaps lib app data/xkbdata \
        ${XSERVER} driver app/xtsscale util doc

...and still get the error reported above.  Is there something else I need
to be doing in order to install the xf86-input-ws driver?

Thanks.