Skip to content

Duplicate source names give error #12

@NicoHood

Description

@NicoHood

I try to compile those files:

avrnacl_small/crypto_auth/hmac.c 
avrnacl_small/crypto_box/curve25519xsalsa20poly1305.c 
avrnacl_small/crypto_core/hsalsa20.c 
avrnacl_small/crypto_core/salsa20.c 
avrnacl_small/crypto_dh/curve25519.c 
avrnacl_small/crypto_hash/sha512.c 
avrnacl_small/crypto_hashblocks/sha512.c 
avrnacl_small/crypto_onetimeauth/poly1305.c 
avrnacl_small/crypto_scalarmult/curve25519.c 
avrnacl_small/crypto_secretbox/xsalsa20poly1305.c 
avrnacl_small/crypto_sign/ed25519.c 
avrnacl_small/crypto_sign/sc25519.c 
avrnacl_small/crypto_sign/precompute.c 
avrnacl_small/crypto_sign/ge25519.c 
avrnacl_small/crypto_stream/xsalsa20.c 
avrnacl_small/crypto_stream/salsa20.c 
avrnacl_small/crypto_verify/verify.c

But I get this error:

dmbs/DMBS/gcc.mk:95: *** Cannot build with OBJDIR parameter set - one or more object file name is not unique.  Stop.

If you look closer at the sources you will notice that sha512.c (and others) are available in two folders (but still different code inside). I think the folder structure is not kept in the output path and therefor this causes problems.

Using latest dmbs release-20160403 or newer (from git).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions