Forum Discussion
Altera_Forum
Honored Contributor
10 years agoundefined reference to fseek
Hello everyone i am doing edge detection on de2-115 using quartus and nios2. When i tried to build my project it shows me errors like undefined reference to fseek, fread, fopen. i have included a...
Altera_Forum
Honored Contributor
10 years agoThat error is caused because as it says, your object code is too large to fit in the on-chip memory. You can either move your code to sram or sdram, or enlarge the on-chip memory (if possible), or shrink your object code by going back to the small C library and not using fopen, fread, fseek, etc.