[Bf-committers] linking error on OS X

Jasper Mine jaspermine at earthlink.net
Wed Aug 23 23:44:20 CEST 2006


Randall,

   This compile error has been around since the release of gcc4 (a  
long time).  You can turn off gameengine?, you can compile with  
gcc3.3.  But you can't wish it will ever be fixed in cvs.  And I  
would like proof of why lukep thinks it's c++ calls in c files...

Because, on my intel mac I get several other linker options, and with  
the following:  -undefined dynamic_lookup
Set under LDFLAGS in blender/source/nan_link.mk I get a working  
compile with gcc4.

The man page for ld is quite large, but gives good hints on how osx  
does symbols, namespaces, and after lots of searching, namespaces  
could also be the culprit.  I would love to see it fixed because out  
of the box blender doesn't compile anymore, at least with make.

Try changing your compiler to gcc3.3 to get blender built.  In  
terminal: sudo gcc_select 3.3
Remember to change it back:  sudo gcc_select 4.0  BTW, I think this  
works.

JS

On Aug 23, 2006, at 4:49 AM, Randall Rickert wrote:

> collect2: ld returned 1 exit status
> scons: *** [/develop/build/darwin/bin/blender] Error 1
> scons: building terminated because of errors.
>
> Does anyone have some ideas? Maybe it's just a problem on OS X, or  
> maybe my build environment is broken?
>
> Thanks,
> Randall
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20060823/5759e9d6/attachment.html


More information about the Bf-committers mailing list