[Help-gnutls] building gnutls under OSx
david harris
david.harris.uk at gmail.com
Mon Oct 16 19:10:16 CEST 2006
hi,
I get this error when building gnutls under OSx 10.4:
ld: Undefined symbols:
_deflate
_deflateEnd
_deflateInit2_
_deflateInit_
_inflate
_inflateEnd
_inflateInit2_
_inflateInit_
The (abbreviated) compile message is
"
gcc -dynamiclib -o .libs/libgnutls-extra.13.0.9.dylib .libs/gnutls_extra.o
.libs/gnutls_openpgp.o .libs/gnutls_ia.o
.libs/libgnutls-extra.lax/libgnutls_openpgp.a/compat.o
.libs/libgnutls-extra.lax/libgnutls_openpgp.a/extras.o .libs/libgnutls-
extra.lax/libgnutls_openpgp.a/pgp.o .libs/libgnutls-extra.lax
/libgnutls_openpgp.a/pgpverify.o
.libs/libgnutls-extra.lax/libgnutls_openpgp.a/privkey.o
.libs/libgnutls-extra.lax/libgnutls_openpgp.a/xml.o .libs/libgnutls-
extra.lax/libminiopencdk.a/armor.o
.libs/libgnutls-extra.lax/libminiopencdk.a/cipher.o
.libs/libgnutls-extra.lax/libminiopencdk.a/compress.o .libs/libgnutls-
extra.lax/libminiopencdk.a/encrypt.o
.libs/libgnutls-extra.lax/libminiopencdk.a/kbnode.o
.libs/libgnutls-extra.lax/libminiopencdk.a/keydb.o
.libs/libgnutls-extra.lax/libminiopencdk.a/keygen.o
.libs/libgnutls-extra.lax/libminiopencdk.a/keylist.o .libs/libgnutls-
extra.lax/libminiopencdk.a/keyserver.o
.libs/libgnutls-extra.lax/libminiopencdk.a/main.o
.libs/libgnutls-extra.lax/libminiopencdk.a/md.o
.libs/libgnutls-extra.lax/libminiopencdk.a/misc.o
.libs/libgnutls-extra.lax/libminiopencdk.a/new-packet.o .libs/libgnutls-
extra.lax/libminiopencdk.a/plaintext.o
.libs/libgnutls-extra.lax/libminiopencdk.a/pubkey.o
.libs/libgnutls-extra.lax/libminiopencdk.a/read-packet.o .libs/libgnutls-
extra.lax/libminiopencdk.a/seskey.o .libs/libgnutls-extra.lax
/libminiopencdk.a/sig-check.o .libs/libgnutls-extra.lax/libminiopencdk.a/sign.o
.libs/libgnutls-extra.lax/libminiopencdk.a/stream.o .libs/libgnutls-
extra.lax/libminiopencdk.a/sym-cipher.o
.libs/libgnutls-extra.lax/libminiopencdk.a/trustdb.o
.libs/libgnutls-extra.lax/libminiopencdk.a/verify.o .libs/libgnutls-
extra.lax/libminiopencdk.a/write-packet.o
.libs/libgnutls-extra.lax/libgnu.a/asnprintf.o
.libs/libgnutls-extra.lax/libgnu.a/dummy.o .libs/libgnutls-extra.lax
/libgnu.a/gc-libgcrypt.o
.libs/libgnutls-extra.lax/libgnu.a/gc-pbkdf2-sha1.o.libs/libgnutls-
extra.lax/libgnu.a/getdelim.o .libs/libgnutls-extra.lax/libgnu.a/getline.o
.libs/libgnutls-extra.lax/libgnu.a/md2.o
.libs/libgnutls-extra.lax/libgnu.a/memmem.o
.libs/libgnutls-extra.lax/libgnu.a/printf-args.o .libs/libgnutls-extra.lax
/libgnu.a/printf-parse.o .libs/libgnutls-extra.lax/libgnu.a/vasnprintf.o
.libs/libgnutls-extra.lax/libminilzo.a/minilzo.o ..*/lib/*.libs/libgnutls.dylib
-L/usr/local/lib /usr/local/lib/libgcrypt.dylib -L/opt/local/lib
/opt/local/lib/libgpg-error.dylib /opt/local/lib/libintl.dylib
/opt/local/lib/libiconv.dylib -install_name /usr/local/lib/libgnutls-
extra.13.dylib -Wl,-compatibility_version -Wl,14 -Wl,-current_version -Wl,
14.9
ld: warning multiple definitions of symbol _gc_hmac_md5
.[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hmac_md5
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hmac_sha1
ld: warning multiple definitions of symbol _gc_md2
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_md2
ld: warning multiple definitions of symbol _gc_md4
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_md4
ld: warning multiple definitions of symbol _gc_md5
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_md5
ld: warning multiple definitions of symbol _gc_random
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_random
ld: warning multiple definitions of symbol _gc_sha1
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_sha1
ld: warning multiple definitions of symbol _gc_cipher_setkey
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_cipher_setkey
ld: warning multiple definitions of symbol _gc_cipher_setiv
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_cipher_setiv
ld: warning multiple definitions of symbol _gc_cipher_open
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_cipher_open
ld: warning multiple definitions of symbol _gc_cipher_encrypt_inline
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_cipher_encrypt_inline
ld: warning multiple definitions of symbol _gc_pseudo_random
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_pseudo_random
ld: warning multiple definitions of symbol _gc_cipher_decrypt_inline
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_cipher_decrypt_inline
ld: warning multiple definitions of symbol _gc_cipher_close
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_cipher_close
ld: warning multiple definitions of symbol _gc_hash_write
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hash_write
ld: warning multiple definitions of symbol _gc_hash_read
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hash_read
ld: warning multiple definitions of symbol _gc_hash_open
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hash_open
ld: warning multiple definitions of symbol _gc_hash_hmac_setkey
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_hash_hmac_setkey
ld: warning multiple definitions of symbol _gc_hash_digest_length
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_hash_digest_length
ld: warning multiple definitions of symbol _gc_hash_close
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hash_close
ld: warning multiple definitions of symbol _gc_hash_clone
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hash_clone
ld: warning multiple definitions of symbol _gc_nonce
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_nonce
ld: warning multiple definitions of symbol _gc_set_allocators
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of
_gc_set_allocators
ld: warning multiple definitions of symbol _gc_hash_buffer
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_hash_buffer
ld: warning multiple definitions of symbol _gc_done
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_done
ld: warning multiple definitions of symbol _gc_init
[]
..*/lib/*.libs/libgnutls.dylib(gc-libgcrypt.o) definition of _gc_init
ld: warning multiple definitions of symbol _memmem
[]
..*/lib/*.libs/libgnutls.dylib(memmem.o) definition of _memmem
ld: warning multiple definitions of symbol _md2_process_bytes
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_process_bytes
ld: warning multiple definitions of symbol _md2_finish_ctx
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_finish_ctx
ld: warning multiple definitions of symbol _md2_buffer
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_buffer
ld: warning multiple definitions of symbol _md2_stream
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_stream
ld: warning multiple definitions of symbol _md2_process_block
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_process_block
ld: warning multiple definitions of symbol _md2_read_ctx
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_read_ctx
ld: warning multiple definitions of symbol _md2_init_ctx
[]
..*/lib/*.libs/libgnutls.dylib(md2.o) definition of _md2_init_ctx
ld: warning multiple definitions of symbol _gc_pbkdf2_sha1
[]
ld: Undefined symbols:
_deflate
_deflateEnd
_deflateInit2_
_deflateInit_
_inflate
_inflateEnd
_inflateInit2_
_inflateInit_
"
Not sure where the error arises: I Googled and though it might be a zlib
issue so I built the latest zlib but that didnt help. Can anyone suggest
anything?
Thanks
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20061016/eb02c88e/attachment.htm>
More information about the Gnutls-help
mailing list