-
Notifications
You must be signed in to change notification settings - Fork 110
gr-baz build broken #1
Comments
I've pushed a patch that uses a slightly older version of gr-baz and reported the error upstream: balint256/gr-baz#6 Did you have any other issues with the instructions? I'm always looking for ways to improve them. |
On Jun 6, 2012, at 10:55 AM, Jonathan Rudenberg wrote:
Thank you, that compiled and runs (after resolving issues listed below). However, it puts out disconcerting error messages (also shown below) Do you have any pointers to example .grc files of radios that do neat things with the rtl-sdr? I am new to gnuradio, and want to start by modifying something working rather than start from scratch. Issues that I had to resolve to get it to compile: The gr-baz install initially failed: % brew install rtlsdr gr-osmosdr gr-baz --HEAD I removed the /Users/palmer/Library/Caches/Homebrew/gr-baz--git directory and installation workedI tried doing a brew update which found your new gr-baz . However, when I then did brew upgrade, it started upgrading wxmac, which was not among the updated packages. That eventually failed, but rerunning your command: Disconcerting messages: A bajillion lines of the form
These go away if I remove the ~/.gnuradio/config.conf file, but then I can't use OsmoSDR
Comments on the rest of the build instructions, starting with a brew directory that didn't have much in it. I am picking nits because you are looking for feedback. At the point where you say At the point where you say [grc] change the first line to …custom block support with the following contents: Also, [grc] appears in boldface. I assume that this is not significant and the config.conf file should have those two lines. In order to even start with A pointer to a page that has test programs on it would also be useful at the end so people can see if it works without having to RTFM. Saying 'run the program:
|
Lots of fun. Playing with various radios. The duplicated blocks seem to be caused by items in two directories: Is there some way to modify the default path so that it doesn't point to the 1) directory? Or should I remove the specific aliases in 2) that point to the files in 1). I have Also, the wx gui waterfall display doesn't have any controls, axes, titles etc. attached. Unlike the display in Might this have something to do with the 8 messages like Of minimal importance, unless you think the aesthetics are important enough to fix, is the error message: On Jun 6, 2012, at 8:42 PM, Jonathan Rudenberg wrote:
|
Using instructions from
https://github.com/titanous/homebrew-gnuradio
everything was fine or recoverable until I tried to install the rtlsdr stuff.
Two source files had errors:
baz_udp_source.cc:224:40: error: use of undeclared identifier 'SO_RCVBUFFORCE'
if (setsockopt(d_socket, SOL_SOCKET, SO_RCVBUFFORCE, (optval_t)&requested_recv_buff_size, sizeof(int)) == -1) {
^
baz_udp_sink.cc:189:40: error: use of undeclared identifier 'SO_SNDBUFFORCE'
if (setsockopt(d_socket, SOL_SOCKET, SO_SNDBUFFORCE, (optval_t)&requested_send_buff_size, sizeof(int)) == -1) {
^
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CPPFLAGS: -I/usr/local/Cellar/cairo/1.10.2/include -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/cairo/1.10.2/lib -L/usr/local/Cellar/libffi/3.0.11/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Cellar/cairo/1.10.2/lib/pkgconfig:/usr/local/Cellar/libffi/3.0.11/lib/pkgconfig
Error: Failed executing: make install (gr-baz.rb:17)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/titanous/homebrew-gnuradio/issues/new
The text was updated successfully, but these errors were encountered: