Error when compiling


#1

Hi

I am new to gnu radio. when I compiled the gnu radio I got the following
error. I am using Cygwin.

$./make
.
.
usrp_basic.cc: In constructor usrp_basic_rx::usrp_basic_rx(int, int, int, std:: string, std::string)': usrp_basic.cc:481: error: expected unqualified-id before '(' token usrp_basic.cc: In member functionbool usrp_basic_rx::set_pga(int,
double)’:
usrp_basic.cc:662: error: expected unqualified-id before ‘(’ token
usrp_basic.cc:663: error: expected unqualified-id before ‘(’ token
usrp_basic.cc: In constructor usrp_basic_tx::usrp_basic_tx(int, int, int, std:: string, std::string)': usrp_basic.cc:914: error: expected unqualified-id before '(' token usrp_basic.cc: In member functionbool usrp_basic_tx::set_pga(int,
double)’:
usrp_basic.cc:1098: error: expected unqualified-id before ‘(’ token
usrp_basic.cc:1099: error: expected unqualified-id before ‘(’ token
make[5]: *** [usrp_basic.lo] Error 1
make[5]: Leaving directory /usr/src/gnuradio-3.0.3/usrp/host/lib' make[4]: *** [all] Error 2 make[4]: Leaving directory/usr/src/gnuradio-3.0.3/usrp/host/lib’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /usr/src/gnuradio-3.0.3/usrp/host' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/usr/src/gnuradio-3.0.3/usrp’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnuradio-3.0.3’
make: *** [all] Error 2

what shall I do please.

–Alaelddin


#2

----- Original Message -----
From: “Alaelddin M.” removed_email_address@domain.invalid
To: removed_email_address@domain.invalid
Sent: Monday, June 18, 2007 12:50 PM
Subject: [Discuss-gnuradio] Error when compiling

string, std::string)’:
double)’:
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnuradio-3.0.3’
make: *** [all] Error 2

what shall I do please.

This is documented in ticket #145 (www.gnuradio.org/trac/ticket/145).
My
workaround has been to run configure with:

CXX=“g++ -DNOMINMAX”
./configure --with-boost-include-dir=/usr/include/boost-1_33_1

(without the e-mail line breaks!).

– Don W.