LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , , , , , , ,

Reply
 
Thread Tools
Old 04-30-2008, 12:03 PM   #1
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0
Kobo Deluxe -- errors in make


[Log in to get rid of this advertisement]
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 12:11 PM.. Reason: more info
gymnart is offline  
Tag This Post , , , , , , , , ,
Reply With Quote
Old 05-01-2008, 10:14 PM   #2
sleekslack
LQ Newbie
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware 13.0
Posts: 29
Thanked: 0
I'm not sure about this, but it's looks like errors in the source to me, not dependencies.
sleekslack is offline     Reply With Quote
Old 05-02-2008, 10:01 AM   #3
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0

Original Poster
I'll try contacting the developer then.
gymnart is offline     Reply With Quote
Old 05-07-2008, 10:00 PM   #4
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 8.04
Posts: 1,133
Thanked: 0
http://rpmfind.net/linux/rpm2html/se...submit=Search+...

You could try the fedora rpm's.
oskar is offline     Reply With Quote
Old 05-08-2008, 01:29 PM   #5
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0

Original Poster
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.
gymnart is offline     Reply With Quote
Old 05-09-2008, 01:30 AM   #6
sleekslack
LQ Newbie
 
Registered: Mar 2008
Location: Bangkok, Thailand
Distribution: Slackware 13.0
Posts: 29
Thanked: 0
That's my mistake then. I thought SUSE would have the latest SDL though
sleekslack is offline     Reply With Quote
Old 05-09-2008, 05:09 AM   #7
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 8.04
Posts: 1,133
Thanked: 0
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...
oskar is offline     Reply With Quote
Old 05-09-2008, 12:51 PM   #8
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 10.0
Posts: 306
Thanked: 0

Original Poster
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).
gymnart is offline     Reply With Quote
Old 05-09-2008, 07:15 PM   #9
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 8.04
Posts: 1,133
Thanked: 0
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 07:19 PM..
oskar is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 01:20 AM
LXer: Good old-fashioned shooting with Kobo Deluxe LXer Syndicated Linux News 0 02-08-2007 05:33 PM
Asus A8N-Sli Deluxe DMA errors on boot. riogrande100 Linux - Hardware 13 02-09-2006 12:44 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
A7N8X Deluxe/A7N8X-E Deluxe SATA:RAID-FC1/2 biatche Linux - Hardware 7 05-18-2004 10:30 PM


All times are GMT -5. The time now is 09:22 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration