Jimmy Richardson wrote:

I got latest MinGW installed and I'm trying to compile latest GNURadio based on the steps from http://gnuradio.org/redmine/wiki/gnuradio/MingwInstallMain, everything works if I put the gnuradio source files under /usr/src/gnuradio, however if I run ./bootstrap and ./configure from outside MSYS directory system, say E:\gnuradio (i.e. change directory to /e/gnuradio inside MSYS) and run ./bootstrap and ./configure, then make, I got error:

test_gruel.cc: In function 'void ensure_unittest_path(const char*, const char*)'
:
test_gruel.cc:75:3: error: 'mkdir' was not declared in this scope
make[5]: *** [test_gruel.o] Error 1

Is there a ./configure flag I should use in this case?

My guess is that this is due to a recent change in gruel/src/lib/test_gruel.cc. Try adding the line

#include <unistd.h>

immediately after the line

#include <sys/stat.h>

Please let us know if this works.

-- Don W.



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to