Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout v3.7.10.1)

2016-10-30 Thread Marcus Müller
Ah, in this case there might already be some "half-done" files from your first 
try left over in the build/ directory. Can you try deleting the gnuradio/build 
directory's complete content?

Am 30. Oktober 2016 17:43:51 MEZ, schrieb Benny Alexandar 
:
>Hi Marcus,
>
>
>No luck, I removed complete folder and uninstalled all previous
>installations by
>
>$ sudo apt-get purge --auto-remove uhd-host
>
>and installed uhd & gnuradio from source. uhd completed successfully,
>but gnuradio showing same errors.
>
>
>How to resolve it ?
>
>-ben
>
>
>
>
>From: Marcus Müller 
>Sent: Sunday, October 30, 2016 8:41:44 PM
>To: Benny Alexandar; discuss-gnuradio@gnu.org
>Subject: Re: [Discuss-gnuradio] Not able to build GNU Radio (git
>checkout v3.7.10.1)
>
>
>So, you want to make sure you *don't* install uhd-host via apt-get,
>then do the UHD source build and installation, and then do the GNU
>Radio source build and installation.
>
>Best regards,
>
>Marcus
>
>On 10/30/2016 04:07 PM, Benny Alexandar wrote:
>
>Hi Marcus,
>
>I installed uhd from source and is ( git checkout
>release_003_010_000_000),  from this link
>
>https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
>
>
>Can i uninstall uhd completely, by the below command
>
>
>
>sudo apt-get purge --auto-remove uhd-host
>
>Again, fresh installation should I first install uhd followed by
>gnuradio ?
>
>-ben
>
>
>From: Marcus Müller
>
>Sent: Sunday, October 30, 2016 8:01:19 PM
>To: Benny Alexandar;
>discuss-gnuradio@gnu.org
>Subject: Re: [Discuss-gnuradio] Not able to build GNU Radio (git
>checkout v3.7.10.1)
>
>Hi Ben,
>This is very symptomatic of a system with conflicting installs of a
>library, in your case UHD.
>
>Uninstall all UHDs that you have (check by searching for
>libuhd.so and multi_usrp.* globally) and reinstall
>only that UHD you want. If that is not the UHD that came with your
>Linux distro, make sure you don't accidentally reinstall it, e.g. by
>installing something that depends on it.
>
>Best regards,
>Marcus
>
>Am 30. Oktober 2016 15:22:22 MEZ, schrieb Benny Alexandar
>:
>
>Hi,
>
>
>I get this following error while building GNU Radio 3.7.10.1. Please
>find the below errors
>
>
>-
>
>
>[ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
>Scanning dependencies of target _uhd_swig
>[ 86%] Building CXX object
>gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
>In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,
>PyObject*, PyObject*)’:
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
>error: ‘class uhd::usrp::dboard_iface’ has no member named
>‘set_gpio_debug’
>   (arg1)->set_gpio_debug(arg2,arg3);
>   ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
>In function ‘PyObject*
>_wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*,
>PyObject*)’:
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
>error: ‘class uhd::usrp::dboard_iface’ has no member named
>‘set_gpio_debug’
>   (*arg1)->set_gpio_debug(arg2,arg3);
>^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
>In function ‘void init_uhd_swig()’:
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039:91:
>error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_IDLE)));
>  ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040:94:
>error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));
>  ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041:94:
>error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));
>  ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042:98:
>error: ‘ATR_REG_FULL_DUPLEX’ is not a member of

Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout v3.7.10.1)

2016-10-30 Thread Benny Alexandar
Hi Marcus,


No luck, I removed complete folder and uninstalled all previous installations by

$ sudo apt-get purge --auto-remove uhd-host

and installed uhd & gnuradio from source. uhd completed successfully, but 
gnuradio showing same errors.


How to resolve it ?

-ben




From: Marcus Müller 
Sent: Sunday, October 30, 2016 8:41:44 PM
To: Benny Alexandar; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout 
v3.7.10.1)


