[vtkusers] help with Mac OS X 10.4.2

Tolga Tasdizen tolga at sci.utah.edu
Fri Aug 5 15:48:52 EDT 2005


Hi,

I am trying to build VTK on my new Mac laptop. I am running OS X  
10.4.2. I tried building VTK 4.2 and failed. Now I am trying to build  
the current source code from CVS but still getting the following error

Building shared library /Users/tolga/VTK-build/bin/ 
libvtkImaging.dylib...
ld: multiple definitions of symbol ___divdi3
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a(_divdi3.o) private  
external definition 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 definition of ___udivdi3 in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc_s.dylib(_udivdi3.o)  
definition of ___udivdi3
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/Users/tolga/VTK-build/bin/libvtkImaging.dylib] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Imaging] Error 2
make: *** [default_target] Error 2

I'm new to Macs and I have heard that it can be difficult to build  
VTK on this platform. But the dashboard is showing that it is  
possible :) I'm sure this has been discussed before. If someone could  
point me at the right place that would be great.

Thanks

Tolga




More information about the vtkusers mailing list