discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] csma_and_agc branch


From: Collins, Richard
Subject: [Discuss-gnuradio] csma_and_agc branch
Date: Fri, 14 Jul 2017 16:36:03 -0400

Hello,

I'm having trouble building Bastien Bloessl's csma_and_agc branch of GNURadio on Ubuntu 16.04 LTS. I've already run through his version of UHD (except for building the fpga bitstream and soft cpu firmware binaries -- it appears I'll need Windows XP or Suse 11, and a copy of Xilinx ISE 12.2 for that, eek).

Here are the steps that I've taken, and the errors I received:

$ git clone -b csma_and_agc --recursive https://github.com/bastibl/gnuradio.git
$ cd gnuradio && mkdir build && cd build
$ cmake -Wno-dev -DENABLE_GR_COMEDI=OFF ../


The git clone command checks out the version of volk with the git tag:
f28a8be8af974d1a55a176009cb0b7927bc22222

Halfway through the build, I'll get a couple errors where it seems CMake (or python or something) is looking in gnuradio/ for files that exist in gnuradio/volk/... for example:

/usr/bin/python2: can't open file '/home/ninja/workspace/src_bastibl/gnuradio/gen/volk_compile_utils.py': [Errno 2] No such file or directory

Making a symlink to the gnuradio/volk/gen folder in gnuradio (i.e. cd ../ && ln -s volk/gen) seems to allow CMake to continue until it hits the next volk requirement and is looking again in the wrong directory.

I also get the following error soon after (though it looks like outputs from two different sources are competing for stdout or stderr, given the out of order nature of some things being logged to the screen):

-- CPU width is 64 bits, Overruled arch 32
CMake Error at volk/lib/CMakeLists.txt:129 (list):
  list sub-command REMOVE_ITEM requires list to be present.
Call Stack (most recent call first):
  volk/lib/CMakeLists.txt:253 (OVERRULE_ARCH)

It finishes with:

-- Configuring incomplete, errors occurred!
See also "/home/ninja/workspace/src_bastibl/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/home/ninja/workspace/src_bastibl/gnuradio/build/CMakeFiles/CMakeError.log".

Attached is the output from CMake that I'm referencing (cmake_user_displayed_output.txt), as well as the two CMake log files referenced at the end of the cmake run.


Questions:

Should I be using a different version of volk, or maybe change something in a CMakeLists.txt file?
Does anyone happen to have a copy of the csma_and_agc binaries for the N210r4 (for use with the XCVR2450 daughtercard, as it appears the changes are only made for use with this radio card)?


Thanks to anyone who can help,

Richard

Attachment: cmake_user_displayed_output.txt
Description: Text document

Attachment: CMakeError.log
Description: Text Data

Attachment: CMakeOutput.log
Description: Text Data


reply via email to

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