[prev in list] [next in list] [prev in thread] [next in thread] 

List:       usrp-users
Subject:    Re: [USRP-users] I am dead in the water due to the following error: RFNoC not found.
From:       "Collins, Richard via USRP-users" <usrp-users () lists ! ettus ! com>
Date:       2016-05-27 16:20:41
Message-ID: CABgQ8cY7GQn2UBHwYQX=gyTnC-9GWJaQ-_g7VP6tVa+P3SS=0w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Further info:

Doing a *make clean*, removing everything from the build folder, and
re-running cmake with the added *-DENABLE_B200=OFF* allowed the subsequent
*make* to finish successfully.

However, when I run make test, all tests pass except sph_recv_test.

Running just /opt/src/uhd-rfnoc/host/build/tests/sph_recv_test throws a few
"unknown location(0)" errors, and the whole output has been included as
sph_recv_test.txt .

Unrelated to the error, but related to what I've reported previously...
since I've installed everything to /opt/uhd-rfnoc/ instead of
/opt/gnuradio-rfnoc/, I've updated my source script to expand PATH,
LD_LIBRARY_PATH, and PKG_CONFIG_PATH accordingly.


Richard


On Fri, May 27, 2016 at 10:59 AM, Collins, Richard <
richard.collins@axenterprize.com> wrote:

