- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a created a NIOS II system with Timer. In my C program, I have included "# include "sys/alt_timestamp.h" .
While compiling, I get the error "undefined reference to alt_timestamp". Basically its not able to find "altera_avalon_timer.h" file.
I have attached the NIOS SDK error snapshot. Pl. suggest suitable resolution for this.
rgds,
sunil
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sunil,
- No, It's not related to altera_avalon_timer.h header.If so you should have get error: altera_avalon_timer.h: No such file or directory,
- Can you see altera_avalon_timer.h in <projectname>_bsp->drivers->inc->altera_avalon_timer.h ? if No include Interval Timer ip in your qsys system.
- Try to regenerate the .sopcinfo file (check the time at which file is been generated) and create new eclipse project.
- If possible can you take screen short of small_hell_world.c and share?
- try the example code from below link go to page No:173
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Regards
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Anand,
Thanks for the inputs.
Rgds,
sunil
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