[op25-dev] Compiling on Ubuntu 12.04, issue with libboost

Dylan Reinhold dreinhold@gmail.com [op25-dev] op25-dev at yahoogroups.com
Fri May 12 18:23:56 UTC 2017


Trying to get op25 on a new latop that has 12.04 (tried to install 10.04
but network drivers wont load).

Installed with the :
http://op25.osmocom.org/trac/wiki.png/wiki/InstallInstructionsPage

First issue was math header was not found, included it in
op25/gr-op25_repeater/lib/gardner_costas_cc_impl.cc

The with the new gcc naowing became an error so I disabled it with

make CXX_FLAGS="-Wno-narrowing"

Which got me to what seems to be libboost cant be linked.

[ 65%] Linking CXX shared library libgnuradio-op25_repeater.so
/usr/bin/ld: CMakeFiles/gnuradio-op25_repeater.dir/vocoder_impl.cc.o:
relocation R_X86_64_PC32 against symbol
`_ZN2gr13op25_repeater12vocoder_implC1EbbiPcib' can not be used when making
a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/build.make:593:
recipe for target 'op25/gr-op25_repeater/lib/libgnuradio-op25_repeater.so'
failed
make[2]: *** [op25/gr-op25_repeater/lib/libgnuradio-op25_repeater.so] Error
1
CMakeFiles/Makefile2:644: recipe for target
'op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/all' failed
make[1]: ***
[op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/all] Error
2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Any ideas. Seems like I need to rebuild libboost?

Thanks,
Dylan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170512/9e992255/attachment.html>


More information about the op25-dev mailing list