Hello Bastian,
Thanks for the quick response! I don't expect that the old csma_and_agc mod is fresh in your mind, but appreciate any help.
strange errors. Any chances that you have another (old) installation somewhere on your system?
The long version:
No, I'm pretty sure that I don't. There were a couple empty "pmt" and/or "volk" folders in /usr/local/include, /usr/local/lib, as well as /usr/local/lib/python2.7/dist-packages/, which I've removed. The only output from running "ldconfig -vp | grep 'usr/local'" shows me libuhd.so entries, and when I instead grep the output for gnuradio (or 'gr-', or 'gr_'), nothing is reported. Also, I've checked there were no '*gnuradio*', 'gr-*', or 'gr_*' named files anywhere except for where I put my user's locally cloned git repositories.
I was also sure to clean out the gnuradio/build directory before attempting again.
I really don't know cmake, but poking around on my own a little, I found that within volk/lib/CMakeFiles.txt, the incorrectly addressed files (as discussed previously) are prepended with "${CMAKE_SOURCE_DIR}". Since that evaluates to the git cloned root gnuradio directory, when adding a '/volk' to those entries (e.g. ${CMAKE_SOURCE_DIR}/volk...) seems to pass further through running "cmake ../" again. I'm sure I didn't edit everything I needed to, because that didn't fix everything.
Next, I checked the version of Volk that HEAD points to (not csma_and_agc), and saw that in these volk/{lib,apps,...}/CMakeFiles.txt files, instead of saying CMAKE_SOURCE_DIR, they say PROJECT_SOURCE_DIR. So, I figured I'd give that one a try. I had a problem building the "next" branch due to something qt-related, and saw that other branches used the same Volk submodule git tag. Both master and maint seemed to build just fine (recursive checkout, same volk git tag).
The short version:
Running the following commands from within a freshly cloned (github/bastibl) gnuradio directory seemed to resolve my cmake problems:
$ git checkout -b master -t origin/master # I probably shouldn't have added the -t
$ git submodule update --init # using a compatible, seemingly correct volk git tag (4465f9b)
$ git checkout csma_and_agc # using the correct branch for everything else
$ mkdir -p build && cd build && cmake -Wno-dev ../
$ make && sudo make install && sudo ldconfig