On Tue, 2007-11-27 at 22:43 -0800, snowcrash wrote:
/usr/libexec/gcc/powerpc-apple-darwin8/4.2.1/ld: multiple definitions of symbol _hash_create /usr/lib/gcc/powerpc-apple-darwin8/4.2.1/../../../libpthread.dylib(strhash.So) definition of _hash_create
I'd report this as a bug to Apple. Standard libraries shouldn't export symbols with such a common name. This will probably fix it for now: diff -r 373beccc2468 src/lib/hash.h --- a/src/lib/hash.h Wed Nov 28 09:16:17 2007 +0200 +++ b/src/lib/hash.h Wed Nov 28 09:19:40 2007 +0200 @@ -1,5 +1,10 @@ #ifndef HASH_H #define HASH_H + +#ifdef __APPLE__ +# define hash_create hash_create_osx_leopard_pthreads_conflict_fix +# define hash_destroy hash_destroy_osx_leopard_pthreads_conflict_fix +#endif /* Returns hash code. */ typedef unsigned int hash_callback_t(const void *p);