Forum Discussion
Altera_Forum
Honored Contributor
12 years agoInclude files not found in Altera-SoCFPGA-HelloWorld-Baremetal-GNU
Hello, I got the example project Altera-SoCFPGA-HelloWorld-Baremetal-GNU to work. I am using DS-5 and the target is Cyclone 5 SoC. I modified the hello.c so that it calls a function from anot...
Altera_Forum
Honored Contributor
12 years agoHi,
I tried your suggestion and it seemed to help partially. So thank you for that. It recognized the header file but it still couldn't reference the function correctly. It kept saying "undefined reference to function fastgps()" I then noticed in the Makefile, see line# 6 in the attached screenshot, the second C file (testfunc.c) was not listed and I had to manually write that down to successfully build it. I wonder why it doesn't list all the C files on its own.