Forum Discussion
Altera_Forum
Honored Contributor
13 years agoundefined reference to `fopen'
Hi Everyone, I have a probelm with using Nios II Build for Eclipse... I wrote a small C program trying to read from a file, and I get an error "C:\altera\mysopc_nios_sram\software\my...
Altera_Forum
Honored Contributor
13 years agoI'm not sure what version of Nios you are using but in the past I have opened the system library properties and unchecked "use small C library". This will probably increase your program size so you may need to increase the amount of memory allocated for your program code.