cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse: undefined reference to

AShva.1
Associate II

Hi!

I am trying to compile a project from several files in Eclipse.

Function print_hello() defined in another file N222.

Resulting error: undefined reference to `print_hello '

What am I doing wrong?

 0693W000000VK3bQAG.png

regards

Alexander

10 REPLIES 10

Indeed it looks like the file "222N.c" is not compiled at all.

Try to refresh the project, clean and rebuild.

If this won't help, ask your instructor to help (it is a student project?)

-- pa