blender build error mac 10.6.8

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Fri Sep 30, 2011 9:39 am

blender build error mac 10.6.8

Post by JellyAdotMeyer » Thu Nov 17, 2011 7:13 pm

i've been trying to build blender on my computer through SVN with scons for a little while now and i consistently get an error like this.

intern/guardedalloc/intern/mallocn.c: In function ‘check_memlist’:
intern/guardedalloc/intern/mallocn.c:784: warning: dereferencing type-punned pointer will break strict-aliasing rules
Compiling ==> 'dna_genfile.c'
Compiling ==> 'convertblender.c'
scons: `/Users/snowcovered/blender-build/build/darwin/lib/libbf_intern_guardedalloc.a' is up to date.
Linking program ==> 'makesdna'
Compiling ==> 'envmap.c'
Compiling ==> 'external_engine.c'
ld: in /Users/snowcovered/blender-build/build/darwin/lib/libbf_blenlib.a, archive has no table of contents
collect2: ld returned 1 exit status
scons: *** [/Users/snowcovered/blender-build/build/darwin/makesdna] Error 1
Compiling ==> 'gammaCorrectionTables.c'
scons: building terminated because of errors.

the strange thing is i have two computers with essentially the same specs and it builds just fine on my other machine, i do think i'm missing a dependency somewhere but being a noob with building from source i have no idea how i'd figure out whats missing and how to correct it

i'm working on a mac book pro running 10.6.8

Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv » Thu Nov 17, 2011 8:36 pm

archive has no table of contents
From the looks of it, your 'ar' is broken and you need to run 'ranlib' on the archive.

/disclaimer: not a osxer.

There is another OSX thread with a similar problem

Post Reply