Keil Logo

Error L104

Summary
*** Error L104

Multiple Public Definitions
Symbol: symbol
Module: filename (module-name)
Defined: filename (module-name)

Description

A symbol is defined more than once as public symbol in several modules.

Cause

You have defined the symbol in several modules. The linker lists the modules that contain the definition of the symbol.

Resolution

Change the definition of the symbol or the symbol name. If you want to refer to just one symbol, you need to use the extern attribute at sub-sequent definitions of the symbol. If you do not want that the symbol is available in different modules, use the static symbol attribute.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.