# Build OOT gr-test2

**URL:** <https://www.ruby-forum.com/t/build-oot-gr-test2/230798>\
**Category:** GNU Radio\
**Created:** [July 6, 2014, 6:53am UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798 "2014-07-06T06:53:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 6, 2014, 6:53am UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/1 "2014-07-06T06:53:14Z")

</div>

Ok… building my first OOT to play with his counter.

git clone git://github.com/activecat/gr-test2

cmake seems to work (after I change boost version to 1.55 in  
CMakeLists.txt)

on make i get this error. Searching the net leads me to believe it isnt  
linking pmt but I can’t decipher the solution. I thought maybe the move  
from 3-6 to 3-7 was the issue but it appears to be set up as recommended  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/Move\_3-6\_to\_3-7](http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7)

I am not great with Builds but I have precariously gotten things done.  
(recipes and searching) Any tips?

bills-MacBook-Pro:build willy$ build  
-bash: build: command not found  
bills-MacBook-Pro:build willy$ make  
Scanning dependencies of target gnuradio-test1  
[5%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/pulse1\_impl.cc.o  
[10%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/freq\_counter2\_impl.cc.o  
[15%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/freq\_counter1\_impl.cc.o  
[20%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/streamer1\_impl.cc.o  
Linking CXX shared library libgnuradio-test1.dylib  
Undefined symbols for architecture x86\_64:  
“pmt::dict\_has\_key(boost::intrusive\_ptrpmt::pmt\_base const&,  
boost::intrusive\_ptrpmt::pmt\_base const&)”, referenced from:  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
pulse1\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
freq\_counter2\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
freq\_counter1\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
streamer1\_impl.cc.o  
“pmt::intrusive\_ptr\_add\_ref(pmt::pmt\_base\*)”, referenced from:  
gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
boost::intrusive\_ptrpmt::pmt\_base) in pulse1\_impl.cc.o  
std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
pmt::comparator,  
std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>

> ::operator[](boost::intrusive\_ptrpmt::pmt\_base const&) in  
> pulse1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in pulse1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator[](boost::intrusive\_ptrpmt::pmt\_base const&) in  
> freq\_counter2\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter1\_impl.cc.o  
> …  
> “pmt::intrusive\_ptr\_release(pmt::pmt\_base\*)”, referenced from:  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in pulse1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in pulse1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in streamer1\_impl.cc.o  
> …  
> “pmt::eqv(boost::intrusive\_ptrpmt::pmt\_base const&,  
> boost::intrusive\_ptrpmt::pmt\_base const&)”, referenced from:  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in pulse1\_impl.cc.o  
> gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
> in  
> pulse1\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator[](boost::intrusive\_ptrpmt::pmt\_base const&) in  
> pulse1\_impl.cc.o  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in freq\_counter2\_impl.cc.o  
> gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
> in  
> freq\_counter2\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator[](boost::intrusive\_ptrpmt::pmt\_base const&) in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in freq\_counter1\_impl.cc.o  
> …  
> ld: symbol(s) not found for architecture x86\_64  
> clang: error: linker command failed with exit code 1 (use -v to see  
> invocation)  
> make[2]: \*\*\* [lib/libgnuradio-test1.dylib] Error 1  
> make[1]: \*\*\* [lib/CMakeFiles/gnuradio-test1.dir/all] Error 2  
> make: \*\*\* [all] Error 2

–  
Doc

Bill D.  
KXØO

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 11:00am UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/2 "2014-07-06T11:00:12Z")

</div>

Hi Bill,

> cmake seems to work (after I change boost version to 1.55 in CMakeLists.txt)

Um, I don’t think it should be necessary to do that; the line  
find\_package(Boost “1.35” COMPONENTS filesystem system)  
is in the new-OOT-Module template and I think it’s for compatibility  
reasons; it works on my Boost 1.53 machine.

I _assume_ that activecat’s module should build fine, it does on my  
computer (however, activecat, remove the build folder from git; that  
shouldn’t be included 😉 ).

So, my hints would be: empty the build directory, cmake .. && make  
again; make sure you have a recent GNU Radio version  
(gnuradio-config-info -v should give something quite recent)

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 3:40pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/3 "2014-07-06T15:40:15Z")

</div>

On Sun, Jul 6, 2014 at 4:59 AM, Marcus Müller [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi Bill,
> 
> > cmake seems to work (after I change boost version to 1.55 in CMakeLists.txt)
> 
> Um, I don’t think it should be necessary to do that; the line  
> find\_package(Boost “1.35” COMPONENTS filesystem system)  
> is in the new-OOT-Module template and I think it’s for compatibility  
> reasons; it works on my Boost 1.53 machine.

Right. That Boost line is saying that the minimum supported version of  
Boost is 1.35. It will pick up and use 1.55 just fine without any  
changes.

> 

Yes, do what Marcus says. Make sure you’ve emptied the build directory  
so  
it’s not picking up any configuration settings from Activecat’s machine.

Tom

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 4:16pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/4 "2014-07-06T16:16:36Z")

</div>

Bill,

Remember to give us details about your machine and installation setup.  
Versions, OS, etc. But the fact that your machine’s name is  
‘bill-sMacBook-Pro’ at least gives something away…

Have you looked at these instructions?  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/MacInstall](http://gnuradio.org/redmine/projects/gnuradio/wiki/MacInstall)

They are mainly to help in building GNU Radio, but you’ll likely also  
need  
some of the CMake tweaks found near the bottom of the page to get CMake  
to  
properly pick up some things.

Also, if you’ve installed something with port, best to delete the  
contents  
of your build directory. CMake can cache results and not bother checking  
again, so a clean start is useful.

Tom

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 5:14pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/5 "2014-07-06T17:14:56Z")

