Thank you for the reply.

The question is now, how can I tell the linker to choose one of the gcc
version available?
(I assume both version of gcc are ok for meep, I'm wrong?)

Michael

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven G.
Johnson
Sent: ד 23 אפריל 2008 08:15
To: [email protected]
Subject: Re: [Meep-discuss] problem making meep

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


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

Reply via email to