-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/14/11 5:20 AM, Ivan Glushkov wrote:
> Hi,
> 
> I try to compile small program using make and root5 package from fink. During 
> compilation for all main root libraries I receive:
> 
> ..
> ld: warning: in /sw/lib/root/libCore.dylib, file was built for i386 which is 
> not the architecture being linked (x86_64) 
> ..
> 
> so, how can I resolve this problem? Can I compile only the root5 libraries in 
> x86_64 or should reinstall the whole fink installation?
> 
>       Cheers,
>       Ivan
> 
>> sw_vers
> ProductName:  Mac OS X
> ProductVersion:       10.6.7
> BuildVersion: 10J869
>> fink -V
> Package manager version: 0.29.21
> Distribution version: selfupdate-rsync Tue Apr 12 10:11:52 2011, 10.6, i386
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> 
> 
(here's what I sent in reply to your prior message, whih perhaps you
didn't get)

A reinstall probably isn't necessary.

The problem here is that Apple's build tools default to x86_64, unless
you tell them not to, e.g by specifying "-arch i386".

Using the PATH setting from

http://www.finkproject.org/faq/usage-general.php?phpLang=en#compile-myself

will put Fink's compiler wrapper scripts, which specify the -arch flag
appropriately, at the head of the PATH, and your builds will use those.


- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2mzFwACgkQB8UpO3rKjQ81/wCeMAXBLjLL+0oOQuyXCgAMxj/4
9LEAn232u1Vj/lBWIQ5RVw9/ADvb/jMt
=55kZ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to