</div>

On Sun, Jul 6, 2014 at 4:59 PM, Marcus Müller [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I _assume_ that activecat’s module should build fine, it does on my  
> computer (however, activecat, remove the build folder from git; that  
> shouldn’t be included 😉 ).

Sorry for that, I have now removed the “build” folder.

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 3:58pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/6 "2014-07-06T15:58:07Z")

</div>

oops.. accidently replied off list…

tom,

thats what I did and I get this from cmake and make

bills-MacBook-Pro:build willy$ cmake ../  
– Build type not specified: defaulting to release.  
– Boost version: 1.55.0  
– Found the following Boost libraries:  
– filesystem  
– system  
– checking for module ‘cppunit’  
– package ‘cppunit’ not found  
Checking for GNU Radio Module: RUNTIME  
– checking for module ‘gnuradio-runtime’  
– package ‘gnuradio-runtime’ not found

- INCLUDES=/opt/local/include

- LIBS=/opt/local/lib/libgnuradio-runtime.dylib  
GNURADIO\_RUNTIME\_FOUND = TRUE  
CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:200  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:200  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:200  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring done  
– Generating done  
– Build files have been written to: /Users/willy/gr-test2/build  
bills-MacBook-Pro:build willy$ sudo port install cppunit  
Password:  
—\> Cleaning cppunit  
—\> Scanning binaries for linking errors  
—\> No broken files found.  
bills-MacBook-Pro:build willy$ cmake ../  
– Build type not specified: defaulting to release.  
– Boost version: 1.55.0  
– Found the following Boost libraries:  
– filesystem  
– system  
– checking for module ‘cppunit’  
– package ‘cppunit’ not found  
Checking for GNU Radio Module: RUNTIME  
– checking for module ‘gnuradio-runtime’  
– package ‘gnuradio-runtime’ not found

- INCLUDES=/opt/local/include

- LIBS=/opt/local/lib/libgnuradio-runtime.dylib  
GNURADIO\_RUNTIME\_FOUND = TRUE  
CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:200  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:200  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:200  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring done  
– Generating done  
– Build files have been written to: /Users/willy/gr-test2/build

