- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
I'm using MPC5748G SDK3.0.0. I have:
1. Selected ewl_c9x library in project property
2. Added the following macro in project property.
3. Added "#include <ctime>" in the code
The usage of variables clock_t, time_t is ok, but when I tried to call time related routines, such as "clock()", "mktime()", the error was reported that "undefined reference to `****`"
Could you help to provide a way to use the routine in ewl library?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi William,
it looks, that library archive (libc99.a) doesn't contain binary for clock functions (based on output from nm libc99.a command). You can use newlib instead EWL.
Hope it helps.
Jiri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi William,
it looks, that library archive (libc99.a) doesn't contain binary for clock functions (based on output from nm libc99.a command). You can use newlib instead EWL.
Hope it helps.
Jiri