So, you want to make sure you *don't* install uhd-host via apt-get, then do the 
UHD source build and installation, and then do the GNU Radio source build and 
installation.

Best regards,

Marcus

On 10/30/2016 04:07 PM, Benny Alexandar wrote:

Hi Marcus,

I installed uhd from source and is ( git checkout release_003_010_000_000),  
from this link

https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux


Can i uninstall uhd completely, by the below command



sudo apt-get purge --auto-remove uhd-host

Again, fresh installation should I first install uhd followed by gnuradio ?

-ben


From: Marcus Müller 
Sent: Sunday, October 30, 2016 8:01:19 PM
To: Benny Alexandar; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout 
v3.7.10.1)

Hi Ben,
This is very symptomatic of a system with conflicting installs of a library, in 
your case UHD.

Uninstall all UHDs that you have (check by searching for 
libuhd.so and multi_usrp.* globally) and reinstall only that 
UHD you want. If that is not the UHD that came with your Linux distro, make 
sure you don't accidentally reinstall it, e.g. by installing something that 
depends on it.

Best regards,
Marcus

Am 30. Oktober 2016 15:22:22 MEZ, schrieb Benny Alexandar 
:

Hi,


I get this following error while building GNU Radio 3.7.10.1. Please find the 
below errors


-


[ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
Scanning dependencies of target _uhd_swig
[ 86%] Building CXX object 
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*, 
PyObject*)’:
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
 error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
   (arg1)->set_gpio_debug(arg2,arg3);
   ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, 
PyObject*, PyObject*)’:
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
 error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
   (*arg1)->set_gpio_debug(arg2,arg3);
^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function ‘void init_uhd_swig()’:
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039:91:
 error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_IDLE)));

   ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040:94:
 error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));

  ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041:94:
 error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));

  ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042:98:
 error: ‘ATR_REG_FULL_DUPLEX’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));

  ^
make[2]: *** 

Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout v3.7.10.1)

2016-10-30 Thread Benny Alexandar
Hi Marcus,

I installed uhd from source and is ( git checkout release_003_010_000_000),  
from this link

https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux


Can i uninstall uhd completely, by the below command



sudo apt-get purge --auto-remove uhd-host

Again, fresh installation should I first install uhd followed by gnuradio ?

-ben



From: Marcus Müller 
Sent: Sunday, October 30, 2016 8:01:19 PM
To: Benny Alexandar; discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout 
v3.7.10.1)

Hi Ben,
This is very symptomatic of a system with conflicting installs of a library, in 
your case UHD.

Uninstall all UHDs that you have (check by searching for 
libuhd.so and multi_usrp.* globally) and reinstall only that 
UHD you want. If that is not the UHD that came with your Linux distro, make 
sure you don't accidentally reinstall it, e.g. by installing something that 
depends on it.

Best regards,
Marcus

Am 30. Oktober 2016 15:22:22 MEZ, schrieb Benny Alexandar 
:

Hi,


I get this following error while building GNU Radio 3.7.10.1. Please find the 
below errors


-


[ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
Scanning dependencies of target _uhd_swig
[ 86%] Building CXX object 
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function 'PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*, 
PyObject*)':
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
 error: 'class uhd::usrp::dboard_iface' has no member named 'set_gpio_debug'
   (arg1)->set_gpio_debug(arg2,arg3);
   ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function 'PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, 
PyObject*, PyObject*)':
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
 error: 'class uhd::usrp::dboard_iface' has no member named 'set_gpio_debug'
   (*arg1)->set_gpio_debug(arg2,arg3);
^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function 'void init_uhd_swig()':
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039:91:
 error: 'ATR_REG_IDLE' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_IDLE)));

   ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040:94:
 error: 'ATR_REG_TX_ONLY' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));

  ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041:94:
 error: 'ATR_REG_RX_ONLY' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));

  ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042:98:
 error: 'ATR_REG_FULL_DUPLEX' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));

  ^
