On Apr 20, 2008, at 4:36 PM, Michael Mrejen wrote:
> Hello,
>
> I've some trouble making meep. the ./configure went ok and when  
> trying make I get this error:
>
> /usr/bin/ld: multiple definitions of symbol ___udivdi3
> /usr/local/lib/libg2c.dylib(_udivdi3.o) definition of ___udivdi3
> /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s. 
> 10.4.dylib(_udivdi3_s.o) definition of ___udivdi3
> collect2: ld returned 1 exit status

The problem is that you're mixing multiple versions of gcc; each  
version of gcc is providing its own __udivdi3 internal function, and  
the linker is getting confused.

(This is partly Apple's fault: I wish they would just ship a GNU  
fortran compiler instead of forcing people to build their own.)

Steven

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to