Forum: GNU Radio Error when compiling

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Alaelddin M. (Guest)
on 2007-06-18 20:51
(Received via mailing list)
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 function `bool 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 function `bool 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
Don W. (Guest)
on 2007-06-18 21:29
(Received via mailing list)
----- 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.
This topic is locked and can not be replied to.