** Build of configuration Debug for project led ****
make -s all includes
Compiling main.c...
../main/main.c:5: warning: return type of 'main' is not `int'
../main/main.c:10:2: warning: no newline at end of file
Linking led.elf...
obj/main/main.o(.text+0x0): In function `main':
../main/main.c:5: multiple definition of `main'
obj/hello_world.o(.text+0x0):../hello_world.c:20: first defined here
/cygdrive/c/altera/72/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: Warning: size of symbol `main' changed from 48 in obj/hello_world.o to 28 in obj/main/main.o
collect2: ld returned 1 exit status
make: *** [led.elf] Error 1
Build completed in 2.031 seconds
出错信息如上,请高手指点!谢谢!!!