[darcs-users] Link Error From Current Pull

Paul Snively psnively at mac.com
Mon Mar 8 19:49:38 UTC 2004


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

Folks,

It's an improvement. :-) Now, on Mac OS X 10.3.2 with GHC 6.2, I get:

ld: Undefined symbols:
_GHCziBase_Izh_static_info
_GHCziBase_Czh_static_info
_GHCziFloat_Fzh_static_info
_GHCziFloat_Dzh_static_info
_GHCziPtr_Ptr_static_info
_GHCziWord_Wzh_static_info
_GHCziInt_I8zh_static_info
_GHCziInt_I16zh_static_info
_GHCziInt_I32zh_static_info
_GHCziInt_I64zh_static_info
_GHCziWord_W8zh_static_info
_GHCziWord_W16zh_static_info
_GHCziWord_W32zh_static_info
_GHCziWord_W64zh_static_info
_GHCziStable_StablePtr_static_info
_GHCziBase_Izh_con_info
_GHCziBase_Czh_con_info
_GHCziFloat_Fzh_con_info
_GHCziFloat_Dzh_con_info
_GHCziPtr_Ptr_con_info
_GHCziPtr_FunPtr_con_info
_GHCziStable_StablePtr_con_info
_GHCziBase_False_closure
_GHCziBase_True_closure
_GHCziPack_unpackCString_closure
_GHCziIOBase_stackOverflow_closure
_GHCziIOBase_heapOverflow_closure
_GHCziIOBase_NonTermination_closure
_GHCziIOBase_BlockedOnDeadMVar_closure
_GHCziIOBase_Deadlock_closure
_GHCziWeak_runFinalizzerBatch_closure
___stginit_Prelude
make: *** [darcs] Error 1

This is after an enormous list of warnings, all of which are to the 
effect that various libraries attempting to be linked are for the wrong 
architecture (ppc, of course, vs. i386) and aren't being loaded. One 
might suspect that you can't pass two "-arch" options to ld, and that 
it's only treating the first one, in this case, -arch i186.

And in fact, from `man ld':

"Only one -arch arch_type can be specified."

 From `curl-config --libs':

- -L/usr/lib -lcurl -arch i386 -arch ppc -lz -lssl -lcrypto -lz

Oops.

Best regards,
Paul Snively
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iEYEARECAAYFAkBMzmkACgkQbot1wzHBQBXsJQCgtidrfGKSwmqtQDrP6YpU09ab
VCgAoI++kb2y+/pN/PWQDbHjm8c8D2a7
=9Ky+
-----END PGP SIGNATURE-----





More information about the darcs-users mailing list