bills-MacBook-Pro:build willy$ make  
[5%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/pulse1\_impl.cc.o  
[10%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/freq\_counter2\_impl.cc.o  
[15%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/freq\_counter1\_impl.cc.o  
[20%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/streamer1\_impl.cc.o  
Linking CXX shared library libgnuradio-test1.dylib  
Undefined symbols for architecture x86\_64:  
“pmt::dict\_has\_key(boost::intrusive\_ptrpmt::pmt\_base const&,  
boost::intrusive\_ptrpmt::pmt\_base const&)”, referenced from:  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
pulse1\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
freq\_counter2\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
freq\_counter1\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
streamer1\_impl.cc.o  
“pmt::intrusive\_ptr\_add\_ref(pmt::pmt\_base\*)”, referenced from:  
gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
boost::intrusive\_ptrpmt::pmt\_base) in pulse1\_impl.cc.o  
std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
pmt::comparator,  
std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>

> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> pulse1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in pulse1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> freq\_counter2\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter1\_impl.cc.o  
> …  
> “pmt::intrusive\_ptr\_release(pmt::pmt\_base\*)”, referenced from:  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in pulse1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in pulse1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in streamer1\_impl.cc.o  
> …  
> “pmt::eqv(boost::intrusive\_ptrpmt::pmt\_base const&,  
> boost::intrusive\_ptrpmt::pmt\_base const&)”, referenced from:  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in pulse1\_impl.cc.o  
> gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
> in  
> pulse1\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> pulse1\_impl.cc.o  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in freq\_counter2\_impl.cc.o  
> gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
> in  
> freq\_counter2\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in freq\_counter1\_impl.cc.o  
> …  
> ld: symbol(s) not found for architecture x86\_64  
> clang: error: linker command failed with exit code 1 (use -v to see  
> invocation)  
> make[2]: \*\*\* [lib/libgnuradio-test1.dylib] Error 1  
> make[1]: \*\*\* [lib/CMakeFiles/gnuradio-test1.dir/all] Error 2  
> make: \*\*\* [all] Error 2  
> bills-MacBook-Pro:build willy$

On Sun, Jul 6, 2014 at 8:38 AM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > is in the new-OOT-Module template and I think it’s for compatibility
> 
> > -bash: build: command not found  
> > Linking CXX shared library libgnuradio-test1.dylib  
> > streamer1\_impl.cc.o
> > 
> > std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> > gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> > boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o
> > 
> > ```
> > std::__1::map<boost::intrusive_ptr<pmt::pmt_base>,
> > gr::basic_block::has_msg_port(boost::intrusive_ptr<pmt::pmt_base>) in
> > gr::basic_block::has_msg_handler(boost::intrusive_ptr<pmt::pmt_base>)
> > 
> > ```
> > 
> > [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–  
Doc

Bill D.  
KXØO

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 5:49pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/7 "2014-07-06T17:49:29Z")

</div>

On Sun, Jul 6, 2014 at 11:31 AM, Bill D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> 

-DPYTHON\_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python

> – Detecting C compiler ABI info - done  
> – Found Doxygen: /opt/local/bin/doxygen (found version “1.8.7”)  
> Checking for GNU Radio Module: RUNTIME  
> – checking for module ‘gnuradio-runtime’  
> – package ‘gnuradio-runtime’ not found
> 
> - INCLUDES=/opt/local/include
> - LIBS=/opt/local/lib/libgnuradio-runtime.dylib  
> – Found GNURADIO\_RUNTIME: /opt/local/lib/libgnuradio-runtime.dylib  
> GNURADIO\_RUNTIME\_FOUND = TRUE

Looks like there’s a problem here. Do you have  
/opt/local/lib/libgnuradio-pmt.dylib? I’m unsure why this is even  
passing  
at this point. This is what I get normally:

Checking for GNU Radio Module: RUNTIME  
– checking for module ‘gnuradio-runtime’  
– found gnuradio-runtime, version 3.7.4git

- INCLUDES=/opt/gr/include
- 

LIBS=/opt/gr/lib/libgnuradio-runtime.dylib;/opt/gr/lib/libgnuradio-pmt.dylib  
– Found GNURADIO\_RUNTIME:  
/opt/gr/lib/libgnuradio-runtime.dylib;/opt/gr/lib/libgnuradio-pmt.dylib  
GNURADIO\_RUNTIME\_FOUND = TRUE

(Note that I’ve installed my GR into /opt/gr, so the paths will be  
slightly  
different).

If I move the pmt libraries to a backup location and rerun cmake, I get  
this:

Checking for GNU Radio Module: RUNTIME  
– checking for module ‘gnuradio-runtime’  
– found gnuradio-runtime, version 3.7.4git

- INCLUDES=/opt/gr/include
- 

LIBS=/opt/gr/lib/libgnuradio-runtime.dylib;GNURADIO\_RUNTIME\_LIBRARIES\_gnuradio-pmt-NOTFOUND  
– Could NOT find GNURADIO\_RUNTIME (missing:  
GNURADIO\_RUNTIME\_LIBRARIES)  
GNURADIO\_RUNTIME\_FOUND = FALSE

So I’m not sure why your setup is a) not finding libgnuradio-pmt.dylib  
and  
b) allowing the check to pass.

What version of GNU Radio are you using?

$ gnuradio-config-info --version  
v3.7.4git-395-gc98699ee

And when you installed GNU Radio itself, did you do it from port using  
“port install gnuradio” or “port install gnuradio-devel”?

Tom

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 6:27pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/8 "2014-07-06T18:27:02Z")

</div>

yes it is there

port install gnuradio (just repeated that to make sure something wasnt  
screwed up.)

