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. 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@yahoo.com [op25-dev] <op25-dev@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;

__._,_.___

Posted by: Mark Tomlin <dygear@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___