[vtkusers] mac os x ld: multiple definitions of symbol ___divdi3

Gary Tedeschi gtedeschi at mac.com
Fri May 6 15:34:39 EDT 2005


Hi all,

I am attempting to compile VTK-4.2.6 on mac os x 10.4 using gcc 4.0.   
Compiliation
quits with the following error:

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
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/usr/local/VTKBuild/bin/libvtkIO.dylib] Error 1


Any suggestions on how I may solve this error would be much appreciated.

thanks,
Gary



More information about the vtkusers mailing list