Search found 1 match
- Thu Aug 05, 2010 9:21 am
- Forum: C and ASM Programming
- Topic: Link-time error: undefined reference to `_gettimeofday_r'
- Replies: 0
- Views: 3518
Link-time error: undefined reference to `_gettimeofday_r'
Hello, I have the code below which can be compiled (using arm7-comp.bat) without error: #include <time.h> int main(){ time_t t; //time_t is "unsigned long" time(&t); return 0; } However, at link time, it gave me the following error: C:\PROGRA~1\MATRIX~1\Flowcode_ARM\Tools\MX_bats\..\ar...