3.7.3

On Sun, Jul 6, 2014 at 10:47 AM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > cmake -DPYTHON\_EXECUTABLE=/opt/local/bin/python2.7  
> > – Check for working C compiler: /usr/bin/llvm-gcc – works  
> > – package ‘cppunit’ not found
> 
> – Found GNURADIO\_RUNTIME:  
> Checking for GNU Radio Module: RUNTIME  
> b) allowing the check to pass.

–  
Doc

Bill D.  
KXØO

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 7, 2014, 3:28am UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/9 "2014-07-07T03:28:52Z")

</div>

Bill,

Do you face these problems when building OOT newly created from  
gr\_modtool ?

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 7, 2014, 3:35am UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/10 "2014-07-07T03:35:26Z")

</div>

I have never built OOT before…

I have given up on the mcbook pro…

now I am on my ubuntu box… it appears to have built fine but when I  
try  
to run I get this:

I am using a netsdr with osmsdr. Is this a path issue?

Generating: “/home/willy/top\_block.py”

Executing: “/home/willy/top\_block.py”

Traceback (most recent call last):  
File “/home/willy/top\_block.py”, line 132, in   
tb = top\_block()  
File “/home/willy/top\_block.py”, line 40, in **init**  
self.test1\_freq\_counter2\_0 = test1.freq\_counter2(samp\_rate, 0.1)  
AttributeError: ‘module’ object has no attribute ‘freq\_counter2’

> > > Done

On Sun, Jul 6, 2014 at 8:27 PM, Activecat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Bill,
> 
> Do you face these problems when building OOT newly created from gr\_modtool  
> ?

–  
Doc

Bill D.  
KXØO

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 6, 2014, 5:32pm UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/11 "2014-07-06T17:32:12Z")

</div>

yes Tom, I did try that from the mac specific stuff. redone here..

PMT still seems to be an issue.

bills-MacBook-Pro:gr-test2 willy$ rm -rf build  
bills-MacBook-Pro:gr-test2 willy$ mkdir build  
bills-MacBook-Pro:gr-test2 willy$ cd build  
bills-MacBook-Pro:build willy$ CC=/usr/bin/llvm-gcc  
CXX=/usr/bin/llvm-g++  
cmake -DPYTHON\_EXECUTABLE=/opt/local/bin/python2.7  
-DPYTHON\_INCLUDE\_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers  
-DPYTHON\_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python  
-DSPHINX\_EXECUTABLE=/opt/local/bin/rst2html-2.7.py ../  
– The CXX compiler identification is Clang 5.1.0  
– The C compiler identification is Clang 5.1.0  
– Check for working CXX compiler: /usr/bin/llvm-g++  
– Check for working CXX compiler: /usr/bin/llvm-g++ – works  
– Detecting CXX compiler ABI info  
– Detecting CXX compiler ABI info - done  
– Check for working C compiler: /usr/bin/llvm-gcc  
– Check for working C compiler: /usr/bin/llvm-gcc – works  
– Detecting C compiler ABI info  
– Detecting C compiler ABI info - done  
– Build type not specified: defaulting to release.  
– Boost version: 1.55.0  
– Found the following Boost libraries:  
– filesystem  
– system  
– Found PkgConfig: /usr/local/bin/pkg-config (found version “0.28”)  
– checking for module ‘cppunit’  
– package ‘cppunit’ not found  
– Found CPPUNIT: /opt/local/lib/libcppunit.dylib  
– Found Doxygen: /opt/local/bin/doxygen (found version “1.8.7”)  
Checking for GNU Radio Module: RUNTIME  
– checking for module ‘gnuradio-runtime’  
– package ‘gnuradio-runtime’ not found

- INCLUDES=/opt/local/include

- LIBS=/opt/local/lib/libgnuradio-runtime.dylib  
– Found GNURADIO\_RUNTIME: /opt/local/lib/libgnuradio-runtime.dylib  
GNURADIO\_RUNTIME\_FOUND = TRUE  
– Found SWIG: /usr/local/bin/swig (found version “2.0.11”)  
– Found PythonLibs:  
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python  
(found  
suitable version “2.7.8”, minimum required is “2”)  
CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:25  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:36 (include)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:37 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:188  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:188  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrSwig.cmake:188  
(include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
Call Stack (most recent call first):  
swig/CMakeLists.txt:55 (GR\_SWIG\_INSTALL)  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:44

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:92

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):  
Syntax Warning in cmake code at

```
/opt/local/share/cmake/gnuradio/GrPython.cmake:210:100

```

