| Summary: | build failure with ./configure --enable-video-wayland --disable-video-opengles | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Julian Ospald <hasufell> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq |
| Version: | 2.0.3 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=510090 | ||
if we are not supposed to use this combination, then it shouldn't be allowed by ./configure Fixed: https://hg.libsdl.org/SDL/rev/3e2b3019a879 Thanks for the report! |
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