[vtkusers] vtk build on Mac OSX -- more questions.

krs krs at uncc.edu
Tue Jul 5 17:58:56 EDT 2005


Well, I went past this error (must use the CVS sources) and came up  
against
the next one (as below):




Building shared library /Users/krs/src/VTK/bin/libvtkImaging.dylib...
ld: multiple definitions of symbol ___divdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_divdi3.o) private  
external de
finition of ___divdi3 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_divdi3.o)  
definition of
___divdi3
ld: multiple definitions of symbol ___udivdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_udivdi3.o) private  
external d
efinition of ___udivdi3 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_udivdi3.o)  
definition o
f ___udivdi3
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/Users/krs/src/VTK/bin/libvtkImaging.dylib] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Imaging] Error 2
make: *** [default_target] Error 2


************

I found a possible solution in the archives on modifying a partiicular
file in the CMake distribution, but I cant even compile CMake(using  
2.0.6
from source) on OSX
(errors are listed below, as well) -:(     Not making much progress  
on my
new Mac OS laptop!

Any suggestions would be appreciated.

     == krs


Building object file cmDynamicLoader.o...
/Users/krs/src/cmake-2.0.6/Source/cmDynamicLoader.cxx: In static  
member function
`static int cmDynamicLoader::CloseLibrary(void*)':
/Users/krs/src/cmake-2.0.6/Source/cmDynamicLoader.cxx:185: error:  
invalid conver
sion from 'void*' to '__NSModule*'
/Users/krs/src/cmake-2.0.6/Source/cmDynamicLoader.cxx:185: error:    
initializing
argument 1 of 'bool NSUnLinkModule(__NSModule*, uint32_t)'
make[3]: *** [cmDynamicLoader.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Source] Error 2
make: *** [default_target] Error 2
administrators-Computer-3.local%


Any suggestions would be appreciated


On Jul 5, 2005, at 2:40 PM, Sean McBride wrote:

> On 2005-07-05 14:29, krs said:
>
>
>> I am attempting to build VTK on MacOSX 10.4 (Tiger).
>>
>
> Which version?
>
>
>> I am running into one symbol definition problem.
>>
>
> I ran into it too:
> <http://public.kitware.com/pipermail/vtkusers/2005-June/080196.html>
>
> I suggesting using the code from CVS as 4.2 and 4.4 do not compile  
> on the Mac.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 sean at rogue-research.com
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>




More information about the vtkusers mailing list