The header file “X11/extensions/Xext.h” is needed by
"src/video/x11/SDL_x11dyn.h". It seems, that the configure script does
not check that. Maybe you better want to let it check. It is provided by
the package libxext-dev in Debian.
this issue still isn’t fixed. On my system: Linux Mint 15 amd64 , I have
to install the package ‘libxext-dev’ to provide the required header
‘X11/extensions/Xext.h’.
Okay, but after installing the package, another error is raised:
…
ld/SDL/src/video/x11/SDL_x11dyn.c -fPIC -DPIC -o build/.libs/SDL_x11dyn.o
In file included from
/home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.c:113:0:
/home/broepi/Build/SDL/src/video/x11/SDL_x11sym.h:135:1: error:
conflicting types for ‘XextAddDisplay’
In file included from
/home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.h:42:0,
from /home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.c:27:
/usr/include/X11/extensions/extutil.h:123:25: note: previous declaration
of ‘XextAddDisplay’ was here
make: *** [build/SDL_x11dyn.lo] Fehler 1
regards
DanielAm 24.07.2012 19:17, schrieb Daniel Raufison:
Hello,
The header file “X11/extensions/Xext.h” is needed by
“src/video/x11/SDL_x11dyn.h”. It seems, that the configure script does
not check that. Maybe you better want to let it check. It is provided
by the package libxext-dev in Debian.
/home/broepi/Build/SDL/src/video/x11/SDL_x11sym.h:135:1: error:
conflicting types for ‘XextAddDisplay’
In file included from
/home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.h:42:0,
from /home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.c:27:
/usr/include/X11/extensions/extutil.h:123:25: note: previous declaration
This is probably because your X11 headers list XextAddDisplay() as
taking a const char * for argument 3, but SDL didn’t realize this for
some reason. It checks for that, maybe it failed for some reason.
Is there any chance this works if you run “make distclean” and then
rerun the configure script? Maybe it got confused because of the
originally-missing libxext-dev package?
I retried configure and make on a fresh copy of the source tree, so yeah!
DanielAm 12.07.2013 06:48, schrieb Ryan C. Gordon:
/home/broepi/Build/SDL/src/video/x11/SDL_x11sym.h:135:1: error:
conflicting types for ‘XextAddDisplay’
In file included from
/home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.h:42:0,
from
/home/broepi/Build/SDL/src/video/x11/SDL_x11dyn.c:27:
/usr/include/X11/extensions/extutil.h:123:25: note: previous declaration
This is probably because your X11 headers list XextAddDisplay() as
taking a const char * for argument 3, but SDL didn’t realize this for
some reason. It checks for that, maybe it failed for some reason.
Is there any chance this works if you run “make distclean” and then
rerun the configure script? Maybe it got confused because of the
originally-missing libxext-dev package?
I just installed Linux Mint 15 x64 and installed the following packages:
sudo apt-get install dh-autoreconf libasound2-dev libgl1-mesa-dev
libpulse-dev libudev-dev libdbus-1-dev libx11-dev libxcursor-dev
libxext-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev libxt-dev
libxxf86vm-dev
I then built SDL and created a .deb for Linux Mint with no problems.
Are you still having issues?On Thu, Jul 11, 2013 at 3:17 PM, Daniel Raufison wrote:
Hi again,
this issue still isn’t fixed. On my system: Linux Mint 15 amd64 , I have
to install the package ‘libxext-dev’ to provide the required header
‘X11/extensions/Xext.h’.
Okay, but after installing the package, another error is raised:
…
ld/SDL/src/video/x11/SDL_x11dyn.c -fPIC -DPIC -o
build/.libs/SDL_x11dyn.o
In file included from /home/broepi/Build/SDL/src/
video/x11/SDL_x11dyn.c:113:0:
/home/broepi/Build/SDL/src/video/x11/SDL_x11sym.h:135:1: error:
conflicting types for ‘XextAddDisplay’
In file included from /home/broepi/Build/SDL/src/
video/x11/SDL_x11dyn.h:42:0,
from /home/broepi/Build/SDL/src/**
video/x11/SDL_x11dyn.c:27:
/usr/include/X11/extensions/**extutil.h:123:25: note: previous
declaration of ‘XextAddDisplay’ was here
make: *** [build/SDL_x11dyn.lo] Fehler 1
regards
Daniel
Am 24.07.2012 19:17, schrieb Daniel Raufison:
Hello,
The header file “X11/extensions/Xext.h” is needed by
“src/video/x11/SDL_x11dyn.h”. It seems, that the configure script does not
check that. Maybe you better want to let it check. It is provided by the
package libxext-dev in Debian.
no problems anymore, no, I just thought, it could be good if the
configure script could check for the existence of the Xext headers.Am 13.07.2013 07:45, schrieb Sam Lantinga:
I just installed Linux Mint 15 x64 and installed the following packages:
sudo apt-get install dh-autoreconf libasound2-dev libgl1-mesa-dev
libpulse-dev libudev-dev libdbus-1-dev libx11-dev libxcursor-dev
libxext-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev libxt-dev
libxxf86vm-dev
I then built SDL and created a .deb for Linux Mint with no problems.
no problems anymore, no, I just thought, it could be good if the
configure script could check for the existence of the Xext headers.
Ditto! Run into same problem recently, spent quite some time to figure
out what was missing. ./configure should warn and bail out.On Sat, 13 Jul 2013 10:04:35 +0200 Daniel Raufison wrote: