Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

None: Error: L6218E: Undefined symbol (3 Replies)

$
0
0
Hi, I'm using uVision 5 to develop a firmware, however I can't get the linker to find one of my functions. When building, I get this error: Error: L6218E: Undefined symbol three() I have 3 files, main.c, Test.h, Test.c main.c : #include "Test.h" int main() { return three(); } Test.h : #ifndef TEST_H #define TEST_H int three(); #endif Test.c #include "Test.h" int three() { return 3; }

Viewing all articles
Browse latest Browse all 3049

Trending Articles