LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-30-2008, 11:03 AM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
Kobo Deluxe -- errors in make


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
 
Old 05-01-2008, 09:14 PM   #2
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Rep: Reputation: 16
I'm not sure about this, but it's looks like errors in the source to me, not dependencies.
 
Old 05-02-2008, 09:01 AM   #3
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
I'll try contacting the developer then.
 
Old 05-07-2008, 09:00 PM   #4
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
http://rpmfind.net/linux/rpm2html/se...submit=Search+...

You could try the fedora rpm's.
 
Old 05-08-2008, 12:29 PM   #5
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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."

Thanks for your info.
 
Old 05-09-2008, 12:30 AM   #6
sleekslack
Member
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware64 13.37
Posts: 34

Rep: Reputation: 16
That's my mistake then. I thought SUSE would have the latest SDL though
 
Old 05-09-2008, 04:09 AM   #7
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
Quote:
Originally Posted by gymnart View Post
SuSE 10.0 can use Fedora's rpm's and it won't ruin the O.S.?
Why would it ruin the OS?
Worst thing that can happen is that it won't run... or you don't have all the dependencies...
 
Old 05-09-2008, 11:51 AM   #8
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Original Poster
Rep: Reputation: 30
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).
 
Old 05-09-2008, 06:15 PM   #9
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
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.

Last edited by oskar; 05-09-2008 at 06:19 PM.
 
  


Reply

Tags
compile, configure, deluxe, devel, error, image, make, sdl, source



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you compile kobo deluxe? valkarin Linux - Games 2 12-26-2007 12:20 AM
LXer: Good old-fashioned shooting with Kobo Deluxe LXer Syndicated Linux News 0 02-08-2007 04:33 PM
Asus A8N-Sli Deluxe DMA errors on boot. riogrande100 Linux - Hardware 13 02-09-2006 11:44 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
A7N8X Deluxe/A7N8X-E Deluxe SATA:RAID-FC1/2 biatche Linux - Hardware 7 05-18-2004 09:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration