On 31 May 2016 at 15:00, Daniel P. Berrange <berra...@redhat.com> wrote:
>> > LINK qemu-nbd >> > Undefined symbols for architecture x86_64: >> > "_nettle_cast5_set_key", referenced from: >> > _qcrypto_cipher_new in cipher.o > The "cast5_set_key" method is present in the nettle 3.2 version that > Programmingkid has installed. The nettle headers mangle the name > 'cast5_set_key' into 'nettle_cast5_set_key', but I'm not sure where > the extra leading '_' is coming from in either _nettle_cast5_set_key > or _qcrypto_cipher_new. Presumably that is something specific to > Os-X linking. I think that's just that the osx linker doesn't bother to unmangle the names when it prints them, and it has the common convention of prefixing C function names with an '_' for the symbol. thanks -- PMM