[op25-dev] Re: OP25 Install on Arch Linux Failing

Mark Tomlin dygear@gmail.com [op25-dev] op25-dev at yahoogroups.com
Sat Mar 4 22:18:35 UTC 2017


Thanks max, you've been a great help. I've fixed the errors that I could
find with the suggestions you gave me and some help with google / stack
overflow. As they are across multiple files, I've pushed them to a github
repo so you can take a look <https://github.com/Dygear/op25>. I'm currently
having a problem where it does not link ... The current google search /
stack overflow as not produced anything that I've been able to parse as a
fix for this.

[ 93%] Built target gnuradio-op25_repeater
Scanning dependencies of target test-op25_repeater
[ 95%] Building CXX object
op25/gr-op25_repeater/lib/CMakeFiles/test-op25_repeater.dir/test_op25_repeater.cc.o
[ 96%] Building CXX object
op25/gr-op25_repeater/lib/CMakeFiles/test-op25_repeater.dir/qa_op25_repeater.cc.o
[ 97%] Linking CXX executable test-op25_repeater
libgnuradio-op25_repeater.so: undefined reference to
`get_bit_allocation_arr(short)'
collect2: error: ld returned 1 exit status
make[2]: ***
[op25/gr-op25_repeater/lib/CMakeFiles/test-op25_repeater.dir/build.make:131:
op25/gr-op25_repeater/lib/test-op25_repeater] Error 1
make[1]: *** [CMakeFiles/Makefile2:526:
op25/gr-op25_repeater/lib/CMakeFiles/test-op25_repeater.dir/all] Error 2
make: *** [Makefile:128: all] Error 2



On Sat, Mar 4, 2017 at 8:56 AM, ikj1234i at yahoo.com [op25-dev] <
op25-dev at yahoogroups.com> wrote:

>
>
> this appears to be a warning getting promoted to an error perhaps by new
> zealousness having been added to the compiler.  Without being able to
> reproduce locally it's possible to make suggestions, but they may (or may
> Not) work...
>
> At line 37 of pitch_est.cc
>      static const Word16 min_max_tbl[203] =
>
> A few things to try
> - change "Word16" to "unsigned short", or
> - change "Word16" to "int", or
> - add the keyword "unsigned" prior to the "Word16"
>
> This doesn't initially appear to be a supported platform, so YMMV -even if
> it compiles OK
>
> Max
> 
>



-- 
Thank you for your time,
Mark 'Dygear' Tomlin;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170304/2364efea/attachment.html>


More information about the op25-dev mailing list