<div dir="ltr">Hi Bill,<div>I don't have access to a machine with that configuration.</div><div>Can you try </div><div>dsymutil -s ./lib/libvtkproj4-7.1.dylib | grep acquire_lock</div><div><br></div><div>It seems that this symbol should be defined as an empty function if PROJ_USE_PTHREADS:BOOL is off.</div><div>Also it seems that mangling should happen correctly.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 2:01 PM, Dan Lipsa <span dir="ltr"><<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bill,<div>I will take a look at this.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 19, 2016 at 1:59 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It was OFF, but turning it on does not help.I think it is an issue<br>
with my old gcc compiler.<br>
<br>
I'd still like to build VTK with it.<br>
<div><div><br>
<br>
On Fri, Feb 19, 2016 at 1:44 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br>
> Hi Bill,<br>
><br>
> You can check to see if PROJ_USE_PTHREADS:BOOL=ON in your cache.<br>
> I did a quick look through lib_proj.cmake and FindThreads.cmake and didn't<br>
> see anything suspicious. No machines that I access have llvm-gcc anymore.<br>
><br>
> - David<br>
><br>
><br>
> On Fri, Feb 19, 2016 at 10:08 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Folks,<br>
>><br>
>> I tried to build VTK on my Mac today with<br>
>> i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc.<br>
>> build 5658) (LLVM build 2336.1.00)<br>
>><br>
>> My clang build is fine.<br>
>><br>
>> I get these link errors:<br>
>> Linking C shared library ../../../../lib/libvtkproj4-7.1.dylib<br>
>> Undefined symbols for architecture x86_64:<br>
>> "_vtk_pj_acquire_lock", referenced from:<br>
>> _vtk_pj_get_default_ctx in pj_ctx.c.o<br>
>> _vtk_pj_ctx_alloc in pj_ctx.c.o<br>
>> _vtk_pj_gc_findcatalog in pj_gridcatalog.c.o<br>
>> _vtk_pj_gridinfo_load in pj_gridinfo.c.o<br>
>> _vtk_pj_gridlist_from_nadgrids in pj_gridlist.c.o<br>
>> ...<br>
>> "_vtk_pj_release_lock", referenced from:<br>
>> _vtk_pj_get_default_ctx in pj_ctx.c.o<br>
>> _vtk_pj_ctx_alloc in pj_ctx.c.o<br>
>> _vtk_pj_gc_findcatalog in pj_gridcatalog.c.o<br>
>> _vtk_pj_gridinfo_load in pj_gridinfo.c.o<br>
>> _vtk_pj_gridlist_from_nadgrids in pj_gridlist.c.o<br>
>> _vtk_pj_insert_initcache in pj_initcache.c.o<br>
>> _vtk_pj_clear_initcache in pj_initcache.c.o<br>
>> ...<br>
>> ld: symbol(s) not found for architecture x86_64<br>
>> collect2: ld returned 1 exit status<br>
>> make[2]: *** [lib/libvtkproj4-7.1.1.dylib] Error 1<br>
<br>
<br>
<br>
</div></div><div><div>--<br>
Unpaid intern in BillsBasement at noware dot com<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>