discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] "usleep" problem while executing "make" for gnuradio-


From: Shabbir Ahmed
Subject: [Discuss-gnuradio] "usleep" problem while executing "make" for gnuradio-3.1.3 on MSYS-MINGW
Date: Fri, 15 Jan 2010 19:57:56 +1100

Hi ALL:

I have been trying to get GNURADIO installed on windows, failed with CYGWIN and then tried with MSYS/MINGW everything went fine until the last, while executing "make" for gnuradio.

-----------------------------------------------------------------------------------------------------------------------
$ make
make  all-recursive
make[1]: Entering directory `/usr/src/gnuradio-3.1.3'
Making all in config
make[2]: Entering directory `/usr/src/gnuradio-3.1.3/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/gnuradio-3.1.3/config'
Making all in omnithread
make[2]: Entering directory `/usr/src/gnuradio-3.1.3/omnithread'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -DOMNITHREAD_NT=1 -DPthreadDraftVersion=10 -I/usr/src/gnuradio-3.1.3/omnithread  -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual  -MT omni_time.lo -MD -MP -MF .deps/omni_time.Tpo -c -o omni_time.lo omni_time.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DOMNITHREAD_NT=1 -DPthreadDraftVersion=10 -I/usr/src/gnuradio-3.1.3/omnithread -I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -MT omni_time.lo -MD -MP -MF .deps/omni_time.Tpo -c omni_time.cc  -DDLL_EXPORT -DPIC -o .libs/omni_time.o
In file included from omni_time.cc:23:
../config.h: In function `int nanosleep(const timespec*, timespec*)':
../config.h:467: error: `usleep' was not declared in this scope
../config.h:467: warning: unused variable 'usleep'
make[2]: *** [omni_time.lo] Error 1
make[2]: Leaving directory `/usr/src/gnuradio-3.1.3/omnithread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnuradio-3.1.3'
make: *** [all] Error 2

---------------------------------------------------------------------------------------------------------------------


It is a problem that was reported earlier (http://old.nabble.com/Make-fail...config.h:467:-error:-'usleep'-was-not-declared-in-this-scope-td21246741.html) but no solution is posted in the link. I looked into the steps mentioned by Don. But couldnt get any leads.

Please help!

regards.




--
Shabbir Ahmed
PhD. Student
Centre for Telecommunications and Microelectronics
Victoria University
Email: address@hidden

reply via email to

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