Argument not separated from preceding token by whitespace.  
This warning is for project developers. Use -Wno-dev to suppress it.

– Configuring done  
– Generating done  
CMake Warning:  
Manually-specified variables were not used by the project:

```
SPHINX_EXECUTABLE

```

– Build files have been written to: /Users/willy/gr-test2/build  
bills-MacBook-Pro:build willy$ make clean  
bills-MacBook-Pro:build willy$ make  
Scanning dependencies of target gnuradio-test1  
[5%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/pulse1\_impl.cc.o  
[10%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/freq\_counter2\_impl.cc.o  
[15%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/freq\_counter1\_impl.cc.o  
[20%] Building CXX object  
lib/CMakeFiles/gnuradio-test1.dir/streamer1\_impl.cc.o  
Linking CXX shared library libgnuradio-test1.dylib  
Undefined symbols for architecture x86\_64:  
“pmt::dict\_has\_key(boost::intrusive\_ptrpmt::pmt\_base const&,  
boost::intrusive\_ptrpmt::pmt\_base const&)”, referenced from:  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
pulse1\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
freq\_counter2\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
freq\_counter1\_impl.cc.o  
gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
in  
streamer1\_impl.cc.o  
“pmt::intrusive\_ptr\_add\_ref(pmt::pmt\_base\*)”, referenced from:  
gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
boost::intrusive\_ptrpmt::pmt\_base) in pulse1\_impl.cc.o  
std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
pmt::comparator,  
std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>

> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> pulse1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in pulse1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> freq\_counter2\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter1\_impl.cc.o  
> …  
> “pmt::intrusive\_ptr\_release(pmt::pmt\_base\*)”, referenced from:  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in pulse1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in pulse1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter2\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in freq\_counter1\_impl.cc.o  
> boost::function1\<void, boost::intrusive\_ptrpmt::pmt\_base  
> ::operator()(boost::intrusive\_ptrpmt::pmt\_base) const in  
> freq\_counter1\_impl.cc.o  
> gr::basic\_block::dispatch\_msg(boost::intrusive\_ptrpmt::pmt\_base,  
> boost::intrusive\_ptrpmt::pmt\_base) in streamer1\_impl.cc.o  
> …  
> “pmt::eqv(boost::intrusive\_ptrpmt::pmt\_base const&,  
> boost::intrusive\_ptrpmt::pmt\_base const&)”, referenced from:  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in pulse1\_impl.cc.o  
> gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
> in  
> pulse1\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> pulse1\_impl.cc.o  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in freq\_counter2\_impl.cc.o  
> gr::basic\_block::has\_msg\_port(boost::intrusive\_ptrpmt::pmt\_base)  
> in  
> freq\_counter2\_impl.cc.o  
> std::\_\_1::map\<boost::intrusive\_ptrpmt::pmt\_base,  
> boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\>,  
> pmt::comparator,  
> std::\_\_1::allocator\<std::\_\_1::pair\<boost::intrusive\_ptrpmt::pmt\_base  
> const, boost::function\<void (boost::intrusive\_ptrpmt::pmt\_base)\> \> \>  
> ::operator(boost::intrusive\_ptrpmt::pmt\_base const&) in  
> freq\_counter2\_impl.cc.o  
> gr::basic\_block::has\_msg\_handler(boost::intrusive\_ptrpmt::pmt\_base)  
> in freq\_counter1\_impl.cc.o  
> …  
> ld: symbol(s) not found for architecture x86\_64  
> clang: error: linker command failed with exit code 1 (use -v to see  
> invocation)  
> make[2]: \*\*\* [lib/libgnuradio-test1.dylib] Error 1  
> make[1]: \*\*\* [lib/CMakeFiles/gnuradio-test1.dir/all] Error 2  
> make: \*\*\* [all] Error 2  
> bills-MacBook-Pro:build willy$

On Sun, Jul 6, 2014 at 10:13 AM, Activecat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–  
Doc

Bill D.  
KXØO

---

<div class="post-metadata">

**Author:** ![devaulw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/8e7dd6/32.png) [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Post date:** [July 7, 2014, 3:48am UTC](https://www.ruby-forum.com/t/build-oot-gr-test2/230798/12 "2014-07-07T03:48:31Z")

</div>

sudo ldconfig appears to have fixed that

On Sun, Jul 6, 2014 at 8:34 PM, Bill D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Generating: “/home/willy/top\_block.py”
> 
> > > > Done

–  
Doc

Bill D.  
KXØO
