[SDL] Custom libSDL dependencies inconsistent?

Gianfranco Berardi gberardi at gbgames.com
Tue Apr 15 22:38:12 PDT 2008


Gianfranco Berardi wrote:
> I apologize for the lack of brevity. I'll try to summarize here, but the 
> rest should give context to what I am trying to do.
> 
> When I build a custom libSDL (1.2.11) using gcc-4.1 and configure 
> options to reduce dependencies, I get a library with reduced 
> dependencies but with a dependency on GLIBC_2.4, which prevents me from 
> using it on an older computer. When I use gcc-3.3, I can use it on an 
> older computer, but for some reason I have dependencies on libX11 and 
> libXext. Why does it configure differently just because CC is defined as 
> gcc-3.3? 

Of course I would find out why AFTER I spend a week trying to figure it 
out and then emailing the list.

The changelog for libSDL:

SDL 1.2.11 Release Notes

SDL 1.2.11 is a minor bug fix release.
Unix Notes

     * Dynamic X11 loading is only enabled with gcc 4 supporting 
-fvisibility=hidden. This fixes crashes related to symbol collisions, 
and allows building on Solaris and IRIX.

Nice. Now it looks like I'll need to find another way to get rid of 
GLIBC_2.4 dependencies. I would rather update to the latest version than 
drop back down to 1.2.10, though.

Thanks anyway. B-)


-- 
GBGames' Blog, An Indie Game Developer's Somewhat Interesting Thoughts:
http://www.gbgames.com/blog
Staff Reviewer for Game Tunnel, the Independent Underground:
http://www.gametunnel.com


More information about the SDL mailing list