Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple definitions warnings when compiling universal



On 2006-07-11 16:42, Michael B. Johnson said:

>So I recently switched a project over to compile universal by default
>by using the MacOSX10.4u.sdk, but now I get warnings about multiple
>definitions about a whole bunch of math stuff like:
>
>ld: warning multiple definitions of symbol _expm1f
>/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
>darwin8/4.0.1/../../../libmx.dylib(single module) definition of _expm1f
>/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
>darwin8/4.0.1/../../../libSystem.dylib(floating.o) definition of _expm1f
>
>Everything works fine, but I pride myself on a no-warnings build, and
>this is killing me.  Anybody else see this?  Any suggestions?  Thanks.

I see that, or at least something very similar, in some projects.  But I
saw it before any Universal builds, in fact I see it in PPC only
projects.  I suggest you file a bug with an example, you can reference
my bug too, <rdar://4341797>, if you want.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >multiple definitions warnings when compiling universal (From: "Michael B. Johnson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.