make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] 
Error 1
make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
make: *** [all] Error 2






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

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout v3.7.10.1)

2016-10-30 Thread Marcus Müller
So, you want to make sure you *don't* install uhd-host via apt-get, then
do the UHD source build and installation, and then do the GNU Radio
source build and installation.

Best regards,

Marcus


On 10/30/2016 04:07 PM, Benny Alexandar wrote:
>
> Hi Marcus,
>
> I installed uhd from source and is ( git checkout
> release_003_010_000_000),  from this link
>
> https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
> 
>
>
> Can i uninstall uhd completely, by the below command
>
>  
> sudo apt-get purge --auto-remove uhd-host
>
> Again, fresh installation should I first install uhd followed by gnuradio ?
>
> -ben
>
> 
> *From:* Marcus Müller 
> *Sent:* Sunday, October 30, 2016 8:01:19 PM
> *To:* Benny Alexandar; discuss-gnuradio@gnu.org
> *Subject:* Re: [Discuss-gnuradio] Not able to build GNU Radio (git
> checkout v3.7.10.1)
>  
> Hi Ben,
> This is very symptomatic of a system with conflicting installs of a
> library, in your case UHD.
>
> Uninstall all UHDs that you have (check by searching for libuhd.so
>  and multi_usrp.* globally) and reinstall only that
> UHD you want. If that is not the UHD that came with your Linux distro,
> make sure you don't accidentally reinstall it, e.g. by installing
> something that depends on it.
>
> Best regards,
> Marcus
>
> Am 30. Oktober 2016 15:22:22 MEZ, schrieb Benny Alexandar
> :
>
> Hi,
>
>
> I get this following error while building GNU Radio 3.7.10.1.
> Please find the below errors
>
>
> -
>
>
> [ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
> Scanning dependencies of target _uhd_swig
> [ 86%] Building CXX object
> gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject*
> _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*, PyObject*)’:
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
> error: ‘class uhd::usrp::dboard_iface’ has no member named
> ‘set_gpio_debug’
>(arg1)->set_gpio_debug(arg2,arg3);
>^
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject*
> _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*,
> PyObject*)’:
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
> error: ‘class uhd::usrp::dboard_iface’ has no member named
> ‘set_gpio_debug’
>(*arg1)->set_gpio_debug(arg2,arg3);
> ^
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘void init_uhd_swig()’:
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039:91:
> error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_IDLE)));
>   
> 
> ^
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040:94:
> error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));
>   
>
> ^
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041:94:
> error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));
>   
>
> ^
> 
> /home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042:98:
> error: ‘ATR_REG_FULL_DUPLEX’ is not a member of
> ‘uhd::usrp::dboard_iface’
>SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));
>   
>
> ^
> make[2]: ***
> [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o]
> Error 1
> make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
> make: *** [all] 

Re: [Discuss-gnuradio] Not able to build GNU Radio (git checkout v3.7.10.1)

2016-10-30 Thread Marcus Müller
Hi Ben,
This is very symptomatic of a system with conflicting installs of a library, in 
your case UHD. 

Uninstall all UHDs that you have (check by searching for libuhd.so and 
multi_usrp.* globally) and reinstall only that UHD you want. If that is not the 
UHD that came with your Linux distro, make sure you don't accidentally 
reinstall it, e.g. by installing something that depends on it.

Best regards,
Marcus

