- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 1Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You seem to be missing a main() function. Check that it is part of your project and that it compiles.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page