Linux - GamesThis forum is for all discussion relating to gaming in Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I was trying to compile Kobo Deluxe 1.5.1 on my SuSE 10.0 box but I got these error messages from "make":
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: *** [glSDL.o] Error 1
make: Leaving directory `/home/<username>/rpms/KoboDeluxe-0.5.1/graphics'
make: *** [all-recursive] Error 1
make: 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:
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."
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.