The template is new_net with DHCP turned off in ecos.ecc.
These are the link errors I get when not including the two files.Actually only the .inl is that counts, with hxx is still
erring but yesterday I threw them both in because other .cxx files in the same dir as mutex.cxx include them.
Oddly enough make tests passes for all tests.
/home/jani/work/build/edb/new_net/install/lib/libtarget.a(compat_posix_mutex.o): In function `pthread_cond_timedwait':
/home/jani/ecos/packages/compat/posix/current/src/mutex.cxx:527: undefined reference to `Cyg_Scheduler::lock(void)'
/home/jani/ecos/packages/compat/posix/current/src/mutex.cxx:534: undefined reference to `Cyg_Scheduler::unlock(void)'
collect2: ld returned 1 exit status
Ah I guess what's happened is that this is your own app, not the tests.
The tests don't happen to refer to pthread_cond_timedwait. I'll fix it.