run-tests failed
WenchenLi opened this issue · comments
Richard commented
hi,
running ./run-tests gave me this, how can I fix this?
test-lstm.cc:81:3: error: use of undeclared identifier 'unlink'
unlink("__test0__.clstm");
^
test-lstm.cc:114:3: error: use of undeclared identifier 'unlink'
unlink("__test__.clstm");
^
2 errors generated.
scons: *** [test-lstm.o] Error 1
scons: building terminated because of errors.
>>>>>>> echo TEST FAILED
TEST FAILED
Rolf Mertig commented
Adding
#include <unistd.h>
in test.lstm.cc
worked for me.