Am 30. Oktober 2016 15:22:22 MEZ, schrieb Benny Alexandar 
:
>Hi,
>
>
>I get this following error while building GNU Radio 3.7.10.1. Please
>find the below errors
>
>
>-
>
>
>[ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
>Scanning dependencies of target _uhd_swig
>[ 86%] Building CXX object
>gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
>In function 'PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,
>PyObject*, PyObject*)':
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
>error: 'class uhd::usrp::dboard_iface' has no member named
>'set_gpio_debug'
>   (arg1)->set_gpio_debug(arg2,arg3);
>   ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
>In function 'PyObject*
>_wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*,
>PyObject*)':
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
>error: 'class uhd::usrp::dboard_iface' has no member named
>'set_gpio_debug'
>   (*arg1)->set_gpio_debug(arg2,arg3);
>^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
>In function 'void init_uhd_swig()':
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039:91:
>error: 'ATR_REG_IDLE' is not a member of 'uhd::usrp::dboard_iface'
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_IDLE)));
>  ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040:94:
>error: 'ATR_REG_TX_ONLY' is not a member of 'uhd::usrp::dboard_iface'
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));
>  ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041:94:
>error: 'ATR_REG_RX_ONLY' is not a member of 'uhd::usrp::dboard_iface'
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));
>  ^
>/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042:98:
>error: 'ATR_REG_FULL_DUPLEX' is not a member of
>'uhd::usrp::dboard_iface'
>SWIG_Python_SetConstant(d,
>"dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int
>>(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));
>  ^
>make[2]: ***
>[gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error
>1
>make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
>make: *** [all] Error 2
>
>
>
>
>
>
>
>___
>Discuss-gnuradio mailing list
>Discuss-gnuradio@gnu.org
>https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Not able to build GNU Radio (git checkout v3.7.10.1)

2016-10-30 Thread Benny Alexandar
Hi,


I get this following error while building GNU Radio 3.7.10.1. Please find the 
below errors


-


[ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
Scanning dependencies of target _uhd_swig
[ 86%] Building CXX object 
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function 'PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*, 
PyObject*)':
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
 error: 'class uhd::usrp::dboard_iface' has no member named 'set_gpio_debug'
   (arg1)->set_gpio_debug(arg2,arg3);
   ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function 'PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, 
PyObject*, PyObject*)':
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
 error: 'class uhd::usrp::dboard_iface' has no member named 'set_gpio_debug'
   (*arg1)->set_gpio_debug(arg2,arg3);
^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: 
In function 'void init_uhd_swig()':
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039:91:
 error: 'ATR_REG_IDLE' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_IDLE)));

   ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040:94:
 error: 'ATR_REG_TX_ONLY' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));

  ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041:94:
 error: 'ATR_REG_RX_ONLY' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));

  ^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042:98:
 error: 'ATR_REG_FULL_DUPLEX' is not a member of 'uhd::usrp::dboard_iface'
   SWIG_Python_SetConstant(d, 
"dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int 
>(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));

  ^
make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] 
Error 1
make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
make: *** [all] Error 2



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Question about GNURADIO File sink

2016-10-30 Thread Marcus Müller
Dear Pablo,

that's something that is most probably really easy to implement with a
block of your own.

Refer to http://tutorials.gnuradio.org on how to write your own python
block. You could write a python block that takes input which is a vector
of 100*1024*1024B/(8B/sample) = 13107200 complex numbers, and directly
writes each input to an own file using numpy. You can convert a stream
of (single) samples to a stream of vectors of that size using a
stream_to_vector block.

Best regards,

Marcus


On 10/30/2016 09:58 AM, adrianapa wrote:
> Hello I would solve a doubt about software GNURADIO, how i can record in
> diferent files? If I use a gnuradio block "File sink"  I save my data in a
> file, I want to save my data in diferent files every 100 MB. Can you help
> me? 
>
> Best regards,
>
>  Pablo
>
>
>
> --
> View this message in context: 
> http://gnuradio.4.n7.nabble.com/Question-about-GNURADIO-File-sink-tp61841.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Question about GNURADIO File sink

2016-10-30 Thread adrianapa
Hello I would solve a doubt about software GNURADIO, how i can record in
diferent files? If I use a gnuradio block "File sink"  I save my data in a
file, I want to save my data in diferent files every 100 MB. Can you help
me? 

Best regards,

 Pablo



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Question-about-GNURADIO-File-sink-tp61841.html
Sent from the GnuRadio mailing list archive at Nabble.com.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio