Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107685 - media-libs/libsdl-1.2.9 does not compile
Summary: media-libs/libsdl-1.2.9 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: Normal normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 105582
  Show dependency tree
 
Reported: 2005-09-30 02:10 UTC by Fabian Groffen
Modified: 2006-04-12 10:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
compilation log (linking error at the end) (out.log.gz,11.85 KB, application/x-gzip)
2005-09-30 09:08 UTC, Fabian Groffen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2005-09-30 02:10:26 UTC
compiling libsdl-1.2.9 fails because of linking problems with undefined symbols.

Re-adding the ppc-macos specifics to append-flags solves the linking problems
and allows smpeg to compile cleanly against it.

These specifics were removed because they were unneccesary.  Kito, would you
please look into this? (you were the one that removed them)  My guess is here
that  -dynamic_lookup does the actual trick to the linker, but I'm not sure on
this and lack the knowledge on the package.  Thanks in advance.
Comment 1 SpanKY gentoo-dev 2005-09-30 05:57:31 UTC
the linker flags should be fixed in the actual package, not just tossing into
the ebuild and forgetting about it
Comment 2 Kito (RETIRED) gentoo-dev 2005-09-30 07:48:30 UTC
I can't reproduce it, builds fine and qemu links against it correctly on the 2 machines I tried it on. Can you 
attach a build log? 
Comment 3 Fabian Groffen gentoo-dev 2005-09-30 09:08:30 UTC
Created attachment 69568 [details]
compilation log (linking error at the end)

Sure, sorry I didn't give any more constructive information in the first place.


I gzip compressed the log as it's quite big.
Comment 4 Kito (RETIRED) gentoo-dev 2005-09-30 09:27:44 UTC
Ok, I see now what the flags were trying to accomplish... forcing opengl basically. Without opengl, theres 
not much sdl can do on OS X, all OS X windows are rendered with opengl (yes, even when using x11).

Sooooo.... we maybe should either force opengl on macos in the sdl ebuild, or just add it to macos/
make.defaults USE in the profiles?
Comment 5 SpanKY gentoo-dev 2005-09-30 10:55:22 UTC
the 2nd option sounds a lot better to me ;)
Comment 6 Kito (RETIRED) gentoo-dev 2005-09-30 11:15:34 UTC
opengl added to default use inCVS. Disable it, and things will break.