undefined reference issue
Answer
7/10/18 9:00 PM

Hello community,

 

I am building a project with multiple source files and encountered an undefined reference error for some funtions implemented in one of those additional source files.

The functions are defined as prototypes in an according header file which is called in my main source file. Also I wrote the import folder and the .c files in the makefile like it is done in other example projects.

Does someone see what I am missing?

Pictures are

(1) Errors (2) Folder Strucure (3) prototypes (.h) (4) implementations (.c) (5) Makefile

0 (0 Votes)
RE: undefined reference issue
Answer
7/10/18 9:10 PM as a reply to Julian Peters.
Oh my.... 'static' is the bad word of course. Sorry for bothering you
0 (0 Votes)
RE: undefined reference issue
Answer
7/11/18 2:28 PM as a reply to Julian Peters.
Hello Julian,

I am glad to hear that you were able to solve the error regarding the undefined reference by yourself.

Please feel free to ask if you have any kind of further questions or concern.

Kind regards,
Franjo
0 (0 Votes)