[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Unable to compile under MinGW in a directoryoutsi

From: Don Ward
Subject: Re: [Discuss-gnuradio] Unable to compile under MinGW in a directoryoutside MSYS
Date: Fri, 5 Nov 2010 14:38:12 -0400

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]