Displaying 2 results from an estimated 2 matches for "strhash".
2007 Nov 28
2
1.1beta9 'make' fails on osx/Tiger, but OK on osx/Leopard (multiple definitions of symbol _hash_create)
...b -lreadline
-lncurses -lpthread -L/usr/local/mysql/lib/mysql
/usr/local/lib/libiconv.dylib ../lib-settings/libsettings.a
../lib/liblib.a
/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
../lib/liblib.a(hash.o) definition of _hash_create in section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.2.1/ld: multiple definitions
of symbol _hash_destroy
/usr/lib/gcc/powerpc-apple-darwin8/4.2.1/../../../libpthread.dylib(strhash.So)
definition of...
2008 Dec 17
6
Apple patches 6-8
...----------- next part --------------
Patch #7. Replace all occurrences of "hash_create" and "hash_destroy"
with "hash_table_create" and "hash_table_destroy" respectively. The
symbols hash_create and hash_destroy conflict with symbols defined in
<strhash.h> and libc. This showed up when loading dovecot's quota
plugin (one of our future patches will add a hash table to it; stay
tuned). The wrong hash_create was called which caused a crash at the
first hash_insert. Apparently this is only a problem in loaded
dynamic libraries and no...