This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to prevent Error: L6200E: Symbol multiply defined?

Hi guys,

I'm receiving the Error: 'L6200E: Symbol multiply defined'.

I understand one workaround is to include externs, however this is unideal. With most compilers/linkers something such as:

#ifndef bla
#define bla

// Content

#endif

Would prevent double inclusion, however it doesn't appear to work with Keil.

Any ideas on a similar solution?

Many thanks

Parents
  • Reason for starting this thread: Error message was new (having never mixed the two before in actuality, familiar only with the notion of symbols in library linking).

    Reason for resolution: Understood the problem at hand and resolved (only possible with understanding) - that's called proof fyi.

    Reason for profession: Spell-check, documentation and creative license kind of renders dyslexia mute, thankfully dyslexia and logical thinking aren't related, though, the logical reasoning that dyslexia would some how prevent me from doing this profession leaves me somewhat bemused.

    Reason for your unprofessional/unfriendly attitude on dedicated product support forums: I don't care, however, you're an annoyance and a distraction so go away.

Reply
  • Reason for starting this thread: Error message was new (having never mixed the two before in actuality, familiar only with the notion of symbols in library linking).

    Reason for resolution: Understood the problem at hand and resolved (only possible with understanding) - that's called proof fyi.

    Reason for profession: Spell-check, documentation and creative license kind of renders dyslexia mute, thankfully dyslexia and logical thinking aren't related, though, the logical reasoning that dyslexia would some how prevent me from doing this profession leaves me somewhat bemused.

    Reason for your unprofessional/unfriendly attitude on dedicated product support forums: I don't care, however, you're an annoyance and a distraction so go away.

Children