Altera_Forum
Honored Contributor
14 years agoError occurred during building the project in NiosII
hi,
In my project i'm going to build c program by using nios II . but the following error has occurred when i building the project . So if any one have a idea about this , plz rply to this thread. /cygdrive/d/Janaranga/main/main_syslib/Debug/libmain_syslib.a(alt_main.o)(.text+0x58): In function `alt_main': /cygdrive/c/altera/nios/nios2eds/components/altera_hal/HAL/src/alt_main.c:154: undefined reference to `main' collect2: ld returned 1 exit status make: *** [main.elf] Error 1