[Bf-committers] libSDL problem on OS X 10.4.2

Jasper Mine jaspermine at earthlink.net
Tue Sep 27 02:44:56 CEST 2005


Matt,

   Good, I've been waiting for some Mac Blender people to start  
upgrading to 10.4.

   I've posted a very similar error on the irc channel, same errors  
with /usr/bin/ld.  I just checked if I saved any of the errors, they  
are gone.  My workaround was to disable the game engine and  
internationalization support, something I did not want to do.

   At first I thought it was Apple's updated ld program because in  
the man page it talks about not building a binary if undefined  
symbols are encountered (not sure how this differs with old  
versions).  In the man page you see they altered ld to accommodate  
fat binaries, not standard linux ld.  Next came the GCC4 conspiracy  
theory.  Then I thought it was make files pointing to a wrong  
directory in the final linking stage.  Google brought up a mess of  
totally different causes and cures so that wasn't a help.  I finally  
gave up the search while I waited for lukep and others to upgrade to  
10.4, and you sir are the first I've seen having similar problems.

   Sorry to not give you an answer to fix this.  With great interest  
I am watching this thread to possibly glean some information myself.   
Although I'm getting by using scons to compile with games and i18n  
support disabled. I would much rather test, make that use Blender in  
its entirety. OK, good luck, and hopefully it is SDL.

JSP


On Sep 26, 2005, at 3:54 PM, Matthew H. Plough wrote:

> Hi all,
>
> I've been trying to compile Blender on Mac OS X 10.4.2, and I'm  
> able to get all the way to the final link stage.  At this stage,  
> however, the link fails, like so:
>
> /usr/bin/ld: Undefined symbols:
> SND_OpenALDevice::SND_OpenALDevice()
> collect2: ld returned 1 exit status
> make[1]: *** [/Users/mplough/devel/bfblender/blender/obj/ 
> darwin-8.2.1-powerpc/bin/blender] Error 1
> make: *** [all] Error 1
>
> Note that darwin-8.2.1-powerpc is symlinked to darwin-6.1-powerpc.
>
> This is after running:
>
> $ for FN in `find ./ -name 'lib*.a'`
> > do
> > ranlib $FN
> > done
>
> in the lib/ directory.  All library files submit correctly to this  
> ranlib treatment, except libSDL.a.
>
> This file gives the following errror:
> $ ranlib libSDL.a
> ranlib: file: libSDL.a(SDL_audiodev.o) has no symbols
> ranlib: file: libSDL.a(SDL_getenv.o) has no symbols
>
> This problem resembles the one described at http://www.blender.org/ 
> forum/viewtopic.php?t=5543.  Repeated cvs updates have not solved  
> the problem.  Any ideas?
>
> Thanks a bunch!
> Matt
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20050926/99269e9e/attachment.html


More information about the Bf-committers mailing list