Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was trying to compile Kobo Deluxe 1.5.1 on my SuSE 10.0 box but I got these error messages from "make":
Code:
errors from make:
glSDL.c: In function ‘glSDL_SetVideoMode’:
glSDL.c:946: error: ‘SDL_GL_SWAP_CONTROL’ undeclared (first use in this function)
glSDL.c:946: error: (Each undeclared identifier is reported only once
glSDL.c:946: error: for each function it appears in.)
make[2]: *** [glSDL.o] Error 1
make[2]: Leaving directory `/home/<username>/rpms/KoboDeluxe-0.5.1/graphics'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/<username>/rpms/KoboDeluxe-0.5.1'
make: *** [all] Error 2
According to YaST, I have SDL, SDL devel 1.2.8 and the matching SDL Image, and SDL Image devel.
Here is part of the ./configure section:
Code:
from the config section:
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for IMG_Load in -lSDL_image... yes
checking for OpenGL support... yes
checking SDL/SDL_opengl.h usability... yes
checking SDL/SDL_opengl.h presence... yes
checking for SDL/SDL_opengl.h... yes
How can I resolve this?
Last edited by gymnart; 04-30-2008 at 11:11 AM.
Reason: more info
SuSE 10.0 can use Fedora's rpm's and it won't ruin the O.S.?
I got an answer from the developer and he told me that the error means, "You need at least SDL 1.2.10 or later for SDL_GL_SWAP_CONTROL to be
defined." and, "If you can't/don't want to upgrade SDL, you can comment out the lines that need this define."
Also, he told me that it would work on my system anyway, "All it does is allow the game to control the way OpenGL performs screen updates, on platforms and drivers that support this. It's not a critical feature in any way."
oskar:
I don't know how it works with Ubuntu but with SuSE, the software has to be made for that particular version. I've been told that software packaged for 10.3 won't work well for 10.0, that dependencies would be broken (or something like that).
Broken dependencies is the name of the game on rpm based systems :P - but that's nothing to be afraid of. If the dependencies can't be resolved... well... it won't work, but it won't break your system.
It is of course better to install the rpm's that were made for your distribution, but if they are not available, I would look for other pre-built packages before starting to compile.
On deb based systems you can even install rpm's if you remodel them with alien... I don't know if alien works the other way around.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.