06-19-2008 10:51 AM
.../LOCALS~1/Temp/cc8DsVdb.o: In function `main':
.../test/src/test.c:14: undefined reference to `XTime_GetTime'
.../test/src/test.c:17: undefined reference to `XTime_GetTime'
collect2: ld returned 1 exit status
make: *** [microblaze_0/code/test.elf] Error 1
07-10-2008 02:54 AM
The functions from xtime_l.h are for PPC and the functions from xtmrctr_l.h or xtmrctr.h should be used for MicroBlaze.
Please note that a timer has to be added to the MicroBlaze system to use the timer functions, since MicroBlaze doesn't have an build-in timer.