2 years, 4 months ago.

Mbed CLI compiles with warning "Object file aes.o is not unique!"

Hello, I recently installed the Mbed CLI and have been running into this warning:

Object file aes.o is not unique! It could be made from: ./mbed-os/features/mbedtls/src/aes.c ./mbed-os/targets/TARGET_Maxim/TARGET_MAX32620C/mxc/aes.c

The compiler would still continue to compile and generate a .bin file, but it would not run successfully.

How can I fix this issue?

Technical info:

  • MAX32620FTHR (DAPLINK programmer is the MAX32625PICO MAXDAP)
  • mbed cli 1.7.3
  • GCC_ARM 7
  • macOS High Sierra

Thank you!

2 Answers

2 years, 4 months ago.

Hello

The warning appears because there are two files with the same name (aes.c). If you change the name of one of those files (located at the specified path) the warning should disappear.

-Karen, team Mbed

2 years, 4 months ago.

Pull request has been created with the fix for this warning. https://github.com/ARMmbed/mbed-os/pull/7249