'IsXExtensionPointer' undeclared

I updated to the latest revision, re-ran autogen.sh, configure, and
make. What I found was that revision 4348 changes
/trunk/SDL/src/video/x11/SDL_x11mouse.c adding a reference to
IsXExtensionPointer which I don’t seem to have! :frowning: :frowning: :frowning:

I grepped through /usr/include/X11 and found no references to it.
Googling for that symbol showed some others having similar problems
with other source packages. Perhaps a check in configure is needed? Is
there a configure switch I can use to make sure that code doesn’t get
compiled?

gcc-3.3 -O0 -gstabs+ -ggdb3 -I./include -D_GNU_SOURCE=1 -D_REENTRANT
-DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11mouse.c -fPIC -DPIC
-o build/.libs/SDL_x11mouse.o
src/video/x11/SDL_x11mouse.c: In function X11_InitMouse': src/video/x11/SDL_x11mouse.c:125: error:IsXExtensionPointer’
undeclared (first use in this function)
src/video/x11/SDL_x11mouse.c:125: error: (Each undeclared identifier
is reported only once
src/video/x11/SDL_x11mouse.c:125: error: for each function it appears in.)
make: *** [build/SDL_x11mouse.lo] Error 1–
http://codebad.com/

Ah, I found it. --disable-video-x11-xinputOn Sun, Jan 4, 2009 at 11:33 PM, Donny Viszneki <@Donny_Viszneki> wrote:

I updated to the latest revision, re-ran autogen.sh, configure, and
make. What I found was that revision 4348 changes
/trunk/SDL/src/video/x11/SDL_x11mouse.c adding a reference to
IsXExtensionPointer which I don’t seem to have! :frowning: :frowning: :frowning:

I grepped through /usr/include/X11 and found no references to it.
Googling for that symbol showed some others having similar problems
with other source packages. Perhaps a check in configure is needed? Is
there a configure switch I can use to make sure that code doesn’t get
compiled?

gcc-3.3 -O0 -gstabs+ -ggdb3 -I./include -D_GNU_SOURCE=1 -D_REENTRANT
-DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11mouse.c -fPIC -DPIC
-o build/.libs/SDL_x11mouse.o
src/video/x11/SDL_x11mouse.c: In function X11_InitMouse': src/video/x11/SDL_x11mouse.c:125: error:IsXExtensionPointer’
undeclared (first use in this function)
src/video/x11/SDL_x11mouse.c:125: error: (Each undeclared identifier
is reported only once
src/video/x11/SDL_x11mouse.c:125: error: for each function it appears in.)
make: *** [build/SDL_x11mouse.lo] Error 1


http://codebad.com/


http://codebad.com/

I updated to the latest revision, re-ran autogen.sh, configure, and
make. What I found was that revision 4348 changes
/trunk/SDL/src/video/x11/SDL_x11mouse.c adding a reference to
IsXExtensionPointer which I don’t seem to have! :frowning: :frowning: :frowning:

I grepped through /usr/include/X11 and found no references to it.
Googling for that symbol showed some others having similar problems
with other source packages. Perhaps a check in configure is needed? Is
there a configure switch I can use to make sure that code doesn’t get
compiled?

In my distribution it’s in XI.h
What distro and version of X server do you have?
I checked in a fix. Do you get doubled button events in testwm with it?

Thanks!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC