We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2541 - build failure with ./configure --enable-video-wayland --disable-video-opengles
Summary: build failure with ./configure --enable-video-wayland --disable-video-opengles
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.3
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 15:46 UTC by Julian Ospald
Modified: 2014-05-13 22:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2014-05-12 15:46:48 UTC
libtool: compile:  gcc -g -O3 -DUSING_GENERATED_CONFIG_H -Iinclude -I/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/include -mmmx -m3dnow -msse -msse2 -fvisibility=hidden -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -MMD -MT build/SDL_waylandvideo.lo -c /home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c  -fPIC -DPIC -o build/.libs/SDL_waylandvideo.o
In file included from /home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:34:0:
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c: In function 'Wayland_CreateDevice':
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
 #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
                                      ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:113:34: note: in expansion of macro 'Wayland_GLES_GetSwapInterval'
     device->GL_GetSwapInterval = Wayland_GLES_GetSwapInterval;
                                  ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: note: each undeclared identifier is reported only once for each function it appears in
 #define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
                                      ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:113:34: note: in expansion of macro 'Wayland_GLES_GetSwapInterval'
     device->GL_GetSwapInterval = Wayland_GLES_GetSwapInterval;
                                  ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:37:38: error: 'SDL_EGL_SetSwapInterval' undeclared (first use in this function)
 #define Wayland_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
                                      ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:114:34: note: in expansion of macro 'Wayland_GLES_SetSwapInterval'
     device->GL_SetSwapInterval = Wayland_GLES_SetSwapInterval;
                                  ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:36:36: error: 'SDL_EGL_UnloadLibrary' undeclared (first use in this function)
 #define Wayland_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
                                    ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:118:32: note: in expansion of macro 'Wayland_GLES_UnloadLibrary'
     device->GL_UnloadLibrary = Wayland_GLES_UnloadLibrary;
                                ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:35:37: error: 'SDL_EGL_GetProcAddress' undeclared (first use in this function)
 #define Wayland_GLES_GetProcAddress SDL_EGL_GetProcAddress
                                     ^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:119:33: note: in expansion of macro 'Wayland_GLES_GetProcAddress'
     device->GL_GetProcAddress = Wayland_GLES_GetProcAddress;
                                 ^
make: *** [build/SDL_waylandvideo.lo] Error 1
Comment 1 Julian Ospald 2014-05-12 15:47:34 UTC
if we are not supposed to use this combination, then it shouldn't be allowed by ./configure
Comment 2 Gabriel Jacobo 2014-05-13 22:43:18 UTC
Fixed: https://hg.libsdl.org/SDL/rev/3e2b3019a879

Thanks for the report!