> I'm getting the exact same error, as follows:
> 
> [ 44%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o
> /opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.cpp: In constructor
> ‘b200_impl::b200_impl(const uhd::device_addr_t&,
> uhd::transport::usb_device_handle::sptr&)':
> /opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.cpp:624:93: error: no
> matching function for call to
> ‘uhd::usrp::ad936x_manager::loopback_self_test(radio_ctrl_core_3000::sptr&,
> int, const int&)'
> _codec_mgr->loopback_self_test(perif.ctrl, TOREG(SR_CODEC_IDLE),
> RB64_CODEC_READBACK);
> 
> ^
> In file included from
> /opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.hpp:25:0,
> from
> /opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.cpp:18:
> /opt/src/uhd-rfnoc/host/lib/usrp/common/ad936x_manager.hpp:82:18: note:
> candidate: virtual void
> uhd::usrp::ad936x_manager::loopback_self_test(boost::function<void(unsigned
> int)>, boost::function<long unsigned int()>)
> virtual void loopback_self_test(
> ^
> /opt/src/uhd-rfnoc/host/lib/usrp/common/ad936x_manager.hpp:82:18: note:
> candidate expects 2 arguments, 3 provided
> lib/CMakeFiles/uhd.dir/build.make:4365: recipe for target
> 'lib/CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o' failed
> make[2]: *** [lib/CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o] Error 1
> CMakeFiles/Makefile2:117: recipe for target 'lib/CMakeFiles/uhd.dir/all'
> failed
> make[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> 
> How I got here is by using the following commands:
> 
> (from a directory under my user's ownership and group called "src"):
> $ git clone --recursive git://github.com/EttusResearch/uhd.git uhd-rfnoc
> $ cd uhd-rfnoc
> $ git checkout -b rfnoc-radio-redo -t origin/rfnoc-radio-redo
> $ cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd-rfnoc/ -DENABLE_X300=ON
> -DENABLE_E300=ON -DLIB_SUFFIX=64 -Wno-dev ../
> 
> Note, I already created and chown'd and chgrp'd folder, /opt/uhd-rfnoc/,
> and made a file (which I plan to "source" before attempting to run gnuradio
> once installed) that consists of the following text:
> BASE=/opt/gnuradio-rfnoc
> export PATH=${PATH}:${BASE}/bin
> export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BASE}/lib64
> export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${BASE}/lib64/pkgconfig
> export PYTHONPATH=${PYTHONPATH}:${BASE}/lib64/python2.7/site-packages/
> 
> Should I be running cmake with a flag of -DENABLE_B200=OFF ?
> Or should I not have git-clone'd recursively?
> 
> (I don't have a B200 or B210, so I'll try it with DENABLE_B200=OFF)
> 
> 
> - Richard
> 
> 
> On Sun, May 8, 2016 at 8:09 PM, Swanson, Craig via USRP-users <
> usrp-users@lists.ettus.com> wrote:
> 
> > ​Marcus,
> > 
> > I just upgraded my image to e3xx-release-4 on my E310.
> > 
> > Craig
> > 
> > 
> > *Craig F. Swanson*
> > 
> > *Research Engineer II *
> > *Information and Communications Laboratory*
> > *Communications, Systems, and Spectrum Division*
> > *Georgia Tech Research Institute*
> > 
> > 
> > *Room 560 250 14th St NW *
> > *Atlanta, GA 30318*
> > *Cell: 770.298.9156 <770.298.9156>*
> > http://www.gtri.gatech.edu
> > <https://mail.gtri.gatech.edu/owa/redir.aspx?C=c20925f2f0af4dd29329ddf0701ecfff&URL=http%3a%2f%2fwww.gtri.gatech.edu%2f>
> >  
> > 
> > ------------------------------
> > *From:* Marcus Müller <marcus.mueller@ettus.com>
> > *Sent:* Saturday, May 7, 2016 2:33 PM
> > *To:* Swanson, Craig; Martin Braun; Jonathon Pendlum
> > *Cc:* usrp-users@lists.ettus.com
> > *Subject:* Re: [USRP-users] I am dead in the water due to the following
> > error: RFNoC not found.
> > 
> > You're welcome! Hope this works out.
> > 
> > If you're aiming for using RFNoC on your E310 (which I just realized
> > might be the case, looking at your -DENABLE_E300), you not only need any
> > version of UHD that supports RFNoC – you need the version (and, most
> > importantly, since I guess you might be building your own FPGA images
> > sooner or later, the right FPGA source code) that runs on the E310.
> > 
> > What image are you running on the E310?
> > 
> > Best regards,
> > Marcus
> > 
> > On 07.05.2016 20:30, Swanson, Craig wrote:
> > 
> > Marcus,
> > 
> > Thanks for the quick reply.
> > 
> > Craig
> > 
> > 
> > 
> > *Craig F. Swanson*
> > 
> > *Research Engineer II *
> > *Information and Communications Laboratory*
> > *Communications, Systems, and Spectrum Division*
> > *Georgia Tech Research Institute*
> > 
> > 
> > *Room 560 250 14th St NW *
> > *Atlanta, GA 30318*
> > *Cell: 770.298.9156 <770.298.9156>*
> > 
> > <https://mail.gtri.gatech.edu/owa/redir.aspx?C=c20925f2f0af4dd29329ddf0701ecfff&URL=http%3a%2f%2fwww.gtri.gatech.edu%2f>
> >  http://www.gtri.gatech.edu
> > 
> > ------------------------------
> > *From:* Marcus Müller <marcus.mueller@ettus.com>
> > <marcus.mueller@ettus.com>
> > *Sent:* Saturday, May 7, 2016 2:23 PM
> > *To:* Swanson, Craig; Martin Braun; Jonathon Pendlum
> > *Cc:* usrp-users@lists.ettus.com; Myers, David
> > *Subject:* Re: [USRP-users] I am dead in the water due to the following
> > error: RFNoC not found.
> > 
> > Hi Craig,
> > 
> > this won't work because you're (implicitly) checking out the "master"
> > branch of UHD - which isn't RFNoC'ed.
> > 
> > So, I recommend modifying your script:
> > 
> > instead of
> > 
> > git clone https://github.com/EttusResearch/uhd
> > 
> > use
> > 
> > git clone -b rfnoc-devel https://github.com/EttusResearch/uhd
> > git submodule update --init ##fill the fpga-src directory with the
> > matching FPGA code
> > 
> > . Of course, if you've still got the downloaded files around, you can
> > check out the right branch right now
> > 
> > cd ~/uhd/host/build
> > sudo make uninstall
> > rm -r * ##cleans the build directory
> > git checkout -t rfnoc-devel ## checks out the RFNoC version of UHD
> > git submodule update --init ##fill the fpga-src directory with the
> > matching FPGA code
> > cmake -DENABLE_E300=ON ../
> > make -j8 && sudo make install && sudo ldconfig
> > 
> > cd ~/gnuradio/build
> > cmake ..
> > make -j8 && sudo make install && sudo ldconfig
> > 
> > and then try building gr-ettus again.
> > 
> > Best regards,
> > Marcus
> > On 07.05.2016 20:11, Swanson, Craig via USRP-users wrote:
> > 
> > Martin,
> > 
> > When I perform a cmake ../ in gr-ettus, I get the following error:
> > CMake Error at CMakeLists.txt:113 (message):
> > RFNoC not found.
> > 
> > Here are more details of the error:
> > craig@craig-VirtualBox:~/gr-ettus/build (master)$ cmake ../
> > -- The CXX compiler identification is GNU 4.8.4
> > -- The C compiler identification is GNU 4.8.4
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Check for working C compiler: /usr/bin/cc
> > -- Check for working C compiler: /usr/bin/cc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Build type not specified: defaulting to release.
> > -- Boost version: 1.54.0
> > -- Found the following Boost libraries:
> > --   filesystem
> > --   system
> > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
> > -- Found UHD: /usr/local/lib/libuhd.so
> > CMake Error at CMakeLists.txt:113 (message):
> > RFNoC not found.
> > 
> > Here is the script I am using:
> > 
> > git clone https://github.com/EttusResearch/uhd
> > mkdir ~/uhd/host/build
> > cd ~/uhd/host/build
> > cmake ../ -DENABLE_E300=ON ../
> > make -j8
> > sudo make install -j8
> > sudo ldconfig
> > 
> > git clone --recursive <http://git.gnuradio.org/git/gnuradio.git>
> > http://git.gnuradio.org/git/gnuradio.git
> > mkdir ~/gnuradio/build
> > cd ~/gnuradio/build
> > cmake ../
> > make -j8
> > sudo make install -j8
> > sudo ldconfig
> > 
> > git clone https://github.com/EttusResearch/gr-ettus.git​
> > <https://github.com/EttusResearch/gr-ettus.git%E2%80%8B>
> > mkdir ~/gr-ettus/build
> > cd ~/gr-ettus/build
> > cmake ../
> > make -j8
> > sudo make install -j8
> > sudo ldconfig
> > 
> > 
> > 
> > Craig
> > 
> > 
> > *Craig F. Swanson*
> > 
> > *Research Engineer II *
> > *Information and Communications Laboratory*
> > *Communications, Systems, and Spectrum Division*
> > *Georgia Tech Research Institute*
> > 
> > 
> > *Room 560 250 14th St NW *
> > *Atlanta, GA 30318*
> > *Cell: 770.298.9156 <770.298.9156>*
> > <http://www.gtri.gatech.edu>http://www.gtri.gatech.edu
> > 
> > 
> > 
> > _______________________________________________
> > USRP-users mailing \
> > listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >  
> > 
> > 
> > 
> > _______________________________________________
> > USRP-users mailing list
> > USRP-users@lists.ettus.com
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> > 
> > 
> 


[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div>Further \
info:<br></div><div><br></div></div>Doing a <b>make clean</b>, removing everything \
from the build folder, and re-running cmake with the added <b>-DENABLE_B200=OFF</b> \
allowed the subsequent <b>make</b> to finish successfully.<br><br></div>However, when \
I run make test, all tests pass except sph_recv_test.<br><br></div>Running just \
/opt/src/uhd-rfnoc/host/build/tests/sph_recv_test throws a few &quot;unknown \
location(0)&quot; errors, and the whole output has been included as sph_recv_test.txt \
.<br><br></div>Unrelated to the error, but related to what I&#39;ve reported \
previously... since I&#39;ve installed everything to /opt/uhd-rfnoc/ instead of \
/opt/gnuradio-rfnoc/, I&#39;ve updated my source script to expand PATH, \
LD_LIBRARY_PATH, and PKG_CONFIG_PATH accordingly.<br><div><div><br><div \
class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div>Richard<br></div></div><br></div></div></div></div></div>
 <br><div class="gmail_quote">On Fri, May 27, 2016 at 10:59 AM, Collins, Richard \
<span dir="ltr">&lt;<a href="mailto:richard.collins@axenterprize.com" \
target="_blank">richard.collins@axenterprize.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><div><div>I&#39;m getting the exact same \
error, as follows:<br><br><div style="margin-left:40px">[ 44%] Building CXX object \
lib/CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o<br>/opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.cpp: \
In constructor ‘b200_impl::b200_impl(const uhd::device_addr_t&amp;, \
uhd::transport::usb_device_handle::sptr&amp;)':<br>/opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.cpp:624:93: \
error: no matching function for call to \
‘uhd::usrp::ad936x_manager::loopback_self_test(radio_ctrl_core_3000::sptr&amp;, \
int, const int&amp;)'<span><br>                 \
_codec_mgr-&gt;loopback_self_test(perif.ctrl, TOREG(SR_CODEC_IDLE), \
RB64_CODEC_READBACK);<br>                                                             \
^<br></span>In file included from \
/opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.hpp:25:0,<br>                         \
from /opt/src/uhd-rfnoc/host/lib/usrp/b200/b200_impl.cpp:18:<br>/opt/src/uhd-rfnoc/host/lib/usrp/common/ad936x_manager.hpp:82:18: \
note: candidate: virtual void \
uhd::usrp::ad936x_manager::loopback_self_test(boost::function&lt;void(unsigned \
int)&gt;, boost::function&lt;long unsigned int()&gt;)<br>         virtual void \
loopback_self_test(<br>                                   \
^<br>/opt/src/uhd-rfnoc/host/lib/usrp/common/ad936x_manager.hpp:82:18: note:     \
candidate expects 2 arguments, 3 provided<br>lib/CMakeFiles/uhd.dir/build.make:4365: \
recipe for target &#39;lib/CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o&#39; \
failed<span><br>make[2]: *** [lib/CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o] Error \
1<br></span>CMakeFiles/Makefile2:117: recipe for target \
&#39;lib/CMakeFiles/uhd.dir/all&#39; failed<span><br>make[1]: *** \
[lib/CMakeFiles/uhd.dir/all] Error 2<br></span>Makefile:160: recipe for target \
&#39;all&#39; failed<span><br>make: *** [all] Error \
2<br></span></div><br></div><br>How I got here is by using the following \
commands:<br><br></div>(from a directory under my user&#39;s ownership and group \
called &quot;src&quot;):<br><div style="margin-left:40px">$ git clone --recursive \
git://<a href="http://github.com/EttusResearch/uhd.git" \
target="_blank">github.com/EttusResearch/uhd.git</a> uhd-rfnoc<br>$ cd uhd-rfnoc<br>$ \
git checkout -b rfnoc-radio-redo -t origin/rfnoc-radio-redo<br>$ cmake \
-DCMAKE_INSTALL_PREFIX=/opt/uhd-rfnoc/ -DENABLE_X300=ON -DENABLE_E300=ON \
-DLIB_SUFFIX=64 -Wno-dev ../<br></div></div><div><br></div><div>Note, I already \
created and chown&#39;d and chgrp&#39;d folder, /opt/uhd-rfnoc/, and made a file \
(which I plan to &quot;source&quot; before attempting to run gnuradio once installed) \
that consists of the following text:<br><div \
style="margin-left:40px">BASE=/opt/gnuradio-rfnoc<br>export \
PATH=${PATH}:${BASE}/bin<br>export \
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${BASE}/lib64<br>export \
PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${BASE}/lib64/pkgconfig<br>export \
PYTHONPATH=${PYTHONPATH}:${BASE}/lib64/python2.7/site-packages/<br></div><br></div><div>Should \
I be running cmake with a flag of -DENABLE_B200=OFF ?<br></div><div>Or should I not \
have git-clone&#39;d recursively?<br><br>(I don&#39;t have a B200 or B210, so \
I&#39;ll try it with DENABLE_B200=OFF)<span><font \
color="#888888"><br><br></font></span></div><div class="gmail_extra"><span><font \
color="#888888"><br clear="all"><div><div data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><div><div>  - \
Richard<br><br></div></div></div></div></div></div></div></font></span><div><div> \
<br><div class="gmail_quote">On Sun, May 8, 2016 at 8:09 PM, Swanson, Craig via \
USRP-users <span dir="ltr">&lt;<a href="mailto:usrp-users@lists.ettus.com" \
target="_blank">usrp-users@lists.ettus.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
 <p>​Marcus,<br>
</p>
<p>I just upgraded my image to e3xx-release-4 on my E310.<br>
</p><span>
<p>Craig<br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div><b style="font-size:19px;font-family:&#39;Brush Script MT&#39;">Craig F. \
Swanson</b></div> <div \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"> <font \
face="Calibri, sans-serif"><b><i>Research Engineer II<br> </i></b></font></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b style="font-size:10pt;font-family:Calibri,sans-serif"><i>Information and \
Communications Laboratory</i></b></div> <div \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"> <b \
style="font-size:10pt;font-family:Calibri,sans-serif"><i>Communications, Systems, and \
Spectrum Division</i></b></div> <div style="font-family:&#39;Segoe \
UI&#39;,Helvetica,Arial,sans-serif;font-size:medium;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
 <font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font \
size="2"><span style="font-size:10pt"><i>Georgia Tech Research \
Institute</i></span></font></span></font></div> <div style="font-family:&#39;Segoe \
UI&#39;,Helvetica,Arial,sans-serif;font-size:medium;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
 <font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font \
size="2"><span style="font-size:10pt"><i>Room 560<br> 250 14th St NW<br>
</i></span></font></span></font></div>
<div style="font-family:&#39;Segoe \
UI&#39;,Helvetica,Arial,sans-serif;font-size:medium;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
 <font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font \
size="2"><span style="font-size:10pt"><i>Atlanta, GA \
30318</i></span></font></span></font></div> <div style="font-family:&#39;Segoe \
UI&#39;,Helvetica,Arial,sans-serif;font-size:medium;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
 <font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font \
size="2"><span style="font-size:10pt"><i>Cell: <a href="tel:770.298.9156" \
value="+17702989156" \
target="_blank">770.298.9156</a></i></span></font></span></font></div> <div \
style="font-family:Tahoma;font-size:13px"><a \
href="https://mail.gtri.gatech.edu/owa/redir.aspx?C=c20925f2f0af4dd29329ddf0701ecfff&amp;URL=http%3a%2f%2fwww.gtri.gatech.edu%2f" \
style="font-size:11pt;font-family:Calibri,sans-serif" \
target="_blank">http://www.gtri.gatech.edu</a><span \
style="font-family:Arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)"> \
</span></div> <div style="font-family:Tahoma;font-size:13px"><span \
style="font-family:Arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)"><br>
 </span></div>
</div>
</div>
</div>
</div>
</div>
</span><div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, \
sans-serif"><b>From:</b> Marcus Müller &lt;<a href="mailto:marcus.mueller@ettus.com" \
target="_blank">marcus.mueller@ettus.com</a>&gt;<br> <b>Sent:</b> Saturday, May 7, \
2016 2:33 PM<span><br> <b>To:</b> Swanson, Craig; Martin Braun; Jonathon Pendlum<br>
<b>Cc:</b> <a href="mailto:usrp-users@lists.ettus.com" \
target="_blank">usrp-users@lists.ettus.com</a><br> </span><div><div><b>Subject:</b> \
Re: [USRP-users] I am dead in the water due to the following error: RFNoC not \
found.</div></div></font> <div>  </div>
</div><div><div>
<div>You&#39;re welcome! Hope this works out. <br>
<br>
If you&#39;re aiming for using RFNoC on your E310 (which I just realized might be the \
case, looking at your -DENABLE_E300), you not only need any version of UHD that \
supports RFNoC – you need the version (and, most importantly, since I guess you \
might be building  your own FPGA images sooner or later, the right FPGA source code) \
that runs on the E310.<br> <br>
What image are you running on the E310?<br>
<br>
Best regards,<br>
Marcus<br>
<br>
<div>On 07.05.2016 20:30, Swanson, Craig wrote:<br>
</div>
<blockquote type="cite">
<p>Marcus,<br>
</p>
<p>Thanks for the quick reply.   <br>
</p>
<p>Craig<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div><b>Craig F. Swanson</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<font face="Calibri, sans-serif"><b><i>Research Engineer II<br>
</i></b></font></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b style="font-size:10pt;font-family:Calibri,sans-serif"><i>Information and \
Communications Laboratory</i></b></div> <div \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"> <b \
style="font-size:10pt;font-family:Calibri,sans-serif"><i>Communications, Systems, and \
Spectrum Division</i></b></div> <div><font face="Calibri,sans-serif" size="2"><span \
style="font-size:11pt"><font size="2"><span style="font-size:10pt"><i>Georgia Tech \
Research Institute</i></span></font></span></font></div> <div><font \
face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font size="2"><span \
style="font-size:10pt"><i>Room 560<br> 250 14th St NW<br>
</i></span></font></span></font></div>
<div><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font \
size="2"><span style="font-size:10pt"><i>Atlanta, GA \
30318</i></span></font></span></font></div> <div><font face="Calibri,sans-serif" \
size="2"><span style="font-size:11pt"><font size="2"><span \
style="font-size:10pt"><i>Cell: <a href="tel:770.298.9156" value="+17702989156" \
target="_blank">770.298.9156</a></i></span></font></span></font></div> <div \
style="font-family:Tahoma;font-size:13px"><a \
href="https://mail.gtri.gatech.edu/owa/redir.aspx?C=c20925f2f0af4dd29329ddf0701ecfff&amp;URL=http%3a%2f%2fwww.gtri.gatech.edu%2f" \
style="font-size:11pt;font-family:Calibri,sans-serif" target="_blank"></a><a \
href="http://www.gtri.gatech.edu" target="_blank">http://www.gtri.gatech.edu</a><span \
style="font-family:Arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)"> \
</span></div> <div style="font-family:Tahoma;font-size:13px"><span \
style="font-family:Arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)"><br>
 </span></div>
</div>
</div>
</div>
</div>
</div>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, \
sans-serif"><b>From:</b> Marcus Müller <a href="mailto:marcus.mueller@ettus.com" \
target="_blank">&lt;marcus.mueller@ettus.com&gt;</a><br> <b>Sent:</b> Saturday, May \
7, 2016 2:23 PM<br> <b>To:</b> Swanson, Craig; Martin Braun; Jonathon Pendlum<br>
<b>Cc:</b> <a href="mailto:usrp-users@lists.ettus.com" target="_blank">
usrp-users@lists.ettus.com</a>; Myers, David<br>
<b>Subject:</b> Re: [USRP-users] I am dead in the water due to the following error: \
RFNoC not found.</font> <div>  </div>
</div>
<div>Hi Craig,<br>
<br>
this won&#39;t work because you&#39;re (implicitly) checking out the \
&quot;master&quot; branch of UHD - which isn&#39;t RFNoC&#39;ed.<br> <br>
So, I recommend modifying your script:<br>
<br>
instead of <br>
<br>
git clone <a href="https://github.com/EttusResearch/uhd" target="_blank">
https://github.com/EttusResearch/uhd</a><br>
<br>
use<br>
<br>
git clone -b rfnoc-devel <a href="https://github.com/EttusResearch/uhd" \
target="_blank"> https://github.com/EttusResearch/uhd</a><br>
git submodule update --init ##fill the fpga-src directory with the matching FPGA \
code<br> <br>
. Of course, if you&#39;ve still got the downloaded files around, you can check out \
the right branch right now<br> <br>
cd ~/uhd/host/build<br>
sudo make uninstall<br>
rm -r * ##cleans the build directory<br>
git checkout -t rfnoc-devel ## checks out the RFNoC version of UHD<br>
git submodule update --init ##fill the fpga-src directory with the matching FPGA \
code<br> cmake -DENABLE_E300=ON ../<br>
make -j8 &amp;&amp; sudo make install &amp;&amp; sudo ldconfig<br>
<br>
cd ~/gnuradio/build<br>
cmake ..<br>
make -j8 &amp;&amp; sudo make install &amp;&amp; sudo ldconfig<br>
<br>
and then try building gr-ettus again.<br>
<br>
Best regards,<br>
Marcus<br>
On 07.05.2016 20:11, Swanson, Craig via USRP-users wrote:<br>
<blockquote type="cite">
<p>Martin,<br>
</p>
<p>When I perform a cmake ../ in gr-ettus, I get the following error:<br>
</p>
<div>CMake Error at CMakeLists.txt:113 (message):</div>
<div>   RFNoC not found.</div>
<div><br>
</div>
<div>Here are more details of the error:</div>
<div>
<div>craig@craig-VirtualBox:~/gr-ettus/build (master)$ cmake ../</div>
<div>-- The CXX compiler identification is GNU 4.8.4</div>
<div>-- The C compiler identification is GNU 4.8.4</div>
<div>-- Check for working CXX compiler: /usr/bin/c++</div>
<div>-- Check for working CXX compiler: /usr/bin/c++ -- works</div>
<div>-- Detecting CXX compiler ABI info</div>
<div>-- Detecting CXX compiler ABI info - done</div>
<div>-- Check for working C compiler: /usr/bin/cc</div>
<div>-- Check for working C compiler: /usr/bin/cc -- works</div>
<div>-- Detecting C compiler ABI info</div>
<div>-- Detecting C compiler ABI info - done</div>
<div>-- Build type not specified: defaulting to release.</div>
<div>-- Boost version: 1.54.0</div>
<div>-- Found the following Boost libraries:</div>
<div>--    filesystem</div>
<div>--    system</div>
<div>-- Found PkgConfig: /usr/bin/pkg-config (found version &quot;0.26&quot;)  </div>
<div>-- Found UHD: /usr/local/lib/libuhd.so   </div>
<div>CMake Error at CMakeLists.txt:113 (message):</div>
<div>   RFNoC not found.</div>
<div><br>
Here is the script I am using:<br>
</div>
<div><br>
</div>
<div>
<div>git clone <a href="https://github.com/EttusResearch/uhd" target="_blank">
https://github.com/EttusResearch/uhd</a><br>
</div>
<div>mkdir ~/uhd/host/build</div>
<div>cd ~/uhd/host/build</div>
<div>cmake ../ -DENABLE_E300=ON ../</div>
<div>make -j8</div>
<div>sudo make install -j8</div>
<div>sudo ldconfig</div>
<div><br>
<span style="font-size:12pt">git clone --recursive <a \
href="http://git.gnuradio.org/git/gnuradio.git" target="_blank"> </a><a \
href="http://git.gnuradio.org/git/gnuradio.git" \
target="_blank">http://git.gnuradio.org/git/gnuradio.git</a></span><br> <span \
style="font-size:12pt">mkdir ~/gnuradio/build</span><br> </div>
<div>cd ~/gnuradio/build</div>
<div>cmake ../</div>
<div>make -j8</div>
<div>sudo make install -j8</div>
<div>sudo ldconfig</div>
<div><br>
</div>
<div>git clone <a href="https://github.com/EttusResearch/gr-ettus.git%E2%80%8B" \
target="_blank"> https://github.com/EttusResearch/gr-ettus.git​</a><br>
</div>
<div>mkdir ~/gr-ettus/build</div>
<div>cd ~/gr-ettus/build</div>
<div>cmake ../</div>
<div>make -j8</div>
<div>sudo make install -j8</div>
<div>sudo ldconfig</div>
<div><br>
<br>
</div>
<div><br>
</div>
Craig<br>
</div>
</div>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div><b>Craig F. Swanson</b></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<font face="Calibri, sans-serif"><b><i>Research Engineer II<br>
</i></b></font></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<b style="font-size:10pt;font-family:Calibri,sans-serif"><i>Information and \
Communications Laboratory</i></b></div> <div \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"> <b \
style="font-size:10pt;font-family:Calibri,sans-serif"><i>Communications, Systems, and \
Spectrum Division</i></b></div> <div><font face="Calibri,sans-serif" size="2"><span \
style="font-size:11pt"><font size="2"><span style="font-size:10pt"><i>Georgia Tech \
Research Institute</i></span></font></span></font></div> <div><font \
face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font size="2"><span \
style="font-size:10pt"><i>Room 560<br> 250 14th St NW<br>
</i></span></font></span></font></div>
<div><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font \
size="2"><span style="font-size:10pt"><i>Atlanta, GA \
30318</i></span></font></span></font></div> <div><font face="Calibri,sans-serif" \
size="2"><span style="font-size:11pt"><font size="2"><span \
style="font-size:10pt"><i>Cell: <a href="tel:770.298.9156" value="+17702989156" \
target="_blank">770.298.9156</a></i></span></font></span></font></div> <div \
style="font-family:Tahoma;font-size:13px"><a href="http://www.gtri.gatech.edu" \
target="_blank"></a><a href="http://www.gtri.gatech.edu" \
target="_blank">http://www.gtri.gatech.edu</a><span \
style="font-family:Arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)"> \
</span></div> <div style="font-family:Tahoma;font-size:13px"><span \
style="font-family:Arial,sans-serif;font-size:11px;background-color:rgb(255,255,255)"><br>
 </span></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset> <br>
<pre>_______________________________________________
USRP-users mailing list
<a href="mailto:USRP-users@lists.ettus.com" \
target="_blank">USRP-users@lists.ettus.com</a> <a \
href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" \
target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a>
 </pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
<br>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
USRP-users mailing list<br>
<a href="mailto:USRP-users@lists.ettus.com" \
target="_blank">USRP-users@lists.ettus.com</a><br> <a \
href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" \
rel="noreferrer" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
 <br></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>

--001a114235b6bda5770533d54932--


["sph_recv_test.txt" (text/plain)]

linux; GNU C++ version 5.3.1 20160413; Boost_105800; UHD_003.010.rfnoc-471-g37ffaef2

Running 8 test cases...
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_one_channel_normal": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(164): last checkpoint
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
-- expected: 15 got: 0
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_one_channel_sequence_error": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(249): last checkpoint
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
metadata.error_code 8
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_one_channel_inline_message": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(337): last checkpoint
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_multi_channel_normal": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(432): last checkpoint
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
-- expected: 15 got: 0
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_multi_channel_sequence_error": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(532): last checkpoint
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_multi_channel_time_error": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(625): last checkpoint
exception check
data check 0
data check 1
data check 2
data check 3
data check 4
data check 5
data check 6
data check 7
data check 8
data check 9
data check 10
data check 11
data check 12
data check 13
data check 14
data check 15
data check 16
data check 17
data check 18
data check 19
data check 20
data check 21
data check 22
data check 23
data check 24
data check 25
data check 26
data check 27
data check 28
data check 29
timeout check 0
unknown location(0): fatal error in "test_sph_recv_multi_channel_fragment": \
                std::runtime_error: call to empty boost::function
/opt/src/uhd-rfnoc/host/tests/sph_recv_test.cpp(798): last checkpoint



_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic