 
            I know that a while back there was a grc flowraph of op25 that handled DES. Any chance of a pybombs recipe for op25 that handles RC4 as implemented in Advanced Digital Privacy?
 
            Yes that was Balints patch.
I think that we should add support for ADP, DES-OFB and AES-256 into the repo....
What does everyone think?
Cheers, Matt
 
            Hi Matt,
I definitely agree!
JOE
On Feb 4, 2015, at 7:41 PM, matt.robert80@yahoo.com [op25-dev] op25-dev@yahoogroups.com wrote:
Yes that was Balints patch.
I think that we should add support for ADP, DES-OFB and AES-256 into the repo....
What does everyone think?
Cheers, Matt
 
            Yeah, But it doesn’t automatically decode it you need the ENC Keys. And as far as I know there is no way to obtain them anyway, So unless you have access to keys in use in your area what good what it do?
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Sunday, February 08, 2015 1:34 PM To: op25-dev@yahoogroups.com Subject: [op25-dev] Re: RC4
Support for ADP would be great, several agencies use it in my area.
 
            Correct, but for those of us that do have access to keys it could be beneficial to have the capability of using the various algorithms if built into OP25.
Brett KQ9N On Feb 8, 2015 4:08 PM, "'Robert Klamp' RobertKlamp@aol.com [op25-dev]" < op25-dev@yahoogroups.com> wrote:
Yeah, But it doesn’t automatically decode it you need the ENC Keys. And as far as I know there is no way to obtain them anyway, So unless you have access to keys in use in your area what good what it do?
*From:* op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] *Sent:* Sunday, February 08, 2015 1:34 PM *To:* op25-dev@yahoogroups.com *Subject:* [op25-dev] Re: RC4
Support for ADP would be great, several agencies use it in my area.
 
            There has been plenty of information published on DES-OFB and ADP key recovery, including the NICTA paper 5076..
There is also the proof of concept code that validated the attacks in the paper available here:- https://github.com/stiabhan/p25lib https://github.com/stiabhan/p25lib
Now, given that desktop PC's have bene used to brute force RC4 for 15 years now, it doesn't take much for anyone to recreate these attacks now, does it....
Cheers, Matt
 
            In fact, 90% of the work in cracking RC4 is in this file here:-
https://github.com/stiabhan/p25lib/blob/master/src/adp/adp.cc https://github.com/stiabhan/p25lib/blob/master/src/adp/adp.cc
It's hardly a challenge these days. Perhaps we should add ADP key recovery into the OP25 GUI!
Cheers, Matt
 
            In fairness, the code Matt linked to above was the stuff I used to recover the bit scheduling of the RC4 cipher. I'd forgotten that it was even online :)
Turns out P25 adopts a really simple scheme and throws away RC4 ciphertext octets exactly where you'd expect it to (compare it with DES/OFB which has a similar structure and throws away ciphertext octets at the same position). The only difference is that P25 skips the first 256 octets of the ciphertext because of a known weakness in RC4.
Would be great to see auto-recovery; even manual key entry would be cool. I'm unlikely to look at it soon as I'm up to my neck in GSM right now!
 
            I think its possible and would be great to have in OP25 (seeing as this project is where these flaws were originally discovered and published)...
I addition the software be tweaked to produce known plaintext and ciphertext pairs for DES-OFB key recovery as well - leaving the computational problem up to the user.
One thing though - adding ADP and DES to the code will result in a massive increase of people downloading and building OP25, plus the extra attention it will get us... We should make sure our web server is bulletproof before releasing such a beast ;)
Cheers, Matt
 
            On 11/02/15 10:14, matt.robert80@yahoo.com [op25-dev] wrote:
I addition the software be tweaked to produce known plaintext and ciphertext pairs for DES-OFB key recovery as well - leaving the computational problem up to the user.
One thing though - adding ADP and DES to the code will result in a massive increase of people downloading and building OP25, plus the extra attention it will get us... We should make sure our web server is bulletproof before releasing s
I've been speaking to Holger about migrating our wiki/trac server onto the same BSD platform used by the other osmocom projects. That's bubbling away in the background but I hope to avoid any user-visible changes.
I'm also refactoring airprobe - its an unbloved orphan right now - and trying to sort out its workflow so its actually not a complete pain to use. Lessons learnt from P25 may help me in that effort so I'm keen to see how it turns out :)
 
            Good job! OP25's code always was a bit cleaner (well to read anyway) than airprobe, and any work done on that will certainly get attention!
 
            Hi All,
I would like to resurrect this RC4 thread.
Has there been any progress on this?
I believe that a full key variable brute force retrieval within OP25 would raise way to many eyebrows. I believe a better idea would be two fold:
First modify OP25 to decrypt ADP, DES-OFB, AES256 etc with a known key. I believe the code was discussed by Steve and Matt. So if you know the key variable, simply enter it and decrypt away.
Second, modify OP25 to display the non-dropped “silence” bytes within the 6 blocks of data of VC1 & VC2. I believe this should be located in the first LDU1 frame right after the Header frame. Do this for ADP, DES-OFB, AES-256. Obviously the number of silence bytes would vary per algorithm.
That would be very valuable.
thanks, Joe
On Feb 10, 2015, at 7:14 PM, matt.robert80@yahoo.com [op25-dev] op25-dev@yahoogroups.com wrote:
I think its possible and would be great to have in OP25 (seeing as this project is where these flaws were originally discovered and published)...
I addition the software be tweaked to produce known plaintext and ciphertext pairs for DES-OFB key recovery as well - leaving the computational problem up to the user.
One thing though - adding ADP and DES to the code will result in a massive increase of people downloading and building OP25, plus the extra attention it will get us... We should make sure our web server is bulletproof before releasing such a beast ;)
Cheers, Matt
 
            I've not much time these days but I'd be happy to comment and provide pointers. Your suggestion sounds good - I'm sure that Max would accept any patches that would do what you suggest.
On 6 October 2015 at 12:12, Joseph Cardani jcardani@verizon.net [op25-dev] < op25-dev@yahoogroups.com> wrote:
Hi All,
I would like to resurrect this RC4 thread.
Has there been any progress on this?
I believe that a full key variable brute force retrieval within OP25 would raise way to many eyebrows. I believe a better idea would be two fold:
First modify OP25 to decrypt ADP, DES-OFB, AES256 etc with a known key. I believe the code was discussed by Steve and Matt. So if you know the key variable, simply enter it and decrypt away.
Second, modify OP25 to display the non-dropped “silence” bytes within the 6 blocks of data of VC1 & VC2. I believe this should be located in the first LDU1 frame right after the Header frame. Do this for ADP, DES-OFB, AES-256. Obviously the number of silence bytes would vary per algorithm.
That would be very valuable.
thanks, Joe
On Feb 10, 2015, at 7:14 PM, matt.robert80@yahoo.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
I think its possible and would be great to have in OP25 (seeing as this project is where these flaws were originally discovered and published)...
I addition the software be tweaked to produce known plaintext and ciphertext pairs for DES-OFB key recovery as well - leaving the computational problem up to the user.
One thing though - adding ADP and DES to the code will result in a massive increase of people downloading and building OP25, plus the extra attention it will get us... We should make sure our web server is bulletproof before releasing such a beast ;)
Cheers, Matt
 
            Hi All,
I sent this email to Max last week but currently he does not have time right now to devote to helping so I am asking for your assistance.
I started making changes to the modules that Max had suggested to me a few weeks ago and I am making some progress. However I am having some difficulty with a few things.
My objectives summary:
1. Display the silence bytes from the voice frames VC1 and VC2 (currently all the voice frames are displayed). The silence frames must be from a subscriber unit and they are located in the first LDU1 just after the HD.
2. Display the MI that’s located in the HD
3. Display the Source (Radio ID) in the LDU1 and TDU w/LC (this is important to tell if the call was initiated from a console or subscriber unit)
Objective #1
I made the code changes below (all my changes are prefixed by my initials JAC). First I displayed the raw hex bytes then formatted them adjacent.
My issue is that I am getting 04 0C FD 7B FB 7D 79 36 CF 33 44 for silence instead of the correct 04 0C FD 7B FB 7D F2 7B 3D 9E 44 So it’s OK for the first 6 bytes then wrong for the next 4 then OK for the last. Please check my code and let me know what I am doing wrong here. Thanks!
void software_imbe_decoder::decode(const voice_codeword& cw) { // process input 144-bit IMBE frame - converts to 88-bit frame unsigned int u0 = 0; unsigned int u1,u2,u3,u4,u5,u6,u7; unsigned int E0 = 0; unsigned int ET = 0; unsigned char O[12]; unsigned int f0,f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11,f12,f13,f14,f15,f16,f17,f18,f19,f20,f21; // PN/Hamming/Golay - etc. imbe_header_decode(cw, u0, u1, u2, u3, u4, u5, u6, u7, E0, ET) ;
// JAC - display unformatted first (this needs work - results not expected) printf("%03X %03X %03X %03X %03X %03X %03X %03x * ", u0, u1, u2, u3, u4, u5, u6, u7>>1);
// JAC - Then display formatted (this needs work after above is fixed) // A clear frame should be 04 0C FD 7B FB 7D F2 7B 3D 9E 44 or 45 alternating // I am getting 04 0C FD 7B FB 7D 79 36 CF 33 44 or 45 alternating
f0 = (u0 >> 8); // first nibble clear = 0 printf("%X", f0); f1 = (u0 >> 4); f1 = (f1 & 0x0F); // second nibbble clear = 4 printf("%X", f1); f2 = (u0 & 0x00F); // first nibble clear = 0 printf(" %X", f2); f3 = (u1 >> 8); // second nibble clear = C printf("%X", f3); f4 = (u1 >> 4); f4 = (f4 & 0x0F); // first nibbble clear = F printf(" %X", f4); f5 = (u1 & 0x00F); // second nibble clear = D printf("%X", f5); f6 = (u2 >> 8); // first nibble clear = 7 printf(" %X", f6); f7 = (u2 >> 4); f7 = (f7 & 0x0F); // second nibbble clear = B printf("%X", f7); f8 = (u2 & 0x00F); // first nibble clear = F printf(" %X", f8); f9 = (u3 >> 8); // second nibble clear = B printf("%X", f9); f10 = (u3 >> 4); f10 = (f10 & 0x0F); // first nibbble clear = 7 printf(" %X", f10); f11 = (u3 & 0x00F); // second nibble clear = D printf("%X", f11); f12 = (u4 >> 8); // first nibble clear = F printf(" %X", f12); f13 = (u4 >> 4); f13 = (f13 & 0x0F); // second nibbble clear = 2 printf("%X", f13); f14 = (u4 & 0x00F); // second nibble clear = 7 printf(" %X", f14); f15 = (u5 >> 8); // second nibble clear = B printf("%X", f15);
f16 = (u5 >> 4); f16 = (f16 & 0x0F); // first nibbble clear = 3 printf(" %X", f16); f17 = (u5 & 0x00F); // second nibble clear = D printf("%X", f17);
f18 = (u6 >> 8); // first nibble clear = 9 printf(" %X", f18); f19 = (u6 >> 4); f19 = (f19 & 0x0F); // second nibbble clear = E printf("%X", f19);
u7 = (u7 >> 1); // Done in original code f20 = (u7 >> 4); f20 = (f20 & 0x00F); // first nibble clear = 4 printf(" %X", f20); f21 = (u7 & 0x00F); // second nibble clear = 4 printf("%X \n", f21); //replace the sync bit(LSB of u7) with the BOT flag u7 = u7 | 0x01; //ECC procedure called above always returns u7 LSB = 0
O[0] = (((u0 / 16) & 240) + (u1 / 256)); O[1] = (((u2 / 16) & 240) + (u3 / 256)); O[2] = (((u4 / 8) & 224) + ((u5 / 64) & 28) + (u6 / 512)); O[3] = (((u6 / 2) & 128) + u7); O[4] = (u0 & 255); O[5] = (u1 & 255); O[6] = (u2 & 255); O[7] = (u3 & 255); O[8] = (u4 & 255); O[9] = (u5 & 255); O[10] = (u6 & 255); O[11] = E0 + 4 * ET; decode_audio(O); // process 88-bit frame }
Objective #2
I made the code changes below in ProcHDU (all my changes are prefixed by my initials JAC). I added the MI at the end of the fprintf statement below and added the for statement under that. This appears to be working since clear transmissions are always zero just like the MI that’s in the LDU2. However I can’t test encrypted MI since it’s variable. Can you please check my code again to see if it’s consistent with the code that is used to display the MI in the LDU2? Thanks!
void ProcHDU(const_bit_vector A) { int i, j, k, ec; uint8_t HB[63]; // "hexbit" array
//header code word is 324 dibits (padded by 5 trailing zero dibits) // 324 dibits = 648 bits = 36 18-bit Golay codewords
//do (18,6,8) shortened Golay decode - make 36 hexbits for rs dec for (i = 0; i <= 26; i++) { HB[i] = 0; } k = 0; for (i = 0; i < 36; i ++) { // 36 codewords uint32_t CW = 0; for (j = 0; j < 18; j++) { // 18 bits / cw CW = (CW << 1) + A [ hdu_codeword_bits[k++] ]; } HB[27 + i] = gly24128Dec(CW) & 63; }
//do (36,20,17) RS decode ec = rsDec(16, 27, HB); //120 info bits = 20 hexbits: (27..46) //72 bits MI: (27..38) // 8 bits MFID // 8 bits ALGID //16 bits KID //16 bits TGID
uint32_t MFID = HB[39] * 4 + (HB[40] >> 4); uint32_t ALGID = (HB[40] & 15) * 16 + (HB[41] >> 2); uint32_t KID = (HB[41] & 3) * 16384 + HB[42] * 256 + HB[43] * 4 + (HB[44] >> 4); uint32_t TGID = (HB[44] & 15) * 4096 + HB[45] * 64 + HB[46];
fprintf (stderr, " HDU: rc %d mfid %X alg %X kid %X tgid %d MI ", ec, MFID, ALGID, KID, TGID); // Added JAC - added MI label at the end
// Added JAC - New code to display the MI that's in the header for (int i = 27; i <= 38; i++) { fprintf(stderr, "%02X ", HB[ i ]); } }
void ProcLLDU(const_bit_vector A, uint8_t HB[]) { int i, j, k; for (i = 0; i <= 38; i++) { HB[i] = 0; } k = 0; for (i = 0; i < 24; i ++) { // 24 10-bit codewords uint32_t CW = 0; for (j = 0; j < 10; j++) { // 10 bits / cw CW = (CW << 1) + A [ imbe_ldu_ls_data_bits[k++] ]; } HB[39 + i] = hmg1063Dec( CW >> 4, CW & 0xF ); }
}
void ProcLC(uint8_t HB[]) { int ec = rsDec(12, 39, HB); int pb = HB[39] >> 5; int sf = (HB[39] & 16) >> 4; int lco = (HB[39] & 15) * 4 + (HB[40] >> 4); //fprintf(stderr, " LC: rc %d pb %d sf %d lco %d", ec, pb, sf, lco); // JAC - not displayed }
Objective #3
I made the code changes below in ProcLDU1 and ProcTDU (all my changes are prefixed by my initials JAC). Added the 3 lines to compute the source (Radio ID) - did this in both ProcLDU1 and ProcTDU. I took a guess here how to do this but obviously I failed. Maybe you can help me here correctly calculate the source. I may be getting it from the wrong position in the HB array or using the wrong calculation to add it up. Please help!
void ProcLDU1(const_bit_vector A) { uint8_t HB[63]; // "hexbit" array
ProcLLDU(A, HB);
// Added JAC - This just displays the LDU1: label fprintf(stderr, " LDU1: "); // Added JAC FIX THIS!!! - Calculate the Source (Radio ID) in the LDU1 uint32_t src = ((HB[51] * 262144) + (HB[52] * 4096) + (HB[53] * 64) + (HB[54])); //Added JAC - Display the Radio ID fprintf(stderr, " SRC %u", src); ProcLC(HB); }
void ProcLDU2(const_bit_vector A) { uint8_t HB[63]; // "hexbit" array
ProcLLDU(A, HB); int ec = rsDec(8, 39, HB);
uint32_t ALGID = HB[51] * 4 + (HB[52] >> 4); uint32_t KID = (HB[52] & 15) * 4096 + HB[53] * 64 + HB[54];
fprintf(stderr, " LDU2: rc %d ALGID %X KID %X MI ", ec, ALGID, KID); for (int i = 39; i <= 50; i++) { fprintf(stderr, "%02X ", HB[ i ]); } // fprintf(stderr, "\n"); }
void ProcTDU(const_bit_vector A) { uint8_t HB[63]; // "hexbit" array
int i, j, k; for (i = 0; i <= 38; i++) { HB[i] = 0; } k = 0; for (i = 0; i <= 22; i += 2) { uint32_t CW = 0; for (j = 0; j < 12; j++) { // 12 24-bit codewords CW = (CW << 1) + A [ hdu_codeword_bits[k++] ]; CW = (CW << 1) + A [ hdu_codeword_bits[k++] ]; } uint32_t D = gly24128Dec(CW); HB[39 + i] = D >> 6; HB[40 + i] = D & 63; }
// Added JAC - This just displays the TDU w/LC label fprintf(stderr, " TDU: ");
// Added JAC FIX THIS!!! - Calculate the Source (Radio ID) in the TDU uint32_t src = ((HB[51] * 262144) + (HB[52] * 4096) + (HB[53] * 64) + (HB[54])); //Added JAC - Display the Radio ID fprintf(stderr, " SRC %u", src);
ProcLC(HB);
}
Hopefully you guys can help fix these issued and then I can submit them to Max to include them in the master branch after they are tested.
thanks!
Joe
 
            Joe,
Balint has some changes that he will be merging soon (when he gets time also) and dumping the raw frames is one of them. I have tested this implementation with him and it works and produces the correct values.
It will also detect and decrypt DES-OFB if you provide the key.
Balint will update once he gets a chance to look at it, but as always, he's pretty busy :)
Cheers, Matt
 
            Hi Matt,
Great news! Then my changes are unnecessary.
Thanks so much for the hard work and dedication!
Joe
On Nov 14, 2015, at 9:31 PM, matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Joe,
Balint has some changes that he will be merging soon (when he gets time also) and dumping the raw frames is one of them. I have tested this implementation with him and it works and produces the correct values.
It will also detect and decrypt DES-OFB if you provide the key.
Balint will update once he gets a chance to look at it, but as always, he's pretty busy :)
Cheers, Matt
 
            Hi Joe,
If you want to beta test the additions, please check out & compile the latest from:
https://github.com/balint256/gr-baz
https://github.com/balint256/op25
I still need to replace https://github.com/balint256/gr-baz/blob/master/samples/OP25.grc with the updated version though (perhaps the old one will work, or just need a small tweak). See how you go with the above and then I can send you the latest.
Kind regards,
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Saturday, 14 November 2015 8:21 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] My OP25 Development - need assistance from the group
Hi Matt,
Great news! Then my changes are unnecessary.
Thanks so much for the hard work and dedication!
Joe
On Nov 14, 2015, at 9:31 PM, matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Joe,
Balint has some changes that he will be merging soon (when he gets time also) and dumping the raw frames is one of them. I have tested this implementation with him and it works and produces the correct values.
It will also detect and decrypt DES-OFB if you provide the key.
Balint will update once he gets a chance to look at it, but as always, he's pretty busy :)
Cheers,
Matt
 
            Hi Balint,
Thanks so much! I will try compiling these tonight and let you know how it goes.
Joe
On Nov 16, 2015, at 11:28 AM, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe,
If you want to beta test the additions, please check out & compile the latest from:
https://github.com/balint256/gr-baz https://github.com/balint256/gr-baz
https://github.com/balint256/op25 https://github.com/balint256/op25
I still need to replace https://github.com/balint256/gr-baz/blob/master/samples/OP25.grc https://github.com/balint256/gr-baz/blob/master/samples/OP25.grc with the updated version though (perhaps the old one will work, or just need a small tweak). See how you go with the above and then I can send you the latest.
Kind regards,
Balint
From: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com] Sent: Saturday, 14 November 2015 8:21 PM To: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com Subject: Re: [op25-dev] My OP25 Development - need assistance from the group
Hi Matt,
Great news! Then my changes are unnecessary.
Thanks so much for the hard work and dedication!
Joe
On Nov 14, 2015, at 9:31 PM, matt.ames7bc@gmail.com mailto:matt.ames7bc@gmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Joe,
Balint has some changes that he will be merging soon (when he gets time also) and dumping the raw frames is one of them. I have tested this implementation with him and it works and produces the correct values.
It will also detect and decrypt DES-OFB if you provide the key.
Balint will update once he gets a chance to look at it, but as always, he's pretty busy :)
Cheers,
Matt
 
            I'll also give a compile tonight and report back.
-- Mark 'Dygear' Tomlin
On Nov 17, 2015, at 11:28, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Balint,
Thanks so much! I will try compiling these tonight and let you know how it goes.
Joe
On Nov 16, 2015, at 11:28 AM, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe,
If you want to beta test the additions, please check out & compile the latest from:
https://github.com/balint256/gr-baz
https://github.com/balint256/op25
I still need to replace https://github.com/balint256/gr-baz/blob/master/samples/OP25.grc with the updated version though (perhaps the old one will work, or just need a small tweak). See how you go with the above and then I can send you the latest.
Kind regards,
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Saturday, 14 November 2015 8:21 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] My OP25 Development - need assistance from the group
Hi Matt,
Great news! Then my changes are unnecessary.
Thanks so much for the hard work and dedication!
Joe
On Nov 14, 2015, at 9:31 PM, matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Joe,
Balint has some changes that he will be merging soon (when he gets time also) and dumping the raw frames is one of them. I have tested this implementation with him and it works and produces the correct values.
It will also detect and decrypt DES-OFB if you provide the key.
Balint will update once he gets a chance to look at it, but as always, he's pretty busy :)
Cheers,
Matt
 
            Hi Balint,
It blew up when I tried to compile the new blocks. Here’s a copy of the terminal window.
Thanks!
jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: DIGITAL -- checking for module 'gnuradio-digital' -- found gnuradio-digital, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_DIGITAL: /home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_DIGITAL_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found UHD: /home/jcardani/target/lib/libuhd.so -- UHD found - compiling UHD-aware blocks -- checking for module 'libusb-1.0' -- found libusb-1.0, version 1.0.17 -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/i386-linux-gnu/libusb-1.0.so -- libusb found - compiling RTL2832U source block -- Could NOT find Armadillo (missing: ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR) -- Armadillo NOT found! NOT compiling MUSIC DOA estimator block -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include boost/thread/xtime.hpp -- Looking for C++ include boost/thread/xtime.hpp - found -- Looking for CLOCK_MONOTONIC -- Looking for CLOCK_MONOTONIC - found -- Looking for boost::xtime_get -- Looking for boost::xtime_get - found -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/jcardani/gr-baz/build jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ make Scanning dependencies of target gnuradio-baz [ 1%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o [ 3%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_unpacked_to_packed_bb.cc.o [ 5%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_pow_cc.cc.o [ 7%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_delay.cc.o /home/jcardani/gr-baz/lib/baz_delay.cc: In constructor ‘baz_delay::baz_delay(size_t, int)’: /home/jcardani/gr-baz/lib/baz_delay.cc:53:101: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, delay: %d\n", name().c_str(), unique_id(), itemsize, delay); ^ [ 9%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_puncture_bb.cc.o [ 11%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_depuncture_ff.cc.o [ 13%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_swap_ff.cc.o [ 15%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_agc_cc.cc.o [ 17%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_test_counter_cc.cc.o [ 19%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_source.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_sink.cc.o [ 23%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_callback.cc.o [ 25%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_mux.cc.o /home/jcardani/gr-baz/lib/baz_native_mux.cc: In member function ‘virtual int baz_native_mux::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Late %d (processed: %d, next time: %d)\n", name().c_str(), ((int)d_samples_processed - (int)next_time), d_samples_processed, next_time); ^ /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 27%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_block_status.cc.o /home/jcardani/gr-baz/lib/baz_block_status.cc: In constructor ‘baz_block_status::baz_block_status(int, gr::msg_queue::sptr, long unsigned int, long unsigned int)’: /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Size: %d, work iterations: %d, samples processed: %d\n", name().c_str(), size, work_iterations, samples_processed); ^ /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 29%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_non_blocker.cc.o [ 31%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_acars_decoder.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tag_to_msg.cc.o [ 35%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_time_keeper.cc.o /home/jcardani/gr-baz/lib/baz_time_keeper.cc: In constructor ‘baz_time_keeper::baz_time_keeper(int, int)’: /home/jcardani/gr-baz/lib/baz_time_keeper.cc:66:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, sample_rate); ^ [ 37%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burster.cc.o /home/jcardani/gr-baz/lib/baz_burster.cc: In constructor ‘baz_burster::baz_burster(const baz_burster_config&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:56:199: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d, interval type: %s\n", name().c_str(), unique_id(), config.item_size, config.sample_rate, (d_config.sample_interval ? "samples" : "seconds")); ^ In file included from /usr/include/string.h:32:0, from /usr/include/c++/4.8/cstring:42, from /usr/include/boost/date_time/posix_time/conversion.hpp:12, from /usr/include/boost/thread/xtime.hpp:16, from /usr/include/boost/thread/pthread/mutex.hpp:17, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/thread/pthread/thread_data.hpp:13, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /home/jcardani/gr-baz/lib/baz_burster.h:32, from /home/jcardani/gr-baz/lib/baz_burster.cc:34: /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: invalid access to non-static data member ‘baz_burster::d_dummy_zero_last’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first)); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous union>::d_dummy_zero_first’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first)); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous>’ of NULL object [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘void baz_burster::set_burst_length(int)’: /home/jcardani/gr-baz/lib/baz_burster.cc:79:119: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] burst length: %i (%i bytes)\n", name().c_str(), unique_id(), length, d_message_buffer_length); ^ /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘virtual int baz_burster::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:185:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] updated time\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:254:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already in burst #%i\n", name().c_str(), unique_id(), d_burst_count); ^ [ 39%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In constructor ‘baz_radar_detector::baz_radar_detector(int, gr::msg_queue::sptr)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:86:88: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %i\n", name().c_str(), unique_id(), sample_rate); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_threshold(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:105:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] threshold %f\n", name().c_str(), unique_id(), d_threshold); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_pulse_plateau(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:112:93: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] pulse plateau %f\n", name().c_str(), unique_id(), d_pulse_plateau); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘bool baz_radar_detector::set_param(const string&, float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:117:113: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] setting parameter "%s" to: %f\n", name().c_str(), unique_id(), param.c_str(), value); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::skip(int)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:140:73: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] skip %i\n", name().c_str(), unique_id(), skip); ^ [ 41%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_fastrak_decoder.cc.o /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In constructor ‘baz_fastrak_decoder::baz_fastrak_decoder(int)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:73:122: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %d, oversampling: %d\n", name().c_str(), unique_id(), sample_rate, d_oversampling); ^ /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In member function ‘void baz_fastrak_decoder::set_sync_threshold(float)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:87:117: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sync threshold: %f (was: %f)\n", name().c_str(), unique_id(), threshold, d_sync_threshold); ^ [ 43%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_overlap.cc.o /home/jcardani/gr-baz/lib/baz_overlap.cc: In constructor ‘baz_overlap::baz_overlap(int, int, int, int)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:83:150: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, vlen: %d, overlap: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, vlen, overlap, samp_rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc:84:74: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] rate: %f\n", name().c_str(), unique_id(), rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc: In member function ‘virtual int baz_overlap::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:122:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] not enough for work: noutput_items: %d\n", name().c_str(), unique_id(), noutput_items); ^ [ 45%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_manchester_decode_bb.cc.o /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In constructor ‘baz_manchester_decode_bb::baz_manchester_decode_bb(bool, int, int, bool)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:77:145: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] original: %s, threshold: %d, window: %d\n", name().c_str(), unique_id(), (original ? "yes" : "no"), threshold, window); ^ /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In member function ‘virtual int baz_manchester_decode_bb::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:173:92: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] violation threshold exceeded\n", name().c_str(), unique_id()); ^ [ 47%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_sweep.cc.o /home/jcardani/gr-baz/lib/baz_sweep.cc: In constructor ‘baz_sweep::baz_sweep(float, float, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:86:169: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %f, default sweep rate: %f, is duration: %s\n", name().c_str(), unique_id(), samp_rate, sweep_rate, (is_duration ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘void baz_sweep::sweep(float, float, bool, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:112:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:118:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already at %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep already in progress (to %f at %f while asking for %s at %s\n", name().c_str(), unique_id(), d_target, d_sweep_rate, freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:133:79: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] jumped to %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:153:136: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] waiting for sweep to %f at %f (starting at %lld)\n", name().c_str(), unique_id(), freq, rate, d_start_sample); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:157:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] completed sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘virtual int baz_sweep::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:188:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep complete in work\n", name().c_str(), unique_id()); ^ [ 49%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_merge.cc.o /home/jcardani/gr-baz/lib/baz_merge.cc: In constructor ‘baz_merge::baz_merge(int, float, int, bool, const char*, const char*)’: /home/jcardani/gr-baz/lib/baz_merge.cc:90:220: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %f, additional streams: %d: length tag: '%s', ignore tag: '%s'\n", name().c_str(), unique_id(), item_size, samp_rate, additional_streams, length_tag, ignore_tag); ^ /home/jcardani/gr-baz/lib/baz_merge.cc: In member function ‘virtual int baz_merge::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_merge.cc:195:131: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] no samples for burst %llu on sample %llu\n", name().c_str(), unique_id(), d_total_burst_count, nread); ^ /home/jcardani/gr-baz/lib/baz_merge.cc:274:236: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning burst %llu of length %d at sample %llu on input %d (ignoring: %s)\n", name().c_str(), unique_id(), d_total_burst_count, d_items_to_copy, nread, d_selected_input, (d_ignore_current ? "yes" : "no")); ^ [ 50%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_sink.cc.o [ 52%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_source.cc.o /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In constructor ‘baz_tcp_source::baz_tcp_source(size_t, const char*, short unsigned int, int, bool)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:181:185: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, host: %s, port: %hu, buffer size: %d, verbose: %s\n", name().c_str(), unique_id(), itemsize, host, port, buffer_size, (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In member function ‘virtual int baz_tcp_source::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:476:110: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] accepted connection (socket: %d)\n", name().c_str(), unique_id(), d_client_socket); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc:541:100: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] recv returned 0 - disconnecting client\n", name().c_str(), unique_id()); ^ [ 54%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_auto_ber_bf.cc.o [ 56%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_peak_detector.cc.o /home/jcardani/gr-baz/lib/baz_peak_detector.cc: In constructor ‘baz_peak_detector::baz_peak_detector(float, int, int, float, float, int)’: /home/jcardani/gr-baz/lib/baz_peak_detector.cc:86:188: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] min diff: %f, min len: %d, lockout: %d, drop: %f, alpha: %f, look ahead: %d\n", name().c_str(), unique_id(), min_diff, min_len, lockout, drop, alpha, look_ahead); ^ [ 58%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_tagger_impl.cc.o /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In constructor ‘gr::baz::burst_tagger_impl::burst_tagger_impl(const string&, float, unsigned int, unsigned int, bool, bool)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:56:250: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "<%s[%d]> tag name: %s, multiplier: %f, tag front: %d, tag rear: %d, drop residue: %s, verbose: %s\n", name().c_str(), unique_id(), tag_name.c_str(), mult, pad_front, pad_rear, (drop_residue ? "yes" : "no"), (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In member function ‘virtual int gr::baz::burst_tagger_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:284:170: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vectorgr::tag_t::size_type {aka unsigned int}’ [-Wformat=] fprintf(stderr, "[%llu] ! Encountered %lu tags during burst #%llu (work started reading at: %llu, copying: %d)\n", d_work_count, all_tags.size(), d_count, nread, cpy); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:338:126: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] if (d_verbose) fprintf(stderr, "Copied %lu items outside burst (after #%llu, work with no tags)\n", noutput_items, d_count); ^ [ 60%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_buffer.cc.o /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In constructor ‘baz_burst_buffer::baz_burst_buffer(size_t, int, bool)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:62:83: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d\n", name().c_str(), unique_id(), itemsize); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘void baz_burst_buffer::reallocate_buffer()’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:100:97: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] buffer now: %d samples\n", name().c_str(), unique_id(), d_buffer_size); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘virtual int baz_burst_buffer::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:143:108: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Outputting buffer (%d samples)\n", name().c_str(), unique_id(), d_sample_count); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:153:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:164:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:182:142: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Starting flush at head of work (noutput_items: %d)\n", name().c_str(), unique_id(), noutput_items); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:192:153: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Finishing flush in work (noutput_items: %d, to_go: %d)\n", name().c_str(), unique_id(), noutput_items, to_go); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:271:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Already in burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:275:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:286:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:296:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Not in a burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:304:77: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Unexpected tag!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:322:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Invalid state!\n", name().c_str(), unique_id()); ^ [ 62%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc: In member function ‘virtual int gr::baz::additive_scrambler_bb_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:17: error: ‘stderr’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:58: error: ‘fprintf’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $
 
            Hi Joe,
Can you open up the file "baz_additive_scrambler_bb.cc" in the source tree and add "#include <stdio.h>" at the top?
Cheers, Matt
On 18 November 2015 at 13:12, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Balint,
It blew up when I tried to compile the new blocks. Here’s a copy of the terminal window.
Thanks!
jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: DIGITAL -- checking for module 'gnuradio-digital' -- found gnuradio-digital, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_DIGITAL: /home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_DIGITAL_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE -- Found UHD: /home/jcardani/target/lib/libuhd.so -- UHD found - compiling UHD-aware blocks -- checking for module 'libusb-1.0' -- found libusb-1.0, version 1.0.17 -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/i386-linux-gnu/ libusb-1.0.so -- libusb found - compiling RTL2832U source block -- Could NOT find Armadillo (missing: ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR) -- Armadillo NOT found! NOT compiling MUSIC DOA estimator block -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include boost/thread/xtime.hpp -- Looking for C++ include boost/thread/xtime.hpp - found -- Looking for CLOCK_MONOTONIC -- Looking for CLOCK_MONOTONIC - found -- Looking for boost::xtime_get -- Looking for boost::xtime_get - found -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/jcardani/gr-baz/build jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ make Scanning dependencies of target gnuradio-baz [ 1%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o [ 3%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_unpacked_to_packed_bb.cc.o [ 5%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_pow_cc.cc.o [ 7%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_delay.cc.o /home/jcardani/gr-baz/lib/baz_delay.cc: In constructor ‘baz_delay::baz_delay(size_t, int)’: /home/jcardani/gr-baz/lib/baz_delay.cc:53:101: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, delay: %d\n", name().c_str(), unique_id(), itemsize, delay); ^ [ 9%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_puncture_bb.cc.o [ 11%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_depuncture_ff.cc.o [ 13%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_swap_ff.cc.o [ 15%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_agc_cc.cc.o [ 17%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_test_counter_cc.cc.o [ 19%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_source.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_sink.cc.o [ 23%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_callback.cc.o [ 25%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_mux.cc.o /home/jcardani/gr-baz/lib/baz_native_mux.cc: In member function ‘virtual int baz_native_mux::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Late %d (processed: %d, next time: %d)\n", name().c_str(), ((int)d_samples_processed - (int)next_time), d_samples_processed, next_time); ^ /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 27%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_block_status.cc.o /home/jcardani/gr-baz/lib/baz_block_status.cc: In constructor ‘baz_block_status::baz_block_status(int, gr::msg_queue::sptr, long unsigned int, long unsigned int)’: /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Size: %d, work iterations: %d, samples processed: %d\n", name().c_str(), size, work_iterations, samples_processed); ^ /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 29%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_non_blocker.cc.o [ 31%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_acars_decoder.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tag_to_msg.cc.o [ 35%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_time_keeper.cc.o /home/jcardani/gr-baz/lib/baz_time_keeper.cc: In constructor ‘baz_time_keeper::baz_time_keeper(int, int)’: /home/jcardani/gr-baz/lib/baz_time_keeper.cc:66:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, sample_rate); ^ [ 37%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burster.cc.o /home/jcardani/gr-baz/lib/baz_burster.cc: In constructor ‘baz_burster::baz_burster(const baz_burster_config&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:56:199: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d, interval type: %s\n", name().c_str(), unique_id(), config.item_size, config.sample_rate, (d_config.sample_interval ? "samples" : "seconds")); ^ In file included from /usr/include/string.h:32:0, from /usr/include/c++/4.8/cstring:42, from /usr/include/boost/date_time/posix_time/conversion.hpp:12, from /usr/include/boost/thread/xtime.hpp:16, from /usr/include/boost/thread/pthread/mutex.hpp:17, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/thread/pthread/thread_data.hpp:13, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /home/jcardani/gr-baz/lib/baz_burster.h:32, from /home/jcardani/gr-baz/lib/baz_burster.cc:34: /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: invalid access to non-static data member ‘baz_burster::d_dummy_zero_last’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last)
- offsetof(baz_burster,d_dummy_zero_first));
^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous union>::d_dummy_zero_first’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last)
- offsetof(baz_burster,d_dummy_zero_first));
^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous>’ of NULL object [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘void baz_burster::set_burst_length(int)’: /home/jcardani/gr-baz/lib/baz_burster.cc:79:119: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] burst length: %i (%i bytes)\n", name().c_str(), unique_id(), length, d_message_buffer_length); ^ /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘virtual int baz_burster::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:185:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] updated time\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:254:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already in burst #%i\n", name().c_str(), unique_id(), d_burst_count); ^ [ 39%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In constructor ‘baz_radar_detector::baz_radar_detector(int, gr::msg_queue::sptr)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:86:88: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %i\n", name().c_str(), unique_id(), sample_rate); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_threshold(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:105:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] threshold %f\n", name().c_str(), unique_id(), d_threshold); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_pulse_plateau(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:112:93: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] pulse plateau %f\n", name().c_str(), unique_id(), d_pulse_plateau); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘bool baz_radar_detector::set_param(const string&, float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:117:113: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] setting parameter "%s" to: %f\n", name().c_str(), unique_id(), param.c_str(), value); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::skip(int)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:140:73: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] skip %i\n", name().c_str(), unique_id(), skip); ^ [ 41%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_fastrak_decoder.cc.o /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In constructor ‘baz_fastrak_decoder::baz_fastrak_decoder(int)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:73:122: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %d, oversampling: %d\n", name().c_str(), unique_id(), sample_rate, d_oversampling); ^ /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In member function ‘void baz_fastrak_decoder::set_sync_threshold(float)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:87:117: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sync threshold: %f (was: %f)\n", name().c_str(), unique_id(), threshold, d_sync_threshold); ^ [ 43%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_overlap.cc.o /home/jcardani/gr-baz/lib/baz_overlap.cc: In constructor ‘baz_overlap::baz_overlap(int, int, int, int)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:83:150: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, vlen: %d, overlap: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, vlen, overlap, samp_rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc:84:74: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] rate: %f\n", name().c_str(), unique_id(), rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc: In member function ‘virtual int baz_overlap::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:122:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] not enough for work: noutput_items: %d\n", name().c_str(), unique_id(), noutput_items); ^ [ 45%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_manchester_decode_bb.cc.o /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In constructor ‘baz_manchester_decode_bb::baz_manchester_decode_bb(bool, int, int, bool)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:77:145: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] original: %s, threshold: %d, window: %d\n", name().c_str(), unique_id(), (original ? "yes" : "no"), threshold, window); ^ /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In member function ‘virtual int baz_manchester_decode_bb::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:173:92: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] violation threshold exceeded\n", name().c_str(), unique_id()); ^ [ 47%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_sweep.cc.o /home/jcardani/gr-baz/lib/baz_sweep.cc: In constructor ‘baz_sweep::baz_sweep(float, float, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:86:169: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %f, default sweep rate: %f, is duration: %s\n", name().c_str(), unique_id(), samp_rate, sweep_rate, (is_duration ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘void baz_sweep::sweep(float, float, bool, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:112:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:118:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already at %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep already in progress (to %f at %f while asking for %s at %s\n", name().c_str(), unique_id(), d_target, d_sweep_rate, freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:133:79: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] jumped to %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:153:136: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] waiting for sweep to %f at %f (starting at %lld)\n", name().c_str(), unique_id(), freq, rate, d_start_sample); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:157:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] completed sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘virtual int baz_sweep::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:188:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep complete in work\n", name().c_str(), unique_id()); ^ [ 49%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_merge.cc.o /home/jcardani/gr-baz/lib/baz_merge.cc: In constructor ‘baz_merge::baz_merge(int, float, int, bool, const char*, const char*)’: /home/jcardani/gr-baz/lib/baz_merge.cc:90:220: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %f, additional streams: %d: length tag: '%s', ignore tag: '%s'\n", name().c_str(), unique_id(), item_size, samp_rate, additional_streams, length_tag, ignore_tag); ^ /home/jcardani/gr-baz/lib/baz_merge.cc: In member function ‘virtual int baz_merge::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_merge.cc:195:131: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] no samples for burst %llu on sample %llu\n", name().c_str(), unique_id(), d_total_burst_count, nread); ^ /home/jcardani/gr-baz/lib/baz_merge.cc:274:236: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning burst %llu of length %d at sample %llu on input %d (ignoring: %s)\n", name().c_str(), unique_id(), d_total_burst_count, d_items_to_copy, nread, d_selected_input, (d_ignore_current ? "yes" : "no")); ^ [ 50%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_sink.cc.o [ 52%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_source.cc.o /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In constructor ‘baz_tcp_source::baz_tcp_source(size_t, const char*, short unsigned int, int, bool)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:181:185: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, host: %s, port: %hu, buffer size: %d, verbose: %s\n", name().c_str(), unique_id(), itemsize, host, port, buffer_size, (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In member function ‘virtual int baz_tcp_source::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:476:110: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] accepted connection (socket: %d)\n", name().c_str(), unique_id(), d_client_socket); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc:541:100: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] recv returned 0 - disconnecting client\n", name().c_str(), unique_id()); ^ [ 54%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_auto_ber_bf.cc.o [ 56%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_peak_detector.cc.o /home/jcardani/gr-baz/lib/baz_peak_detector.cc: In constructor ‘baz_peak_detector::baz_peak_detector(float, int, int, float, float, int)’: /home/jcardani/gr-baz/lib/baz_peak_detector.cc:86:188: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] min diff: %f, min len: %d, lockout: %d, drop: %f, alpha: %f, look ahead: %d\n", name().c_str(), unique_id(), min_diff, min_len, lockout, drop, alpha, look_ahead); ^ [ 58%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_tagger_impl.cc.o /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In constructor ‘gr::baz::burst_tagger_impl::burst_tagger_impl(const string&, float, unsigned int, unsigned int, bool, bool)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:56:250: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "<%s[%d]> tag name: %s, multiplier: %f, tag front: %d, tag rear: %d, drop residue: %s, verbose: %s\n", name().c_str(), unique_id(), tag_name.c_str(), mult, pad_front, pad_rear, (drop_residue ? "yes" : "no"), (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In member function ‘virtual int gr::baz::burst_tagger_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:284:170: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vectorgr::tag_t::size_type {aka unsigned int}’ [-Wformat=] fprintf(stderr, "[%llu] ! Encountered %lu tags during burst #%llu (work started reading at: %llu, copying: %d)\n", d_work_count, all_tags.size(), d_count, nread, cpy); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:338:126: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] if (d_verbose) fprintf(stderr, "Copied %lu items outside burst (after #%llu, work with no tags)\n", noutput_items, d_count); ^ [ 60%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_buffer.cc.o /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In constructor ‘baz_burst_buffer::baz_burst_buffer(size_t, int, bool)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:62:83: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d\n", name().c_str(), unique_id(), itemsize); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘void baz_burst_buffer::reallocate_buffer()’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:100:97: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] buffer now: %d samples\n", name().c_str(), unique_id(), d_buffer_size); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘virtual int baz_burst_buffer::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:143:108: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Outputting buffer (%d samples)\n", name().c_str(), unique_id(), d_sample_count); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:153:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:164:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:182:142: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Starting flush at head of work (noutput_items: %d)\n", name().c_str(), unique_id(), noutput_items); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:192:153: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Finishing flush in work (noutput_items: %d, to_go: %d)\n", name().c_str(), unique_id(), noutput_items, to_go); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:271:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Already in burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:275:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:286:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:296:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Not in a burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:304:77: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Unexpected tag!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:322:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Invalid state!\n", name().c_str(), unique_id()); ^ [ 62%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc: In member function ‘virtual int gr::baz::additive_scrambler_bb_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:17: error: ‘stderr’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:58: error: ‘fprintf’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $
 
            Hi Matt,
Thanks for the quick reply.
Just added this and it looks like it compiled! Thanks!
Do I need to do anything special with the second part - compiling gr-op25 before I go any further?
thanks
On Nov 17, 2015, at 9:22 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe,
Can you open up the file "baz_additive_scrambler_bb.cc" in the source tree and add "#include <stdio.h>" at the top?
Cheers, Matt
On 18 November 2015 at 13:12, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Balint,
It blew up when I tried to compile the new blocks. Here’s a copy of the terminal window.
Thanks!
jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: DIGITAL -- checking for module 'gnuradio-digital' -- found gnuradio-digital, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_DIGITAL: /home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_DIGITAL_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found UHD: /home/jcardani/target/lib/libuhd.so -- UHD found - compiling UHD-aware blocks -- checking for module 'libusb-1.0' -- found libusb-1.0, version 1.0.17 -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/i386-linux-gnu/libusb-1.0.so http://libusb-1.0.so/ -- libusb found - compiling RTL2832U source block -- Could NOT find Armadillo (missing: ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR) -- Armadillo NOT found! NOT compiling MUSIC DOA estimator block -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include boost/thread/xtime.hpp -- Looking for C++ include boost/thread/xtime.hpp - found -- Looking for CLOCK_MONOTONIC -- Looking for CLOCK_MONOTONIC - found -- Looking for boost::xtime_get -- Looking for boost::xtime_get - found -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so http://libpython2.7.so/ (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/jcardani/gr-baz/build jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ make Scanning dependencies of target gnuradio-baz [ 1%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o [ 3%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_unpacked_to_packed_bb.cc.o [ 5%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_pow_cc.cc.o [ 7%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_delay.cc.o /home/jcardani/gr-baz/lib/baz_delay.cc: In constructor ‘baz_delay::baz_delay(size_t, int)’: /home/jcardani/gr-baz/lib/baz_delay.cc:53:101: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, delay: %d\n", name().c_str(), unique_id(), itemsize, delay); ^ [ 9%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_puncture_bb.cc.o [ 11%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_depuncture_ff.cc.o [ 13%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_swap_ff.cc.o [ 15%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_agc_cc.cc.o [ 17%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_test_counter_cc.cc.o [ 19%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_source.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_sink.cc.o [ 23%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_callback.cc.o [ 25%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_mux.cc.o /home/jcardani/gr-baz/lib/baz_native_mux.cc: In member function ‘virtual int baz_native_mux::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Late %d (processed: %d, next time: %d)\n", name().c_str(), ((int)d_samples_processed - (int)next_time), d_samples_processed, next_time); ^ /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 27%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_block_status.cc.o /home/jcardani/gr-baz/lib/baz_block_status.cc: In constructor ‘baz_block_status::baz_block_status(int, gr::msg_queue::sptr, long unsigned int, long unsigned int)’: /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Size: %d, work iterations: %d, samples processed: %d\n", name().c_str(), size, work_iterations, samples_processed); ^ /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 29%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_non_blocker.cc.o [ 31%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_acars_decoder.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tag_to_msg.cc.o [ 35%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_time_keeper.cc.o /home/jcardani/gr-baz/lib/baz_time_keeper.cc: In constructor ‘baz_time_keeper::baz_time_keeper(int, int)’: /home/jcardani/gr-baz/lib/baz_time_keeper.cc:66:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, sample_rate); ^ [ 37%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burster.cc.o /home/jcardani/gr-baz/lib/baz_burster.cc: In constructor ‘baz_burster::baz_burster(const baz_burster_config&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:56:199: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d, interval type: %s\n", name().c_str(), unique_id(), config.item_size, config.sample_rate, (d_config.sample_interval ? "samples" : "seconds")); ^ In file included from /usr/include/string.h:32:0, from /usr/include/c++/4.8/cstring:42, from /usr/include/boost/date_time/posix_time/conversion.hpp:12, from /usr/include/boost/thread/xtime.hpp:16, from /usr/include/boost/thread/pthread/mutex.hpp:17, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/thread/pthread/thread_data.hpp:13, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /home/jcardani/gr-baz/lib/baz_burster.h:32, from /home/jcardani/gr-baz/lib/baz_burster.cc:34: /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: invalid access to non-static data member ‘baz_burster::d_dummy_zero_last’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first)); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous union>::d_dummy_zero_first’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first)); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous>’ of NULL object [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘void baz_burster::set_burst_length(int)’: /home/jcardani/gr-baz/lib/baz_burster.cc:79:119: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] burst length: %i (%i bytes)\n", name().c_str(), unique_id(), length, d_message_buffer_length); ^ /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘virtual int baz_burster::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:185:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] updated time\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:254:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already in burst #%i\n", name().c_str(), unique_id(), d_burst_count); ^ [ 39%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In constructor ‘baz_radar_detector::baz_radar_detector(int, gr::msg_queue::sptr)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:86:88: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %i\n", name().c_str(), unique_id(), sample_rate); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_threshold(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:105:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] threshold %f\n", name().c_str(), unique_id(), d_threshold); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_pulse_plateau(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:112:93: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] pulse plateau %f\n", name().c_str(), unique_id(), d_pulse_plateau); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘bool baz_radar_detector::set_param(const string&, float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:117:113: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] setting parameter "%s" to: %f\n", name().c_str(), unique_id(), param.c_str(), value); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::skip(int)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:140:73: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] skip %i\n", name().c_str(), unique_id(), skip); ^ [ 41%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_fastrak_decoder.cc.o /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In constructor ‘baz_fastrak_decoder::baz_fastrak_decoder(int)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:73:122: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %d, oversampling: %d\n", name().c_str(), unique_id(), sample_rate, d_oversampling); ^ /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In member function ‘void baz_fastrak_decoder::set_sync_threshold(float)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:87:117: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sync threshold: %f (was: %f)\n", name().c_str(), unique_id(), threshold, d_sync_threshold); ^ [ 43%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_overlap.cc.o /home/jcardani/gr-baz/lib/baz_overlap.cc: In constructor ‘baz_overlap::baz_overlap(int, int, int, int)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:83:150: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, vlen: %d, overlap: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, vlen, overlap, samp_rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc:84:74: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] rate: %f\n", name().c_str(), unique_id(), rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc: In member function ‘virtual int baz_overlap::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:122:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] not enough for work: noutput_items: %d\n", name().c_str(), unique_id(), noutput_items); ^ [ 45%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_manchester_decode_bb.cc.o /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In constructor ‘baz_manchester_decode_bb::baz_manchester_decode_bb(bool, int, int, bool)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:77:145: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] original: %s, threshold: %d, window: %d\n", name().c_str(), unique_id(), (original ? "yes" : "no"), threshold, window); ^ /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In member function ‘virtual int baz_manchester_decode_bb::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:173:92: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] violation threshold exceeded\n", name().c_str(), unique_id()); ^ [ 47%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_sweep.cc.o /home/jcardani/gr-baz/lib/baz_sweep.cc: In constructor ‘baz_sweep::baz_sweep(float, float, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:86:169: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %f, default sweep rate: %f, is duration: %s\n", name().c_str(), unique_id(), samp_rate, sweep_rate, (is_duration ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘void baz_sweep::sweep(float, float, bool, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:112:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:118:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already at %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep already in progress (to %f at %f while asking for %s at %s\n", name().c_str(), unique_id(), d_target, d_sweep_rate, freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:133:79: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] jumped to %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:153:136: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] waiting for sweep to %f at %f (starting at %lld)\n", name().c_str(), unique_id(), freq, rate, d_start_sample); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:157:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] completed sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘virtual int baz_sweep::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:188:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep complete in work\n", name().c_str(), unique_id()); ^ [ 49%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_merge.cc.o /home/jcardani/gr-baz/lib/baz_merge.cc: In constructor ‘baz_merge::baz_merge(int, float, int, bool, const char*, const char*)’: /home/jcardani/gr-baz/lib/baz_merge.cc:90:220: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %f, additional streams: %d: length tag: '%s', ignore tag: '%s'\n", name().c_str(), unique_id(), item_size, samp_rate, additional_streams, length_tag, ignore_tag); ^ /home/jcardani/gr-baz/lib/baz_merge.cc: In member function ‘virtual int baz_merge::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_merge.cc:195:131: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] no samples for burst %llu on sample %llu\n", name().c_str(), unique_id(), d_total_burst_count, nread); ^ /home/jcardani/gr-baz/lib/baz_merge.cc:274:236: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning burst %llu of length %d at sample %llu on input %d (ignoring: %s)\n", name().c_str(), unique_id(), d_total_burst_count, d_items_to_copy, nread, d_selected_input, (d_ignore_current ? "yes" : "no")); ^ [ 50%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_sink.cc.o [ 52%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_source.cc.o /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In constructor ‘baz_tcp_source::baz_tcp_source(size_t, const char*, short unsigned int, int, bool)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:181:185: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, host: %s, port: %hu, buffer size: %d, verbose: %s\n", name().c_str(), unique_id(), itemsize, host, port, buffer_size, (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In member function ‘virtual int baz_tcp_source::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:476:110: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] accepted connection (socket: %d)\n", name().c_str(), unique_id(), d_client_socket); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc:541:100: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] recv returned 0 - disconnecting client\n", name().c_str(), unique_id()); ^ [ 54%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_auto_ber_bf.cc.o [ 56%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_peak_detector.cc.o /home/jcardani/gr-baz/lib/baz_peak_detector.cc: In constructor ‘baz_peak_detector::baz_peak_detector(float, int, int, float, float, int)’: /home/jcardani/gr-baz/lib/baz_peak_detector.cc:86:188: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] min diff: %f, min len: %d, lockout: %d, drop: %f, alpha: %f, look ahead: %d\n", name().c_str(), unique_id(), min_diff, min_len, lockout, drop, alpha, look_ahead); ^ [ 58%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_tagger_impl.cc.o /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In constructor ‘gr::baz::burst_tagger_impl::burst_tagger_impl(const string&, float, unsigned int, unsigned int, bool, bool)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:56:250: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "<%s[%d]> tag name: %s, multiplier: %f, tag front: %d, tag rear: %d, drop residue: %s, verbose: %s\n", name().c_str(), unique_id(), tag_name.c_str(), mult, pad_front, pad_rear, (drop_residue ? "yes" : "no"), (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In member function ‘virtual int gr::baz::burst_tagger_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:284:170: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vectorgr::tag_t::size_type {aka unsigned int}’ [-Wformat=] fprintf(stderr, "[%llu] ! Encountered %lu tags during burst #%llu (work started reading at: %llu, copying: %d)\n", d_work_count, all_tags.size(), d_count, nread, cpy); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:338:126: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] if (d_verbose) fprintf(stderr, "Copied %lu items outside burst (after #%llu, work with no tags)\n", noutput_items, d_count); ^ [ 60%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_buffer.cc.o /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In constructor ‘baz_burst_buffer::baz_burst_buffer(size_t, int, bool)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:62:83: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d\n", name().c_str(), unique_id(), itemsize); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘void baz_burst_buffer::reallocate_buffer()’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:100:97: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] buffer now: %d samples\n", name().c_str(), unique_id(), d_buffer_size); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘virtual int baz_burst_buffer::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:143:108: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Outputting buffer (%d samples)\n", name().c_str(), unique_id(), d_sample_count); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:153:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:164:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:182:142: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Starting flush at head of work (noutput_items: %d)\n", name().c_str(), unique_id(), noutput_items); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:192:153: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Finishing flush in work (noutput_items: %d, to_go: %d)\n", name().c_str(), unique_id(), noutput_items, to_go); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:271:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Already in burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:275:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:286:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:296:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Not in a burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:304:77: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Unexpected tag!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:322:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Invalid state!\n", name().c_str(), unique_id()); ^ [ 62%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc: In member function ‘virtual int gr::baz::additive_scrambler_bb_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:17: error: ‘stderr’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:58: error: ‘fprintf’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $
 
            It should be fine - give it a shot and see what happens :)
Cheers, Matt
On 18 November 2015 at 13:30, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Matt,
Thanks for the quick reply.
Just added this and it looks like it compiled! Thanks!
Do I need to do anything special with the second part - compiling gr-op25 before I go any further?
thanks
On Nov 17, 2015, at 9:22 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
Hi Joe,
Can you open up the file "baz_additive_scrambler_bb.cc" in the source tree and add "#include <stdio.h>" at the top?
Cheers, Matt
On 18 November 2015 at 13:12, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Balint,
It blew up when I tried to compile the new blocks. Here’s a copy of the terminal window.
Thanks!
jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: DIGITAL -- checking for module 'gnuradio-digital' -- found gnuradio-digital, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_DIGITAL: /home/jcardani/target/lib/libgnuradio-digital.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_DIGITAL_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE -- Found UHD: /home/jcardani/target/lib/libuhd.so -- UHD found - compiling UHD-aware blocks -- checking for module 'libusb-1.0' -- found libusb-1.0, version 1.0.17 -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/i386-linux-gnu/ libusb-1.0.so -- libusb found - compiling RTL2832U source block -- Could NOT find Armadillo (missing: ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR) -- Armadillo NOT found! NOT compiling MUSIC DOA estimator block -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for C++ include boost/thread/xtime.hpp -- Looking for C++ include boost/thread/xtime.hpp - found -- Looking for CLOCK_MONOTONIC -- Looking for CLOCK_MONOTONIC - found -- Looking for boost::xtime_get -- Looking for boost::xtime_get - found -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/jcardani/gr-baz/build jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $ make Scanning dependencies of target gnuradio-baz [ 1%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o [ 3%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_unpacked_to_packed_bb.cc.o [ 5%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_pow_cc.cc.o [ 7%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_delay.cc.o /home/jcardani/gr-baz/lib/baz_delay.cc: In constructor ‘baz_delay::baz_delay(size_t, int)’: /home/jcardani/gr-baz/lib/baz_delay.cc:53:101: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, delay: %d\n", name().c_str(), unique_id(), itemsize, delay); ^ [ 9%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_puncture_bb.cc.o [ 11%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_depuncture_ff.cc.o [ 13%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_swap_ff.cc.o [ 15%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_agc_cc.cc.o [ 17%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_test_counter_cc.cc.o [ 19%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_source.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_udp_sink.cc.o [ 23%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_callback.cc.o [ 25%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_native_mux.cc.o /home/jcardani/gr-baz/lib/baz_native_mux.cc: In member function ‘virtual int baz_native_mux::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Late %d (processed: %d, next time: %d)\n", name().c_str(), ((int)d_samples_processed - (int)next_time), d_samples_processed, next_time); ^ /home/jcardani/gr-baz/lib/baz_native_mux.cc:134:165: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 27%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_block_status.cc.o /home/jcardani/gr-baz/lib/baz_block_status.cc: In constructor ‘baz_block_status::baz_block_status(int, gr::msg_queue::sptr, long unsigned int, long unsigned int)’: /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] fprintf(stderr, "[%s] Size: %d, work iterations: %d, samples processed: %d\n", name().c_str(), size, work_iterations, samples_processed); ^ /home/jcardani/gr-baz/lib/baz_block_status.cc:75:138: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=] [ 29%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_non_blocker.cc.o [ 31%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_acars_decoder.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tag_to_msg.cc.o [ 35%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_time_keeper.cc.o /home/jcardani/gr-baz/lib/baz_time_keeper.cc: In constructor ‘baz_time_keeper::baz_time_keeper(int, int)’: /home/jcardani/gr-baz/lib/baz_time_keeper.cc:66:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, sample_rate); ^ [ 37%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burster.cc.o /home/jcardani/gr-baz/lib/baz_burster.cc: In constructor ‘baz_burster::baz_burster(const baz_burster_config&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:56:199: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %d, interval type: %s\n", name().c_str(), unique_id(), config.item_size, config.sample_rate, (d_config.sample_interval ? "samples" : "seconds")); ^ In file included from /usr/include/string.h:32:0, from /usr/include/c++/4.8/cstring:42, from /usr/include/boost/date_time/posix_time/conversion.hpp:12, from /usr/include/boost/thread/xtime.hpp:16, from /usr/include/boost/thread/pthread/mutex.hpp:17, from /usr/include/boost/thread/mutex.hpp:16, from /usr/include/boost/thread/pthread/thread_data.hpp:13, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /home/jcardani/gr-baz/lib/baz_burster.h:32, from /home/jcardani/gr-baz/lib/baz_burster.cc:34: /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: invalid access to non-static data member ‘baz_burster::d_dummy_zero_last’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last)
- offsetof(baz_burster,d_dummy_zero_first));
^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:57: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous union>::d_dummy_zero_first’ of NULL object [-Winvalid-offsetof] memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last)
- offsetof(baz_burster,d_dummy_zero_first));
^ /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous>’ of NULL object [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘void baz_burster::set_burst_length(int)’: /home/jcardani/gr-baz/lib/baz_burster.cc:79:119: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] burst length: %i (%i bytes)\n", name().c_str(), unique_id(), length, d_message_buffer_length); ^ /home/jcardani/gr-baz/lib/baz_burster.cc: In member function ‘virtual int baz_burster::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burster.cc:185:71: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] updated time\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burster.cc:254:94: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already in burst #%i\n", name().c_str(), unique_id(), d_burst_count); ^ [ 39%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In constructor ‘baz_radar_detector::baz_radar_detector(int, gr::msg_queue::sptr)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:86:88: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %i\n", name().c_str(), unique_id(), sample_rate); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_threshold(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:105:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] threshold %f\n", name().c_str(), unique_id(), d_threshold); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::set_pulse_plateau(float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:112:93: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] pulse plateau %f\n", name().c_str(), unique_id(), d_pulse_plateau); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘bool baz_radar_detector::set_param(const string&, float)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:117:113: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] setting parameter "%s" to: %f\n", name().c_str(), unique_id(), param.c_str(), value); ^ /home/jcardani/gr-baz/lib/baz_radar_detector.cc: In member function ‘void baz_radar_detector::skip(int)’: /home/jcardani/gr-baz/lib/baz_radar_detector.cc:140:73: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] skip %i\n", name().c_str(), unique_id(), skip); ^ [ 41%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_fastrak_decoder.cc.o /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In constructor ‘baz_fastrak_decoder::baz_fastrak_decoder(int)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:73:122: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %d, oversampling: %d\n", name().c_str(), unique_id(), sample_rate, d_oversampling); ^ /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc: In member function ‘void baz_fastrak_decoder::set_sync_threshold(float)’: /home/jcardani/gr-baz/lib/baz_fastrak_decoder.cc:87:117: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sync threshold: %f (was: %f)\n", name().c_str(), unique_id(), threshold, d_sync_threshold); ^ [ 43%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_overlap.cc.o /home/jcardani/gr-baz/lib/baz_overlap.cc: In constructor ‘baz_overlap::baz_overlap(int, int, int, int)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:83:150: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, vlen: %d, overlap: %d, sample rate: %d\n", name().c_str(), unique_id(), item_size, vlen, overlap, samp_rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc:84:74: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] rate: %f\n", name().c_str(), unique_id(), rate); ^ /home/jcardani/gr-baz/lib/baz_overlap.cc: In member function ‘virtual int baz_overlap::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_overlap.cc:122:114: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] not enough for work: noutput_items: %d\n", name().c_str(), unique_id(), noutput_items); ^ [ 45%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_manchester_decode_bb.cc.o /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In constructor ‘baz_manchester_decode_bb::baz_manchester_decode_bb(bool, int, int, bool)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:77:145: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] original: %s, threshold: %d, window: %d\n", name().c_str(), unique_id(), (original ? "yes" : "no"), threshold, window); ^ /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc: In member function ‘virtual int baz_manchester_decode_bb::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_manchester_decode_bb.cc:173:92: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] violation threshold exceeded\n", name().c_str(), unique_id()); ^ [ 47%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_sweep.cc.o /home/jcardani/gr-baz/lib/baz_sweep.cc: In constructor ‘baz_sweep::baz_sweep(float, float, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:86:169: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sample rate: %f, default sweep rate: %f, is duration: %s\n", name().c_str(), unique_id(), samp_rate, sweep_rate, (is_duration ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘void baz_sweep::sweep(float, float, bool, bool)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:112:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:118:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] already at %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep already in progress (to %f at %f while asking for %s at %s\n", name().c_str(), unique_id(), d_target, d_sweep_rate, freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 7 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:124:161: warning: format ‘%s’ expects argument of type ‘char*’, but argument 8 has type ‘double’ [-Wformat=] /home/jcardani/gr-baz/lib/baz_sweep.cc:133:79: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] jumped to %f\n", name().c_str(), unique_id(), freq); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:153:136: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] waiting for sweep to %f at %f (starting at %lld)\n", name().c_str(), unique_id(), freq, rate, d_start_sample); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc:157:99: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] completed sweep to %f at %f\n", name().c_str(), unique_id(), freq, rate); ^ /home/jcardani/gr-baz/lib/baz_sweep.cc: In member function ‘virtual int baz_sweep::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_sweep.cc:188:85: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] sweep complete in work\n", name().c_str(), unique_id()); ^ [ 49%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_merge.cc.o /home/jcardani/gr-baz/lib/baz_merge.cc: In constructor ‘baz_merge::baz_merge(int, float, int, bool, const char*, const char*)’: /home/jcardani/gr-baz/lib/baz_merge.cc:90:220: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, sample rate: %f, additional streams: %d: length tag: '%s', ignore tag: '%s'\n", name().c_str(), unique_id(), item_size, samp_rate, additional_streams, length_tag, ignore_tag); ^ /home/jcardani/gr-baz/lib/baz_merge.cc: In member function ‘virtual int baz_merge::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_merge.cc:195:131: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] no samples for burst %llu on sample %llu\n", name().c_str(), unique_id(), d_total_burst_count, nread); ^ /home/jcardani/gr-baz/lib/baz_merge.cc:274:236: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] beginning burst %llu of length %d at sample %llu on input %d (ignoring: %s)\n", name().c_str(), unique_id(), d_total_burst_count, d_items_to_copy, nread, d_selected_input, (d_ignore_current ? "yes" : "no")); ^ [ 50%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_sink.cc.o [ 52%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_tcp_source.cc.o /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In constructor ‘baz_tcp_source::baz_tcp_source(size_t, const char*, short unsigned int, int, bool)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:181:185: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d, host: %s, port: %hu, buffer size: %d, verbose: %s\n", name().c_str(), unique_id(), itemsize, host, port, buffer_size, (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc: In member function ‘virtual int baz_tcp_source::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_tcp_source.cc:476:110: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] accepted connection (socket: %d)\n", name().c_str(), unique_id(), d_client_socket); ^ /home/jcardani/gr-baz/lib/baz_tcp_source.cc:541:100: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] recv returned 0 - disconnecting client\n", name().c_str(), unique_id()); ^ [ 54%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_auto_ber_bf.cc.o [ 56%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_peak_detector.cc.o /home/jcardani/gr-baz/lib/baz_peak_detector.cc: In constructor ‘baz_peak_detector::baz_peak_detector(float, int, int, float, float, int)’: /home/jcardani/gr-baz/lib/baz_peak_detector.cc:86:188: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] min diff: %f, min len: %d, lockout: %d, drop: %f, alpha: %f, look ahead: %d\n", name().c_str(), unique_id(), min_diff, min_len, lockout, drop, alpha, look_ahead); ^ [ 58%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_tagger_impl.cc.o /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In constructor ‘gr::baz::burst_tagger_impl::burst_tagger_impl(const string&, float, unsigned int, unsigned int, bool, bool)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:56:250: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "<%s[%d]> tag name: %s, multiplier: %f, tag front: %d, tag rear: %d, drop residue: %s, verbose: %s\n", name().c_str(), unique_id(), tag_name.c_str(), mult, pad_front, pad_rear, (drop_residue ? "yes" : "no"), (verbose ? "yes" : "no")); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc: In member function ‘virtual int gr::baz::burst_tagger_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:284:170: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘std::vectorgr::tag_t::size_type {aka unsigned int}’ [-Wformat=] fprintf(stderr, "[%llu] ! Encountered %lu tags during burst #%llu (work started reading at: %llu, copying: %d)\n", d_work_count, all_tags.size(), d_count, nread, cpy); ^ /home/jcardani/gr-baz/lib/baz_burst_tagger_impl.cc:338:126: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] if (d_verbose) fprintf(stderr, "Copied %lu items outside burst (after #%llu, work with no tags)\n", noutput_items, d_count); ^ [ 60%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burst_buffer.cc.o /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In constructor ‘baz_burst_buffer::baz_burst_buffer(size_t, int, bool)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:62:83: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] item size: %d\n", name().c_str(), unique_id(), itemsize); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘void baz_burst_buffer::reallocate_buffer()’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:100:97: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] buffer now: %d samples\n", name().c_str(), unique_id(), d_buffer_size); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc: In member function ‘virtual int baz_burst_buffer::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:143:108: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Outputting buffer (%d samples)\n", name().c_str(), unique_id(), d_sample_count); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:153:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:164:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Adding EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:182:142: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Starting flush at head of work (noutput_items: %d)\n", name().c_str(), unique_id(), noutput_items); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:192:153: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Finishing flush in work (noutput_items: %d, to_go: %d)\n", name().c_str(), unique_id(), noutput_items, to_go); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:271:80: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Already in burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:275:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found SOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:286:87: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] if (d_verbose) fprintf(stderr, "[%s<%i>] Found EOB\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:296:78: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Not in a burst!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:304:77: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Unexpected tag!\n", name().c_str(), unique_id()); ^ /home/jcardani/gr-baz/lib/baz_burst_buffer.cc:322:75: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] fprintf(stderr, "[%s<%i>] Invalid state!\n", name().c_str(), unique_id()); ^ [ 62%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc: In member function ‘virtual int gr::baz::additive_scrambler_bb_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:17: error: ‘stderr’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ /home/jcardani/gr-baz/lib/baz_additive_scrambler_bb.cc:244:58: error: ‘fprintf’ was not declared in this scope fprintf(stderr, "Resetting LFSR at index %d\n", i); ^ make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_additive_scrambler_bb.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/gr-baz/build $
 
            Hi Matt,
Got errors on make ..
Hope an easy fix. Here’s a copy of the terminal window:
jcardani@jcardani-ThinkCentre-XXXX ~ $ mkdir op25test jcardani@jcardani-ThinkCentre-XXXX ~ $ cd op25test jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ git clone git://github.com/balint256/op25.git git://github.com/balint256/op25.git Cloning into 'op25'... remote: Counting objects: 620, done. remote: Compressing objects: 100% (280/280), done. remote: Total 620 (delta 302), reused 620 (delta 302), pack-reused 0 Receiving objects: 100% (620/620), 420.78 KiB | 0 bytes/s, done. Resolving deltas: 100% (302/302), done. Checking connectivity... done. jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/i386-linux-gnu/libcppunit.so;dl Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_FILTER: /home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GR_FILTER_LIBRARY linked by target "gnuradio-op25_repeater" in directory /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib
-- Configuring incomplete, errors occurred! See also "/home/jcardani/op25test/op25/build/CMakeFiles/CMakeOutput.log". jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make make: *** No targets specified and no makefile found. Stop. jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $
 
            Hi Matt,
Is there any special place in the makefile this should be? there’s a lot of entries in there.
thanks
On Nov 17, 2015, at 10:18 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe,
From Balint - please open up the makefile and add the variable in manually:
-GR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probably /usr/local/lib/…>
Or you can also install and use cmake-gui to do this change as well..
Cheers, Matt
On 18 November 2015 at 13:58, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Matt,
Got errors on make ..
Hope an easy fix. Here’s a copy of the terminal window:
jcardani@jcardani-ThinkCentre-XXXX ~ $ mkdir op25test jcardani@jcardani-ThinkCentre-XXXX ~ $ cd op25test jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ git clone <>git://github.com/balint256/op25.git git://github.com/balint256/op25.git Cloning into 'op25'... remote: Counting objects: 620, done. remote: Compressing objects: 100% (280/280), done. remote: Total 620 (delta 302), reused 620 (delta 302), pack-reused 0 Receiving objects: 100% (620/620), 420.78 KiB | 0 bytes/s, done. Resolving deltas: 100% (302/302), done. Checking connectivity... done. jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/i386-linux-gnu/libcppunit.so;dl Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_FILTER: /home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so http://libpython2.7.so/ (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GR_FILTER_LIBRARY linked by target "gnuradio-op25_repeater" in directory /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib
-- Configuring incomplete, errors occurred! See also "/home/jcardani/op25test/op25/build/CMakeFiles/CMakeOutput.log". jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make make: *** No targets specified and no makefile found. Stop. jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $
 
            Apologies Joe,
I minced the words - my bad. from the command line, run "cmake -DGR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probs /usr/local/lib/…>" this will update the config files for you. You can find the path to libgnuradio-filter.so by using the locate command.
I've been using Cmake-gui to do this for me...
Cheers, Matt
On 18 November 2015 at 14:33, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Matt,
Is there any special place in the makefile this should be? there’s a lot of entries in there.
thanks
On Nov 17, 2015, at 10:18 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe,
From Balint - please open up the makefile and add the variable in manually:
-GR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probably /usr/local/lib/…>
Or you can also install and use cmake-gui to do this change as well..
Cheers, Matt
On 18 November 2015 at 13:58, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Matt,
Got errors on make ..
Hope an easy fix. Here’s a copy of the terminal window:
jcardani@jcardani-ThinkCentre-XXXX ~ $ mkdir op25test jcardani@jcardani-ThinkCentre-XXXX ~ $ cd op25test jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ git clone git://github.com/balint256/op25.git Cloning into 'op25'... remote: Counting objects: 620, done. remote: Compressing objects: 100% (280/280), done. remote: Total 620 (delta 302), reused 620 (delta 302), pack-reused 0 Receiving objects: 100% (620/620), 420.78 KiB | 0 bytes/s, done. Resolving deltas: 100% (302/302), done. Checking connectivity... done. jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/i386-linux-gnu/libcppunit.so;dl Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_FILTER: /home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GR_FILTER_LIBRARY linked by target "gnuradio-op25_repeater" in directory /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib
-- Configuring incomplete, errors occurred! See also "/home/jcardani/op25test/op25/build/CMakeFiles/CMakeOutput.log". jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make make: *** No targets specified and no makefile found. Stop. jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $
 
            Hi Matt,
I am getting a syntax error.
By doing a search that file is in the path /home/jcardani/pybombs/src/gnuradio/build/gr-filter/lib
The command I used was:
cmake -DGR_FILTER_LIBRARY=</home/jcardani/pybombs/src/gnuradio/build/gr-filter/lib>
Is this correct?
thanks and sorry to be a pest.
Joe
On Nov 17, 2015, at 10:50 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Apologies Joe,
I minced the words - my bad. from the command line, run "cmake -DGR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probs /usr/local/lib/…>" this will update the config files for you. You can find the path to libgnuradio-filter.so by using the locate command.
I've been using Cmake-gui to do this for me...
Cheers, Matt
On 18 November 2015 at 14:33, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Matt,
Is there any special place in the makefile this should be? there’s a lot of entries in there.
thanks
On Nov 17, 2015, at 10:18 PM, Matt Ames matt.ames7bc@gmail.com mailto:matt.ames7bc@gmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Joe,
From Balint - please open up the makefile and add the variable in manually:
-GR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probably /usr/local/lib/…>
Or you can also install and use cmake-gui to do this change as well..
Cheers, Matt
On 18 November 2015 at 13:58, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Matt,
Got errors on make ..
Hope an easy fix. Here’s a copy of the terminal window:
jcardani@jcardani-ThinkCentre-XXXX ~ $ mkdir op25test jcardani@jcardani-ThinkCentre-XXXX ~ $ cd op25test jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ git clone <> <>git://github.com/balint256/op25.git git://github.com/balint256/op25.git Cloning into 'op25'... remote: Counting objects: 620, done. remote: Compressing objects: 100% (280/280), done. remote: Total 620 (delta 302), reused 620 (delta 302), pack-reused 0 Receiving objects: 100% (620/620), 420.78 KiB | 0 bytes/s, done. Resolving deltas: 100% (302/302), done. Checking connectivity... done. jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/i386-linux-gnu/libcppunit.so;dl Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_FILTER: /home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
-- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so http://libpython2.7.so/ (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GR_FILTER_LIBRARY linked by target "gnuradio-op25_repeater" in directory /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib
-- Configuring incomplete, errors occurred! See also "/home/jcardani/op25test/op25/build/CMakeFiles/CMakeOutput.log". jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make make: *** No targets specified and no makefile found. Stop. jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $
 
            Did the locate find any other paths for that file? It looks like it is built, but not installed. Did you run "sudo make install" when you installed GNUradio?
Also, remove the < and > from the path in the cmake command.
Cheers, Matt
On 18 November 2015 at 15:00, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Matt,
I am getting a syntax error.
By doing a search that file is in the path /home/jcardani/pybombs/src/gnuradio/build/gr-filter/lib
The command I used was:
cmake -DGR_FILTER_LIBRARY=</home/jcardani/pybombs/src/gnuradio/build/gr-filter/lib>
Is this correct?
thanks and sorry to be a pest.
Joe
On Nov 17, 2015, at 10:50 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Apologies Joe,
I minced the words - my bad. from the command line, run "cmake -DGR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probs /usr/local/lib/…>" this will update the config files for you. You can find the path to libgnuradio-filter.so by using the locate command.
I've been using Cmake-gui to do this for me...
Cheers, Matt
On 18 November 2015 at 14:33, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Matt,
Is there any special place in the makefile this should be? there’s a lot of entries in there.
thanks
On Nov 17, 2015, at 10:18 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe,
From Balint - please open up the makefile and add the variable in manually:
-GR_FILTER_LIBRARY=<path to libgnuradio-filter.so, probably /usr/local/lib/…>
Or you can also install and use cmake-gui to do this change as well..
Cheers, Matt
On 18 November 2015 at 13:58, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Matt,
Got errors on make ..
Hope an easy fix. Here’s a copy of the terminal window:
jcardani@jcardani-ThinkCentre-XXXX ~ $ mkdir op25test jcardani@jcardani-ThinkCentre-XXXX ~ $ cd op25test jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ git clone git://github.com/balint256/op25.git Cloning into 'op25'... remote: Counting objects: 620, done. remote: Compressing objects: 100% (280/280), done. remote: Total 620 (delta 302), reused 620 (delta 302), pack-reused 0 Receiving objects: 100% (620/620), 420.78 KiB | 0 bytes/s, done. Resolving deltas: 100% (302/302), done. Checking connectivity... done. jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/i386-linux-gnu/libcppunit.so;dl Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_FILTER: /home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT
- INCLUDES=/home/jcardani/target/include
LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GR_FILTER_LIBRARY linked by target "gnuradio-op25_repeater" in directory /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib
-- Configuring incomplete, errors occurred! See also "/home/jcardani/op25test/op25/build/CMakeFiles/CMakeOutput.log". jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make make: *** No targets specified and no makefile found. Stop. jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $
 
            OK I figured it out. Needed to do a cmake .. prior to the -DGR_FILTER_LIBRARY= etc etc
It configured correctly but the compile bombed and it looks like similar to the other one. Looks like I need to maybe add another include header somewhere. Here’s the cmake and make output:
thanks!
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ cmake .. -DGR_FILTER_LIBRARY=/home/jcardani/target/lib -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done WARNING: Target "gnuradio-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "test-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "gnuradio-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "_op25_repeater_swig" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/jcardani/pybombs/src/gr-op25test/op25/build jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/fsk4_demod_ff_impl.cc.o [ 2%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/fsk4_slicer_fb_impl.cc.o [ 3%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/decoder_bf_impl.cc.o [ 4%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/decoder_ff_impl.cc.o [ 5%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/abstract_data_unit.cc.o [ 6%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/data_unit.cc.o [ 7%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/hdu.cc.o /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/hdu.cc http://hdu.cc/: In member function ‘virtual void hdu::do_correct_errors(bit_vector&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/hdu.cc http://hdu.cc/:70:35: error: ‘stderr’ was not declared in this scope if (logging_enabled()) fprintf(stderr, "\n"); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/hdu.cc http://hdu.cc/:70:47: error: ‘fprintf’ was not declared in this scope if (logging_enabled()) fprintf(stderr, "\n"); ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/hdu.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Added the #include <stdio> to the header did the trick but there’s other modules coming out after I run make again. Do I have to keep on fixing each one as I go on?
On Nov 17, 2015, at 11:32 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
OK I figured it out. Needed to do a cmake .. prior to the -DGR_FILTER_LIBRARY= etc etc
It configured correctly but the compile bombed and it looks like similar to the other one. Looks like I need to maybe add another include header somewhere. Here’s the cmake and make output:
thanks!
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ cmake .. -DGR_FILTER_LIBRARY=/home/jcardani/target/lib -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT
- INCLUDES=/home/jcardani/target/include
- LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done WARNING: Target "gnuradio-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "test-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "gnuradio-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "_op25_repeater_swig" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/jcardani/pybombs/src/gr-op25test/op25/build jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/fsk4_demod_ff_impl.cc.o [ 2%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/fsk4_slicer_fb_impl.cc.o [ 3%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/decoder_bf_impl.cc.o [ 4%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/decoder_ff_impl.cc.o [ 5%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/abstract_data_unit.cc.o [ 6%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/data_unit.cc.o [ 7%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/hdu.cc.o /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/hdu.cc http://hdu.cc/: In member function ‘virtual void hdu::do_correct_errors(bit_vector&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/hdu.cc http://hdu.cc/:70:35: error: ‘stderr’ was not declared in this scope if (logging_enabled()) fprintf(stderr, "\n"); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/hdu.cc http://hdu.cc/:70:47: error: ‘fprintf’ was not declared in this scope if (logging_enabled()) fprintf(stderr, "\n"); ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/hdu.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Hi Again,
Added a few #include <stdio> worked until the compile bombed on crypto.cc http://crypto.cc/
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Is all the on the git repo so I can just pull the changes that he made!? Would that not be easier for everyone?
-- Mark 'Dygear' Tomlin
On Nov 18, 2015, at 00:03, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Again,
Added a few #include <stdio> worked until the compile bombed on crypto.cc
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Hi Joe, all,
Thanks for testing. I did my dev under OS X, so it appears that it needs some more tweaks for the other platforms/distros.
If anyone wishes to send a pull request, feel free, otherwise I’ll try to compile under Linux and apply the necessary changes as time permits.
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
Is all the on the git repo so I can just pull the changes that he made!? Would that not be easier for everyone?
--
Mark 'Dygear' Tomlin
On Nov 18, 2015, at 00:03, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Again,
Added a few #include <stdio> worked until the compile bombed on crypto.cc
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ : At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/ :232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Thanks Balint! Yes I am using mint Linux. Looks like I have to wait unless I can do this on my Mac but I need instructions to compile gnu radio and all dependencies since I need to start from scratch.
Joe
Sent from my iPhone
On Nov 18, 2015, at 2:18 AM, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe, all,
Thanks for testing. I did my dev under OS X, so it appears that it needs some more tweaks for the other platforms/distros.
If anyone wishes to send a pull request, feel free, otherwise I’ll try to compile under Linux and apply the necessary changes as time permits.
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
Is all the on the git repo so I can just pull the changes that he made!? Would that not be easier for everyone?
--
Mark 'Dygear' Tomlin
On Nov 18, 2015, at 00:03, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Again,
Added a few #include <stdio> worked until the compile bombed on crypto.cc
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Hi All,
Another bright idea here.
Since P25 and DMR is very similar in design what’s the feasibility of either adding DMR functionality to the current OP25 platform or creating a sister “ODMR” project using much of the code from OP25 and open source that’s already on the internet (mostly from the many DSD variants? Credit would be given to all of course.
I won’t be able to do this myself. But if someone with working knowledge of OP25 and a better programmer that I am helps out I think it’s possible. What are your thoughts?
Of course let’s get the latest updates in to OP25 before another project gets started but it would not hurt to plan ahead.
thanks
Joe
 
            Hi Joe,
This is one that's been kicking around since at least the original DSD was anonymously uploaded to RadioReference.com in early 2010. Incidentally, that was around the time that OP25 started to get some notice with our progress and discoveries.
Technically, it's doable. It again comes down to a lack of time and interest from people that are capable of developing the software.
P25 Phase 2, which OP25 supports the decoding of, is essentially a fusion of P25 phase 1 and the ETSI DMR specifications, with the addition of the AMBE2+ vocoder. A lot of the work is there already, but it's an exercise that is far from simple code-cutting.
I wonk in the SaaS/software development industry, and we have a saying at my work.. "Having the idea counts for 1% - hard work is the other 99% of the solution"
Cheers, Matt
 
            I'm running OSX, so I'll give it a pull.
-- Mark 'Dygear' Tomlin
On Nov 18, 2015, at 02:18, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe, all,
Thanks for testing. I did my dev under OS X, so it appears that it needs some more tweaks for the other platforms/distros.
If anyone wishes to send a pull request, feel free, otherwise I’ll try to compile under Linux and apply the necessary changes as time permits.
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
Is all the on the git repo so I can just pull the changes that he made!? Would that not be easier for everyone?
--
Mark 'Dygear' Tomlin
On Nov 18, 2015, at 00:03, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Again,
Added a few #include <stdio> worked until the compile bombed on crypto.cc
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc:232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Hi All,
How involved would it be to install OP25 and all of it’s dependencies on OS X? I always wanted to have this running on my MAC.
thanks,
Joe
On Nov 18, 2015, at 1:41 PM, Mark Tomlin dygear@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
I'm running OSX, so I'll give it a pull.
-- Mark 'Dygear' Tomlin
On Nov 18, 2015, at 02:18, 'Balint' balint256@hotmail.com mailto:balint256@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Joe, all,
Thanks for testing. I did my dev under OS X, so it appears that it needs some more tweaks for the other platforms/distros.
If anyone wishes to send a pull request, feel free, otherwise I’ll try to compile under Linux and apply the necessary changes as time permits.
Balint
From: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
Is all the on the git repo so I can just pull the changes that he made!? Would that not be easier for everyone?
--
Mark 'Dygear' Tomlin
On Nov 18, 2015, at 00:03, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi Again,
Added a few #include <stdio> worked until the compile bombed on crypto.cc http://crypto.cc/
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Hi all,
I have pushed changes to both op25 and gr-baz so they compile under Linux, and added the new GRC flowgraph (gr-baz/samples/OP25.grc).
Please give it a go if you wish…
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Wednesday, 18 November 2015 4:20 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
Hi All,
How involved would it be to install OP25 and all of it’s dependencies on OS X? I always wanted to have this running on my MAC.
thanks,
Joe
On Nov 18, 2015, at 1:41 PM, Mark Tomlin dygear@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
I'm running OSX, so I'll give it a pull.
--
Mark 'Dygear' Tomlin
On Nov 18, 2015, at 02:18, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe, all,
Thanks for testing. I did my dev under OS X, so it appears that it needs some more tweaks for the other platforms/distros.
If anyone wishes to send a pull request, feel free, otherwise I’ll try to compile under Linux and apply the necessary changes as time permits.
Balint
From: mailto:op25-dev@yahoogroups.com op25-dev@yahoogroups.com [ mailto:op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: mailto:op25-dev@yahoogroups.com op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
Is all the on the git repo so I can just pull the changes that he made!? Would that not be easier for everyone?
--
Mark 'Dygear' Tomlin
On Nov 18, 2015, at 00:03, Joseph Cardani mailto:jcardani@verizon.net jcardani@verizon.net [op25-dev] < mailto:op25-dev@yahoogroups.com op25-dev@yahoogroups.com> wrote:
Hi Again,
Added a few #include <stdio> worked until the compile bombed on http://crypto.cc/ crypto.cc
Not sure how to fix this code.
Getting late and going to bed now but will continue this tomorrow.
thanks again for your help!
Joe
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o In file included from /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:1:0: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:14: error: ‘uint8_t’ was not declared in this scope std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector<uint8_t> mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:18:5: error: ‘uint16_t’ does not name a type uint16_t kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:19:2: error: ‘uint8_t’ does not name a type uint8_t algid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: In constructor ‘CryptoState::CryptoState()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:2: error: class ‘CryptoState’ does not have any field named ‘kid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:14:10: error: class ‘CryptoState’ does not have any field named ‘algid’ kid(0), algid(0), mi(MESSAGE_INDICATOR_LENGTH) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:22: error: ‘uint8_t’ was not declared in this scope typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 1 is invalid typedef std::vector<uint8_t> key_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:32:29: error: template argument 2 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:19: error: ‘uint16_t’ was not declared in this scope typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 1 is invalid typedef std::map<uint16_t, key_type > key_map_type; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 3 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:33:38: error: template argument 4 is invalid /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:34:10: error: ‘uint8_t’ does not name a type typedef uint8_t type_id; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:41:16: error: ‘type_id’ does not name a type virtual const type_id id() const=0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:45:10: error: ‘uint64_t’ does not name a type virtual uint64_t generate(size_t n_bits)=0; // Can request up to 64 bits of key stream at one time ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:56:61: error: ‘crypto_algorithm::type_id’ has not been declared virtual crypto_algorithm::sptr algorithm(crypto_algorithm::type_id algid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:12:38: error: ‘uint64_t’ was not declared in this scope static unsigned long long swap_bytes(uint64_t l) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:13:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:65:5: error: ‘uint16_t’ does not name a type uint16_t m_current_kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:86:8: error: ‘type_id’ does not name a type const type_id id() const ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:163:14: error: ‘uint64_t’ has not been declared void set_iv(uint64_t iv) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: In constructor ‘des_ofb::des_ofb()’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:71:5: error: class ‘des_ofb’ does not have any field named ‘m_current_kid’ : m_current_kid(-1) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:73:41: error: ‘memset’ was not declared in this scope memset(&m_ksDES, 0, sizeof(m_ksDES)); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: In member function ‘virtual bool des_ofb::update(const CryptoState&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:93:7: error: ‘m_current_kid’ was not declared in this scope if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:93:30: error: ‘const struct CryptoState’ has no member named ‘kid’ if (m_current_kid != state.kid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:95:18: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (m_key_map.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:101:28: error: expected initializer before ‘it’ key_map_type::iterator it = m_key_map.find(state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:102:9: error: ‘it’ was not declared in this scope if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:102:25: error: request for member ‘end’ in ‘((des_ofb*)this)->des_ofb::m_key_map’, which is of non-class type ‘crypto_algorithm::key_map_type {aka int}’ if (it != m_key_map.end()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:106:29: error: request for member ‘empty’ in ‘((des_ofb*)this)->des_ofb::m_default_key’, which is of non-class type ‘crypto_algorithm::key_type {aka int}’ else if (!m_default_key.empty()) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:108:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:108:104: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:108:107: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map - using default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:114:33: error: ‘stderr’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:114:103: error: ‘const struct CryptoState’ has no member named ‘kid’ /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:114:106: error: ‘fprintf’ was not declared in this scope /*if (m_verbose) */fprintf(stderr, "Key 0x%04x not found in key map and no default key\n", state.kid); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:118:26: error: ‘const struct CryptoState’ has no member named ‘kid’ m_current_kid = state.kid; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:121:3: error: ‘uint64_t’ was not declared in this scope uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:121:12: error: expected ‘;’ before ‘iv’ uint64_t iv = 0; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:122:30: error: ‘iv’ was not declared in this scope size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:122:44: error: request for member ‘size’ in ‘state.CryptoState::mi’, which is of non-class type ‘const int’ size_t n = std::min(sizeof(iv), state.mi.size()); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:123:26: error: invalid types ‘const int[int]’ for array subscript memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:123:30: error: ‘memcpy’ was not declared in this scope memcpy(&iv, &state.mi[0], n); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: In member function ‘virtual void des_ofb::set_key_map(const key_map_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:133:3: error: ‘m_current_kid’ was not declared in this scope m_current_kid = -1; // To refresh on next update if it has changed ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:140:11: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (key.size() != valid_key_length) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:142:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:142:94: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:142:118: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:148:28: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:148:44: error: request for member ‘size’ in ‘key’, which is of non-class type ‘const key_type {aka const int}’ memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:148:70: error: ‘memcpy’ was not declared in this scope memcpy(&m_key_des, &key[0], std::min(key.size(), sizeof(m_key_des))); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:154:45: error: invalid types ‘const key_type {aka const int}[int]’ for array subscript ss << boost::format("%02X") % (int)key[i]; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: In member function ‘void des_ofb::set_iv(int)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:167:27: error: ‘stderr’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:167:100: error: ‘fprintf’ was not declared in this scope if (m_verbose) fprintf(stderr, "DES:\t%i bits used from %i iterations\n", m_ks_idx, m_iterations); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: In member function ‘long long unsigned int des_ofb::generate(size_t)’: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:188:50: error: ‘swap_bytes’ cannot be used as a function unsigned long long ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:214:31: error: ‘swap_bytes’ cannot be used as a function ullCurrent = swap_bytes(m_ks); ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc: At global scope: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:231:67: error: ‘crypto_algorithm::sptr crypto_module::algorithm’ is not a static member of ‘class crypto_module’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:231:49: error: ‘type_id’ is not a member of ‘crypto_algorithm’ crypto_algorithm::sptr crypto_module::algorithm(crypto_algorithm::type_id algid) ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/ http://crypto.cc/ crypto.cc:232:1: error: expected ‘,’ or ‘;’ before ‘{’ token { ^ make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o] Error 1 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $
 
            Hi Balint
Thanks for updating op25!
I re-compiled cleanly but for some reason the changes did not take affect. OP25 is still displaying the changes I performed a few weeks back. And now there is no audio and the spectrum spikes in scope are missing.
Here is the output of the compile session:
jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ git clone git://github.com/balint256/op25.git git://github.com/balint256/op25.git Cloning into 'op25'... remote: Counting objects: 631, done. remote: Total 631 (delta 0), reused 0 (delta 0), pack-reused 631 Receiving objects: 100% (631/631), 422.11 KiB | 0 bytes/s, done. Resolving deltas: 100% (311/311), done. Checking connectivity... done. jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ dir op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'cppunit' -- found cppunit, version 1.13.1 -- Found CPPUNIT: /usr/lib/i386-linux-gnu/libcppunit.so;dl Checking for GNU Radio Module: RUNTIME -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS -- checking for module 'gnuradio-blocks' -- found gnuradio-blocks, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_BLOCKS: /home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER -- checking for module 'gnuradio-filter' -- found gnuradio-filter, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_FILTER: /home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT -- checking for module 'gnuradio-runtime' -- found gnuradio-runtime, version 3.7.6git * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so -- Found GNURADIO_PMT: /home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11") -- Found PythonLibs: /usr/lib/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2") -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned int -- Check size of unsigned int - done -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GR_FILTER_LIBRARY linked by target "gnuradio-op25_repeater" in directory /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib
-- Configuring incomplete, errors occurred! See also "/home/jcardani/op25test/op25/build/CMakeFiles/CMakeOutput.log". jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cmake .. -DGR_FILTER_LIBRARY=/home/jcardani/target/lib -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Build type not specified: defaulting to release. -- Boost version: 1.54.0 -- Found the following Boost libraries: -- filesystem -- system Checking for GNU Radio Module: RUNTIME * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_FOUND = TRUE Checking for GNU Radio Module: BLOCKS * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-blocks.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_BLOCKS_FOUND = TRUE Checking for GNU Radio Module: FILTER * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-filter.so;/home/jcardani/target/lib/libgnuradio-fft.so;/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_FILTER_FOUND = TRUE Checking for GNU Radio Module: PMT * INCLUDES=/home/jcardani/target/include * LIBS=/home/jcardani/target/lib/libgnuradio-runtime.so;/home/jcardani/target/lib/libgnuradio-pmt.so GNURADIO_PMT_FOUND = TRUE -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done WARNING: Target "gnuradio-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "test-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "gnuradio-op25_repeater" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "_op25_repeater_swig" requests linking to directory "/home/jcardani/target/lib". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/jcardani/op25test/op25/build jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make Scanning dependencies of target gnuradio-op25 [ 1%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/fsk4_demod_ff_impl.cc.o [ 2%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/fsk4_slicer_fb_impl.cc.o [ 3%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/decoder_bf_impl.cc.o [ 4%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/decoder_ff_impl.cc.o [ 5%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/abstract_data_unit.cc.o [ 6%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/data_unit.cc.o [ 7%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/hdu.cc.o [ 8%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/ldu1.cc.o [ 9%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/ldu2.cc.o [ 10%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/pdu.cc.o [ 11%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/tdu.cc.o [ 12%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/tsbk.cc.o [ 13%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/data_unit_handler.cc.o [ 14%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/logfile_du_handler.cc.o [ 15%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/p25cai_du_handler.cc.o /home/jcardani/op25test/op25/op25/gr-op25/lib/p25cai_du_handler.cc: In member function ‘virtual void p25cai_du_handler::handle(data_unit_sptr)’: /home/jcardani/op25test/op25/op25/gr-op25/lib/p25cai_du_handler.cc:85:32: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] write(d_cai, cai, CAI_SZ); ^ [ 16%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/snapshot_du_handler.cc.o [ 17%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/imbe_decoder.cc.o [ 18%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/imbe_decoder_factory.cc.o [ 19%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/dummy_imbe_decoder.cc.o [ 20%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/offline_imbe_decoder.cc.o [ 21%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/voice_data_unit.cc.o [ 22%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/voice_du_handler.cc.o [ 23%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/pcap_source_b_impl.cc.o [ 25%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/software_imbe_decoder.cc.o [ 26%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/vc55_imbe_decoder.cc.o [ 27%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/value_string.cc.o [ 28%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/pickle.cc.o [ 29%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/bch.cc.o [ 30%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/ldu.cc.o /home/jcardani/op25test/op25/op25/gr-op25/lib/ldu.cc http://ldu.cc/: In member function ‘virtual bool ldu::process_meta_data(bit_vector&)’: /home/jcardani/op25test/op25/op25/gr-op25/lib/ldu.cc http://ldu.cc/:87:159: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=] if (logging_enabled()) fprintf(stderr, "%s: %lu hamming errors, %s\n", duid_str().c_str(), m_hamming_error_count, (meta_data_valid() ? "valid" : "invalid")); ^ [ 31%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto.cc.o /home/jcardani/op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/: In member function ‘virtual bool des_ofb::set_key(const key_type&)’: /home/jcardani/op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:143:118: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<unsigned char>::size_type {aka unsigned int}’ [-Wformat=] if (m_verbose) fprintf(stderr, "DES:\tIncorrect key length of %lu (should be %lu)\n", key.size(), valid_key_length); ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/crypto.cc http://crypto.cc/:143:118: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=] [ 32%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/crypto_module_du_handler.cc.o [ 33%] Building C object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/deskey.c.o [ 34%] Building C object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/desport.c.o [ 35%] Building C object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/dessp.c.o /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:50:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100802001,0x100002081,0x100002081,0x00000080, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:50:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:50:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:51:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x00802080,0x100800081,0x100800001,0x100002001, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:51:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:51:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:52:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x00000000,0x00802000,0x00802000,0x100802081, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:53:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100000081,0x00000000,0x00800080,0x100800001, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:53:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:54:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100000001,0x00002000,0x00800000,0x100802001, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:54:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:55:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x00000080,0x00800000,0x100002001,0x00002080, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:56:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100800081,0x100000001,0x00002080,0x00800080, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:56:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:57:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x00002000,0x00802080,0x100802081,0x100000081, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:57:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:58:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x00800080,0x100800001,0x00802000,0x100802081, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:58:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:59:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100000081,0x00000000,0x00000000,0x00802000, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:60:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x00002080,0x00800080,0x100800081,0x100000001, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:60:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:61:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100802001,0x100002081,0x100002081,0x00000080, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:61:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:61:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:62:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100802081,0x100000081,0x100000001,0x00002000, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:62:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:62:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:63:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100800001,0x100002001,0x00802080,0x100800081, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:63:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:63:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:64:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] 0x100002001,0x00002080,0x00800000,0x100802001, ^ /home/jcardani/op25test/op25/op25/gr-op25/lib/dessp.c:64:1: warning: large integer implicitly truncated to unsigned type [-Woverflow] Linking CXX shared library libgnuradio-op25.so [ 35%] Built target gnuradio-op25 Scanning dependencies of target test-op25 [ 36%] Building CXX object op25/gr-op25/lib/CMakeFiles/test-op25.dir/test_op25.cc.o [ 37%] Building CXX object op25/gr-op25/lib/CMakeFiles/test-op25.dir/qa_op25.cc.o Linking CXX executable test-op25 [ 37%] Built target test-op25 Scanning dependencies of target op25_swig_swig_doc [ 37%] Built target op25_swig_swig_doc Scanning dependencies of target _op25_swig_swig_tag [ 38%] Building CXX object op25/gr-op25/swig/CMakeFiles/_op25_swig_swig_tag.dir/_op25_swig_swig_tag.cpp.o Linking CXX executable _op25_swig_swig_tag [ 38%] Built target _op25_swig_swig_tag [ 39%] Generating op25_swig.tag Scanning dependencies of target op25_swig_op25_gr_op25_swig_798d9 [ 40%] Building CXX object op25/gr-op25/swig/CMakeFiles/op25_swig_op25_gr_op25_swig_798d9.dir/op25_swig_op25_gr_op25_swig_798d9.cpp.o Linking CXX executable op25_swig_op25_gr_op25_swig_798d9 Swig source [ 40%] Built target op25_swig_op25_gr_op25_swig_798d9 Scanning dependencies of target _op25_swig [ 41%] Building CXX object op25/gr-op25/swig/CMakeFiles/_op25_swig.dir/op25_swigPYTHON_wrap.cxx.o Linking CXX shared module _op25_swig.so [ 41%] Built target _op25_swig Scanning dependencies of target pygen_op25_gr_op25_swig_0157f [ 42%] Generating op25_swig.pyc [ 43%] Generating op25_swig.pyo [ 43%] Built target pygen_op25_gr_op25_swig_0157f Scanning dependencies of target pygen_op25_gr_op25_python_c6ceb [ 44%] Generating __init__.pyc [ 45%] Generating __init__.pyo [ 45%] Built target pygen_op25_gr_op25_python_c6ceb Scanning dependencies of target pygen_op25_gr_op25_apps_383eb [ 45%] Built target pygen_op25_gr_op25_apps_383eb Scanning dependencies of target imbe_vocoder [ 46%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/aux_sub.cc.o [ 47%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/basicop2.cc.o [ 48%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/ch_decode.cc.o [ 50%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/ch_encode.cc.o [ 51%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/dc_rmv.cc.o [ 52%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/decode.cc.o [ 53%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/dsp_sub.cc.o [ 54%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/encode.cc.o [ 55%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/imbe_vocoder.cc.o [ 56%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/math_sub.cc.o [ 57%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/pe_lpf.cc.o [ 58%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/pitch_est.cc.o [ 59%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/pitch_ref.cc.o [ 60%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/qnt_sub.cc.o [ 61%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/rand_gen.cc.o [ 62%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/sa_decode.cc.o [ 63%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/sa_encode.cc.o [ 64%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/sa_enh.cc.o [ 65%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/tbls.cc.o [ 66%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/uv_synt.cc.o [ 67%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/v_synt.cc.o [ 68%] Building CXX object op25/gr-op25_repeater/lib/imbe_vocoder/CMakeFiles/imbe_vocoder.dir/v_uv_det.cc.o Linking CXX static library libimbe_vocoder.a [ 68%] Built target imbe_vocoder Scanning dependencies of target gnuradio-op25_repeater [ 69%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/vocoder_impl.cc.o [ 70%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/gardner_costas_cc_impl.cc.o [ 71%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25_frame_assembler_impl.cc.o [ 72%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/fsk4_slicer_fb_impl.cc.o [ 73%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/bch.cc.o [ 75%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/rs.cc.o [ 76%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25_framer.cc.o [ 77%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p1_fdma.cc.o [ 78%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p1_voice_encode.cc.o [ 79%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p1_voice_decode.cc.o [ 80%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_framer.cc.o [ 81%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_isch.cc.o [ 82%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_duid.cc.o [ 83%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_sync.cc.o [ 84%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_tdma.cc.o /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib/p25p2_tdma.cc: In function ‘uint16_t crc12(const uint8_t*, unsigned int)’: /home/jcardani/op25test/op25/op25/gr-op25_repeater/lib/p25p2_tdma.cc:43:87: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] fprintf (stderr, "crc12: buffer length %u exceeds maximum %lu\n", len+K, sizeof(buf)); ^ [ 85%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/p25p2_vf.cc.o [ 86%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/imbe_decoder.cc.o [ 87%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/software_imbe_decoder.cc.o [ 88%] Building C object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/ambe.c.o [ 89%] Building C object op25/gr-op25_repeater/lib/CMakeFiles/gnuradio-op25_repeater.dir/mbelib.c.o Linking CXX shared library libgnuradio-op25_repeater.so [ 89%] Built target gnuradio-op25_repeater Scanning dependencies of target test-op25_repeater [ 90%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/test-op25_repeater.dir/test_op25_repeater.cc.o [ 91%] Building CXX object op25/gr-op25_repeater/lib/CMakeFiles/test-op25_repeater.dir/qa_op25_repeater.cc.o Linking CXX executable test-op25_repeater [ 91%] Built target test-op25_repeater Scanning dependencies of target op25_repeater_swig_swig_doc [ 91%] Built target op25_repeater_swig_swig_doc Scanning dependencies of target _op25_repeater_swig_swig_tag [ 92%] Building CXX object op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig_swig_tag.dir/_op25_repeater_swig_swig_tag.cpp.o Linking CXX executable _op25_repeater_swig_swig_tag [ 92%] Built target _op25_repeater_swig_swig_tag [ 93%] Generating op25_repeater_swig.tag Scanning dependencies of target op25_repeater_swig_op25_gr_op25_repeater_swig_1c3af [ 94%] Building CXX object op25/gr-op25_repeater/swig/CMakeFiles/op25_repeater_swig_op25_gr_op25_repeater_swig_1c3af.dir/op25_repeater_swig_op25_gr_op25_repeater_swig_1c3af.cpp.o Linking CXX executable op25_repeater_swig_op25_gr_op25_repeater_swig_1c3af Swig source [ 94%] Built target op25_repeater_swig_op25_gr_op25_repeater_swig_1c3af Scanning dependencies of target _op25_repeater_swig [ 95%] Building CXX object op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig.dir/op25_repeater_swigPYTHON_wrap.cxx.o Linking CXX shared module _op25_repeater_swig.so [ 95%] Built target _op25_repeater_swig Scanning dependencies of target pygen_op25_gr_op25_repeater_swig_4b660 [ 96%] Generating op25_repeater_swig.pyc [ 97%] Generating op25_repeater_swig.pyo [ 97%] Built target pygen_op25_gr_op25_repeater_swig_4b660 Scanning dependencies of target pygen_op25_gr_op25_repeater_python_9e690 [ 98%] Generating __init__.pyc [100%] Generating __init__.pyo [100%] Built target pygen_op25_gr_op25_repeater_python_9e690 Scanning dependencies of target pygen_op25_gr_op25_repeater_apps_63aff [100%] Built target pygen_op25_gr_op25_repeater_apps_63aff jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ sudo make install [sudo] password for jcardani: [ 35%] Built target gnuradio-op25 [ 37%] Built target test-op25 [ 37%] Built target op25_swig_swig_doc [ 38%] Built target _op25_swig_swig_tag [ 40%] Built target op25_swig_op25_gr_op25_swig_798d9 [ 41%] Built target _op25_swig [ 43%] Built target pygen_op25_gr_op25_swig_0157f [ 45%] Built target pygen_op25_gr_op25_python_c6ceb [ 45%] Built target pygen_op25_gr_op25_apps_383eb [ 68%] Built target imbe_vocoder [ 89%] Built target gnuradio-op25_repeater [ 91%] Built target test-op25_repeater [ 91%] Built target op25_repeater_swig_swig_doc [ 92%] Built target _op25_repeater_swig_swig_tag [ 94%] Built target op25_repeater_swig_op25_gr_op25_repeater_swig_1c3af [ 95%] Built target _op25_repeater_swig [ 97%] Built target pygen_op25_gr_op25_repeater_swig_4b660 [100%] Built target pygen_op25_gr_op25_repeater_python_9e690 [100%] Built target pygen_op25_gr_op25_repeater_apps_63aff Install the project... -- Install configuration: "" -- Installing: /usr/local/include/op25/api.h -- Installing: /usr/local/include/op25/fsk4_demod_ff.h -- Installing: /usr/local/include/op25/fsk4_slicer_fb.h -- Installing: /usr/local/include/op25/decoder_ff.h -- Installing: /usr/local/include/op25/decoder_bf.h -- Installing: /usr/local/include/op25/pcap_source_b.h -- Installing: /usr/local/lib/libgnuradio-op25.so -- Removed runtime path from "/usr/local/lib/libgnuradio-op25.so" -- Installing: /usr/local/lib/python2.7/dist-packages/op25/_op25_swig.so -- Removed runtime path from "/usr/local/lib/python2.7/dist-packages/op25/_op25_swig.so" -- Installing: /usr/local/lib/python2.7/dist-packages/op25/op25_swig.py -- Installing: /usr/local/lib/python2.7/dist-packages/op25/op25_swig.pyc -- Installing: /usr/local/lib/python2.7/dist-packages/op25/op25_swig.pyo -- Installing: /usr/local/include/op25/op25/swig/op25_swig.i -- Installing: /usr/local/include/op25/op25/swig/op25_swig_doc.i -- Installing: /usr/local/lib/python2.7/dist-packages/op25/__init__.py -- Installing: /usr/local/lib/python2.7/dist-packages/op25/__init__.pyc -- Installing: /usr/local/lib/python2.7/dist-packages/op25/__init__.pyo -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_fsk4_demod_ff.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_fsk4_slicer_fb.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_decoder_ff.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_decoder_bf.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_pcap_source_b.xml -- Installing: /usr/local/include/op25_repeater/api.h -- Installing: /usr/local/include/op25_repeater/vocoder.h -- Installing: /usr/local/include/op25_repeater/gardner_costas_cc.h -- Installing: /usr/local/include/op25_repeater/p25_frame_assembler.h -- Installing: /usr/local/include/op25_repeater/fsk4_slicer_fb.h -- Installing: /usr/local/lib/libgnuradio-op25_repeater.so -- Removed runtime path from "/usr/local/lib/libgnuradio-op25_repeater.so" -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/_op25_repeater_swig.so -- Removed runtime path from "/usr/local/lib/python2.7/dist-packages/op25_repeater/_op25_repeater_swig.so" -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.py -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.pyc -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.pyo -- Installing: /usr/local/include/op25_repeater/op25_repeater/swig/op25_repeater_swig.i -- Installing: /usr/local/include/op25_repeater/op25_repeater/swig/op25_repeater_swig_doc.i -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/__init__.py -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/__init__.pyc -- Installing: /usr/local/lib/python2.7/dist-packages/op25_repeater/__init__.pyo -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_repeater_vocoder.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_repeater_gardner_costas_cc.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_repeater_p25_frame_assembler.xml -- Installing: /usr/local/share/gnuradio/grc/blocks/op25_repeater_fsk4_slicer_fb.xml jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ sudo ldconfig jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ dir CMakeCache.txt CMakeFiles cmake_install.cmake cmake_uninstall.cmake get_swig_deps.py install_manifest.txt Makefile op25 python_compile_helper.py jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cd op25 jcardani@jcardani-ThinkCentre-XXXX ~/op25test/op25/build/op25 $
On Nov 25, 2015, at 2:20 AM, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi all,
I have pushed changes to both op25 and gr-baz so they compile under Linux, and added the new GRC flowgraph (gr-baz/samples/OP25.grc).
Please give it a go if you wish…
Balint
 
            I was able to compile the code using pybombs, and everything went fine. I simply edited the recipe for gr-op25 and pointed to Balint's github repo.
-Scott
 
            Hi Scott,
I did it differently of course :)
Can you please post quick instructions on how to do this. Thanks!
On Nov 25, 2015, at 4:42 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
I was able to compile the code using pybombs, and everything went fine. I simply edited the recipe for gr-op25 and pointed to Balint's github repo.
-Scott
 
            OK I have the recipe open for edit.
I have the following now:
category: common #depends: gnuradio boost libpcap gr-osmosdr libitpp source: git://git://op25.osmocom.org/op25.git git://git//op25.osmocom.org/op25.git #gitbranch: master gitbranch: max inherit: cmake
So I would need to know what changes above and should I just run:
./pybombs install gr-op25 sudo ldcongig
Do I need to source the target again prior or do the ./pybombs env command?
thanks
On Nov 25, 2015, at 5:08 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Scott,
I did it differently of course :)
Can you please post quick instructions on how to do this. Thanks!
On Nov 25, 2015, at 4:42 PM, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
I was able to compile the code using pybombs, and everything went fine. I simply edited the recipe for gr-op25 and pointed to Balint's github repo.
-Scott
 
            Hi Joe
You will need to comment out "gitbranch: max" and uncomment the "#gitbranch: master" lines. In fact, the 'max' branch on the osmo repo has been promoted to master some months back...
You only need to env after the gnuradio install, unless you've made some major modifications to the base install. So don't worry about that.
I typically have several different installs of various blocks, op25 being one of them. When I experiment with others forks, I'll rename the directory, gr-op25 in this case, to something like "gr-op25.stock", or "gr-op25.baz". After I rename the directory, I issue a "./pybombs remove gr-op25" to clean the gnuradio block database so it lets me install another repo after I edit the recipe. Once you rename these directories, you can always rename them to their original "gr-op25" name and issue a "./pybombs rb gr-op25" to rebuild that block again.
It's also important to comment out the "depends" line so the "remove" command doesn't uninstall those dependencies too. This is an annoyance I think will be addressed in "pybombs2". I haven't looked into that though...
This probably isn't the "correct" way of doing things, but it works for me.
-Scott
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
OK I have the recipe open for edit.
I have the following now:
category: common #depends: gnuradio boost libpcap gr-osmosdr libitpp source: git://git://op25.osmocom.org/op25.git #gitbranch: master gitbranch: max inherit: cmake
So I would need to know what changes above and should I just run:
./pybombs install gr-op25 sudo ldcongig
Do I need to source the target again prior or do the ./pybombs env command?
thanks
 
            Hi Scott,
Forgot to ask so I don’t need to point to Balint’s github address, the one at osmocom is updated?
thanks, Joe
On Nov 25, 2015, at 5:54 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe
You will need to comment out "gitbranch: max" and uncomment the "#gitbranch: master" lines. In fact, the 'max' branch on the osmo repo has been promoted to master some months back...
You only need to env after the gnuradio install, unless you've made some major modifications to the base install. So don't worry about that.
I typically have several different installs of various blocks, op25 being one of them. When I experiment with others forks, I'll rename the directory, gr-op25 in this case, to something like "gr-op25.stock", or "gr-op25.baz". After I rename the directory, I issue a "./pybombs remove gr-op25" to clean the gnuradio block database so it lets me install another repo after I edit the recipe. Once you rename these directories, you can always rename them to their original "gr-op25" name and issue a "./pybombs rb gr-op25" to rebuild that block again.
It's also important to comment out the "depends" line so the "remove" command doesn't uninstall those dependencies too. This is an annoyance I think will be addressed in "pybombs2". I haven't looked into that though...
This probably isn't the "correct" way of doing things, but it works for me.
-Scott
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
OK I have the recipe open for edit.
I have the following now:
category: common #depends: gnuradio boost libpcap gr-osmosdr libitpp source: <>git://git://op25.osmocom.org/op25.git git://git//op25.osmocom.org/op25.git #gitbranch: master gitbranch: max inherit: cmake
So I would need to know what changes above and should I just run:
./pybombs install gr-op25 sudo ldcongig
Do I need to source the target again prior or do the ./pybombs env command?
thanks
 
            Balint’s code is different than osmocom's code, so you need to point to each source accordingly.
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott,
Forgot to ask so I don’t need to point to Balint’s github address, the one at osmocom is updated?
thanks, Joe
 
            hi Scott,
Sorry but now I am confused. Which do I use? Do I need to use the osmocom to remove and Balint’s to rebuild?
On Nov 25, 2015, at 8:18 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Balint’s code is different than osmocom's code, so you need to point to each source accordingly.
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott,
Forgot to ask so I don’t need to point to Balint’s github address, the one at osmocom is updated?
thanks, Joe
 
            Scott I also compiled the gr-baz stuff earlier this week. Do I need to do something else with that or is it OK?
On Nov 25, 2015, at 8:18 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Balint’s code is different than osmocom's code, so you need to point to each source accordingly.
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott,
Forgot to ask so I don’t need to point to Balint’s github address, the one at osmocom is updated?
thanks, Joe
 
            Yep - in fact you guys are doing the final testing for Balint before he pushes his changes to the osmocom repo.
On 26 November 2015 at 12:18, verymetl@hotmail.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
Balint’s code is different than osmocom's code, so you need to point to each source accordingly.
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott,
Forgot to ask so I don’t need to point to Balint’s github address, the one at osmocom is updated?
thanks, Joe
 
            Hi Scott and Matt,
Thanks!
I guess I just want to make sure I understand exactly what I need to do in order to not mess up what I already have installed. I have some time this evening to get it all installed.
Thanks
On Nov 25, 2015, at 8:33 PM, Matt Ames matt.ames7bc@gmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Yep - in fact you guys are doing the final testing for Balint before he pushes his changes to the osmocom repo.
On 26 November 2015 at 12:18, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Balint’s code is different than osmocom's code, so you need to point to each source accordingly.
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott,
Forgot to ask so I don’t need to point to Balint’s github address, the one at osmocom is updated?
thanks, Joe
 
            Joe, there are two different ways you can do this. I'm going to assume you have the osmocom source already installed via pybombs, and you've made some changes that you don't want to lose.
You can't have both versions compiled at the same time. The compiled libraries reside in the same location. It's one or the other. So...
The first method is simply to rename the directories to keep the source files separate. So if your current installation of gr-op25 is in "~/pybombs/src/gr-op25" then you need to rename this dir to something that's meaningful to you to keep things straight. If this is the osmocom version, rename the dir with this command;
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.osmo"
Once you do this, pybombs still thinks the gr-op25 block is still installed. However, the path has changed and it doesn't know where it currently resides. You can now safely remove gr-op25 from the installation database with the following command:
"./pybombs remove gr-op25"
This will purge the install status, but it will not delete the source files(and your changes) because they've been moved, and it doesn't know where.
You must now edit the "gr-op25.lwr" recipe to point to Balint's master branch repo. Save the changes and install gr-op25;
"./pybombs install gr-op25"
Now that Balint's source is installed, you'd need to rename the directory again if you want to go back to the osmocom source.
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.baz"
Rename the osmo source thusly
"mv ~/pybombs/src/gr-op25.osmo ~/pybombs/src/gr-op25"
and rebuild the source: "./pybombs rb gr-op25"
You will have to do this whenever you switch source locations.
--------------------------------
The second method is making a copy of the "gr-op25.lwr" file with a different name.
"cp ~/pybombs/recipes/gr-op25.lwr ~/pybombs/recipes/gr-op25.baz.lwr"
Edit the "gr-op25.baz.lwr" recipe to point to Balint's master branch repo. Save the changes and install.
"./pybombs install gr-op25.baz"
Using this method, you won't have to rename directories, but you still need to rebuild them to switch between the two versions.
"./pybombs rb gr-op25" and "./pybombs rb gr-op25.baz"
respectively...
Does this clear it up? heh
-Scott
 
            Thanks! Yes it does clear things up.
Thanks for all of your help! I’ll work on this tomorrow, getting late.
Happy Thanksgiving
Joe
On Nov 25, 2015, at 11:51 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Joe, there are two different ways you can do this. I'm going to assume you have the osmocom source already installed via pybombs, and you've made some changes that you don't want to lose.
You can't have both versions compiled at the same time. The compiled libraries reside in the same location. It's one or the other. So...
The first method is simply to rename the directories to keep the source files separate. So if your current installation of gr-op25 is in "~/pybombs/src/gr-op25" then you need to rename this dir to something that's meaningful to you to keep things straight. If this is the osmocom version, rename the dir with this command;
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.osmo"
Once you do this, pybombs still thinks the gr-op25 block is still installed. However, the path has changed and it doesn't know where it currently resides. You can now safely remove gr-op25 from the installation database with the following command:
"./pybombs remove gr-op25"
This will purge the install status, but it will not delete the source files(and your changes) because they've been moved, and it doesn't know where.
You must now edit the "gr-op25.lwr" recipe to point to Balint's master branch repo. Save the changes and install gr-op25;
"./pybombs install gr-op25"
Now that Balint's source is installed, you'd need to rename the directory again if you want to go back to the osmocom source.
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.baz"
Rename the osmo source thusly
"mv ~/pybombs/src/gr-op25.osmo ~/pybombs/src/gr-op25"
and rebuild the source: "./pybombs rb gr-op25"
You will have to do this whenever you switch source locations.
The second method is making a copy of the "gr-op25.lwr" file with a different name.
"cp ~/pybombs/recipes/gr-op25.lwr ~/pybombs/recipes/gr-op25.baz.lwr"
Edit the "gr-op25.baz.lwr" recipe to point to Balint's master branch repo. Save the changes and install.
"./pybombs install gr-op25.baz"
Using this method, you won't have to rename directories, but you still need to rebuild them to switch between the two versions.
"./pybombs rb gr-op25" and "./pybombs rb gr-op25.baz"
respectively...
Does this clear it up? heh
-Scott
 
            Sorry it was a late response.. had dinner, two hour #Survivor and couldn't miss it!
And you too!
-S
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Thanks! Yes it does clear things up.
Thanks for all of your help! I’ll work on this tomorrow, getting late.
Happy Thanksgiving
Joe
 
            Hi All,
Hope everyone had a nice Thanksgiving!
I followed method two below copying the recipe file and then installing Balint’s master. It went quickly and with no errors. That’s the good news.
When I run it though there are several issues. First there are no spikes in the spectrum scope and more importantly there’s no audio.
In addition, in the terminal window, it looks just like the old version. I don’t see the voice silence frames in the header and LDU frames, and not do I see MI that’s in the header frame. Am I missing something here in the last part? I thought that was added to the display? I thought this was going to be a replacement of the Wireshark version that displayed that info in addition to adding the encryption support.
thanks
Joe
On Nov 25, 2015, at 11:51 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Joe, there are two different ways you can do this. I'm going to assume you have the osmocom source already installed via pybombs, and you've made some changes that you don't want to lose.
You can't have both versions compiled at the same time. The compiled libraries reside in the same location. It's one or the other. So...
The first method is simply to rename the directories to keep the source files separate. So if your current installation of gr-op25 is in "~/pybombs/src/gr-op25" then you need to rename this dir to something that's meaningful to you to keep things straight. If this is the osmocom version, rename the dir with this command;
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.osmo"
Once you do this, pybombs still thinks the gr-op25 block is still installed. However, the path has changed and it doesn't know where it currently resides. You can now safely remove gr-op25 from the installation database with the following command:
"./pybombs remove gr-op25"
This will purge the install status, but it will not delete the source files(and your changes) because they've been moved, and it doesn't know where.
You must now edit the "gr-op25.lwr" recipe to point to Balint's master branch repo. Save the changes and install gr-op25;
"./pybombs install gr-op25"
Now that Balint's source is installed, you'd need to rename the directory again if you want to go back to the osmocom source.
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.baz"
Rename the osmo source thusly
"mv ~/pybombs/src/gr-op25.osmo ~/pybombs/src/gr-op25"
and rebuild the source: "./pybombs rb gr-op25"
You will have to do this whenever you switch source locations.
The second method is making a copy of the "gr-op25.lwr" file with a different name.
"cp ~/pybombs/recipes/gr-op25.lwr ~/pybombs/recipes/gr-op25.baz.lwr"
Edit the "gr-op25.baz.lwr" recipe to point to Balint's master branch repo. Save the changes and install.
"./pybombs install gr-op25.baz"
Using this method, you won't have to rename directories, but you still need to rebuild them to switch between the two versions.
"./pybombs rb gr-op25" and "./pybombs rb gr-op25.baz"
respectively...
Does this clear it up? heh
-Scott
 
            Well since I am dead in the water I tried to go back to the gr-op25 master version and it won't let me rebuild.
Tried to do ./pybombs rb gr-op25 and get the following message:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-op25 Installing from source: gr-op25 Traceback (most recent call last): File "./pybombs", line 158, in <module> for x in args: pybombs_ops.install(x,True) File "/home/jcardani/pybombs/mod_pybombs/pybombs_ops.py", line 115, in install global_recipes[pkg].install(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 553, in install st = self.install_src(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 619, in install_src self.install_order[step][1](); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 669, in configure mkchdir(topdir + "/src/" + self.name + "/" + self.installdir) File "/home/jcardani/pybombs/mod_pybombs/sysutils.py", line 608, in mkchdir os.chdir(p); OSError: [Errno 2] No such file or directory: '/home/jcardani/pybombs/mod_pybombs/..//src/gr-op25/build' jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
My recipe looks like this:
# # This file is part of PyBOMBS # # PyBOMBS is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # PyBOMBS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with PyBOMBS; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. #
category: common #depends: gnuradio boost libpcap gr-osmosdr libitpp source: git://op25.osmocom.org/op25.git git://op25.osmocom.org/op25.git gitbranch: master #gitbranch: max inherit: cmake
thanks
Joe
On Nov 27, 2015, at 12:40 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi All,
Hope everyone had a nice Thanksgiving!
I followed method two below copying the recipe file and then installing Balint’s master. It went quickly and with no errors. That’s the good news.
When I run it though there are several issues. First there are no spikes in the spectrum scope and more importantly there’s no audio.
In addition, in the terminal window, it looks just like the old version. I don’t see the voice silence frames in the header and LDU frames, and not do I see MI that’s in the header frame. Am I missing something here in the last part? I thought that was added to the display? I thought this was going to be a replacement of the Wireshark version that displayed that info in addition to adding the encryption support.
thanks
Joe
On Nov 25, 2015, at 11:51 PM, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Joe, there are two different ways you can do this. I'm going to assume you have the osmocom source already installed via pybombs, and you've made some changes that you don't want to lose.
You can't have both versions compiled at the same time. The compiled libraries reside in the same location. It's one or the other. So...
The first method is simply to rename the directories to keep the source files separate. So if your current installation of gr-op25 is in "~/pybombs/src/gr-op25" then you need to rename this dir to something that's meaningful to you to keep things straight. If this is the osmocom version, rename the dir with this command;
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.osmo"
Once you do this, pybombs still thinks the gr-op25 block is still installed. However, the path has changed and it doesn't know where it currently resides. You can now safely remove gr-op25 from the installation database with the following command:
"./pybombs remove gr-op25"
This will purge the install status, but it will not delete the source files(and your changes) because they've been moved, and it doesn't know where.
You must now edit the "gr-op25.lwr" recipe to point to Balint's master branch repo. Save the changes and install gr-op25;
"./pybombs install gr-op25"
Now that Balint's source is installed, you'd need to rename the directory again if you want to go back to the osmocom source.
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.baz"
Rename the osmo source thusly
"mv ~/pybombs/src/gr-op25.osmo ~/pybombs/src/gr-op25"
and rebuild the source: "./pybombs rb gr-op25"
You will have to do this whenever you switch source locations.
The second method is making a copy of the "gr-op25.lwr" file with a different name.
"cp ~/pybombs/recipes/gr-op25.lwr ~/pybombs/recipes/gr-op25.baz.lwr"
Edit the "gr-op25.baz.lwr" recipe to point to Balint's master branch repo. Save the changes and install.
"./pybombs install gr-op25.baz"
Using this method, you won't have to rename directories, but you still need to rebuild them to switch between the two versions.
"./pybombs rb gr-op25" and "./pybombs rb gr-op25.baz"
respectively...
Does this clear it up? heh
-Scott
 
            I still can use the version that’s in max-skip-test that works.
But I still need to know why:
1. Balint’s version does not produce audio for me, the spectrum data scope does not work, and the additional voice frame info in the LDU1 and MI etc in the HDR is not displaying in the terminal window.
2. Why I can’t rebuild to the standard master branch using the ./pybombs rb gr-op25 command
thanks
Joe
Well since I am dead in the water I tried to go back to the gr-op25 master version and it won't let me rebuild.
Tried to do ./pybombs rb gr-op25 and get the following message:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Traceback (most recent call last): File "./pybombs", line 158, in <module> for x in args: pybombs_ops.install(x,True) File "/home/jcardani/pybombs/mod_pybombs/pybombs_ops.py", line 115, in install global_recipes[pkg].install(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 553, in install st = self.install_src(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 619, in install_src self.install_order[step][1](); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 669, in configure mkchdir(topdir + "/src/" + self.name + "/" + self.installdir) File "/home/jcardani/pybombs/mod_pybombs/sysutils.py", line 608, in mkchdir os.chdir(p); OSError: [Errno 2] No such file or directory: '/home/jcardani/pybombs/mod_pybombs/..//src/gr-op25/build' jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
My recipe looks like this:
# # This file is part of PyBOMBS # # PyBOMBS is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # PyBOMBS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with PyBOMBS; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. #
category: common #depends: gnuradio boost libpcap gr-osmosdr libitpp source: git://op25.osmocom.org/op25.git git://op25.osmocom.org/op25.git gitbranch: master #gitbranch: max inherit: cmake
thanks
Joe
On Nov 27, 2015, at 12:40 PM, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi All,
Hope everyone had a nice Thanksgiving!
I followed method two below copying the recipe file and then installing Balint’s master. It went quickly and with no errors. That’s the good news.
When I run it though there are several issues. First there are no spikes in the spectrum scope and more importantly there’s no audio.
In addition, in the terminal window, it looks just like the old version. I don’t see the voice silence frames in the header and LDU frames, and not do I see MI that’s in the header frame. Am I missing something here in the last part? I thought that was added to the display? I thought this was going to be a replacement of the Wireshark version that displayed that info in addition to adding the encryption support.
thanks
Joe
On Nov 25, 2015, at 11:51 PM, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Joe, there are two different ways you can do this. I'm going to assume you have the osmocom source already installed via pybombs, and you've made some changes that you don't want to lose.
You can't have both versions compiled at the same time. The compiled libraries reside in the same location. It's one or the other. So...
The first method is simply to rename the directories to keep the source files separate. So if your current installation of gr-op25 is in "~/pybombs/src/gr-op25" then you need to rename this dir to something that's meaningful to you to keep things straight. If this is the osmocom version, rename the dir with this command;
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.osmo"
Once you do this, pybombs still thinks the gr-op25 block is still installed. However, the path has changed and it doesn't know where it currently resides. You can now safely remove gr-op25 from the installation database with the following command:
"./pybombs remove gr-op25"
This will purge the install status, but it will not delete the source files(and your changes) because they've been moved, and it doesn't know where.
You must now edit the "gr-op25.lwr" recipe to point to Balint's master branch repo. Save the changes and install gr-op25;
"./pybombs install gr-op25"
Now that Balint's source is installed, you'd need to rename the directory again if you want to go back to the osmocom source.
"mv ~/pybombs/src/gr-op25 ~/pybombs/src/gr-op25.baz"
Rename the osmo source thusly
"mv ~/pybombs/src/gr-op25.osmo ~/pybombs/src/gr-op25"
and rebuild the source: "./pybombs rb gr-op25"
You will have to do this whenever you switch source locations.
The second method is making a copy of the "gr-op25.lwr" file with a different name.
"cp ~/pybombs/recipes/gr-op25.lwr ~/pybombs/recipes/gr-op25.baz.lwr"
Edit the "gr-op25.baz.lwr" recipe to point to Balint's master branch repo. Save the changes and install.
"./pybombs install gr-op25.baz"
Using this method, you won't have to rename directories, but you still need to rebuild them to switch between the two versions.
"./pybombs rb gr-op25" and "./pybombs rb gr-op25.baz"
respectively...
Does this clear it up? heh
-Scott
 
            Hi Joe
The error is telling you that the path to "~/pybombs/src/gr-op25/build" doesn't exist. This is not a good sign...
You've either renamed the directory("~/pybombs/src/gr-op25"), or deleted it either manually, or by using the "./pybombs remove gr-op25" command.
The recipe doesn't have anything to do with rebuilding the source code that is already there.
Type this command in the terminal: "ls ~/pybombs/src". What is the output?
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Well since I am dead in the water I tried to go back to the gr-op25 master version and it won't let me rebuild.
Tried to do ./pybombs rb gr-op25 and get the following message:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-op25 Installing from source: gr-op25 Traceback (most recent call last): File "./pybombs", line 158, in <module> for x in args: pybombs_ops.install(x,True) File "/home/jcardani/pybombs/mod_pybombs/pybombs_ops.py", line 115, in install global_recipes[pkg].install(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 553, in install st = self.install_src(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 619, in install_src self.install_order[step][1](); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 669, in configure mkchdir(topdir + "/src/" + self.name + "/" + self.installdir) File "/home/jcardani/pybombs/mod_pybombs/sysutils.py", line 608, in mkchdir os.chdir(p); OSError: [Errno 2] No such file or directory: '/home/jcardani/pybombs/mod_pybombs/..//src/gr-op25/build' jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Thanks. I'm out right now. Will run the command when I get home.
Joe
Sent from my iPhone
On Nov 28, 2015, at 4:27 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe
The error is telling you that the path to "~/pybombs/src/gr-op25/build" doesn't exist. This is not a good sign...
You've either renamed the directory("~/pybombs/src/gr-op25"), or deleted it either manually, or by using the "./pybombs remove gr-op25" command.
The recipe doesn't have anything to do with rebuilding the source code that is already there.
Type this command in the terminal: "ls ~/pybombs/src". What is the output?
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Well since I am dead in the water I tried to go back to the gr-op25 master version and it won't let me rebuild.
Tried to do ./pybombs rb gr-op25 and get the following message:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Traceback (most recent call last): File "./pybombs", line 158, in <module> for x in args: pybombs_ops.install(x,True) File "/home/jcardani/pybombs/mod_pybombs/pybombs_ops.py", line 115, in install global_recipes[pkg].install(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 553, in install st = self.install_src(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 619, in install_src self.install_order[step][1](); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 669, in configure mkchdir(topdir + "/src/" + self.name + "/" + self.installdir) File "/home/jcardani/pybombs/mod_pybombs/sysutils.py", line 608, in mkchdir os.chdir(p); OSError: [Errno 2] No such file or directory: '/home/jcardani/pybombs/mod_pybombs/..//src/gr-op25/build' jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Hi Scott.
Here's the output
jcardani@jcardani-ThinkCentre-XXXX ~ $ ls ~/pybombs/src airspy bladeRF gnuradio gr-iqbal gr-op25baz gr-osmosdr hackrf libosmo-dsp op25 osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~ $
On 11/28/2015 04:27 PM, verymetl@hotmail.com [op25-dev] wrote:
Hi Joe
The error is telling you that the path to "~/pybombs/src/gr-op25/build" doesn't exist. This is not a good sign...
You've either renamed the directory("~/pybombs/src/gr-op25"), or deleted it either manually, or by using the "./pybombs remove gr-op25" command.
The recipe doesn't have anything to do with rebuilding the source code that is already there.
Type this command in the terminal: "ls ~/pybombs/src". What is the output?
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Well since I am dead in the water I tried to go back to the gr-op25 master version and it won't let me rebuild.
Tried to do ./pybombs rb gr-op25 and get the following message:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Traceback (most recent call last): File "./pybombs", line 158, in <module> for x in args: pybombs_ops.install(x,True) File "/home/jcardani/pybombs/mod_pybombs/pybombs_ops.py", line 115, in install global_recipes[pkg].install(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 553, in install st = self.install_src(); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 619, in install_src self.install_order[step][1](); File "/home/jcardani/pybombs/mod_pybombs/recipe.py", line 669, in configure mkchdir(topdir + "/src/" + self.name + "/" + self.installdir) File "/home/jcardani/pybombs/mod_pybombs/sysutils.py", line 608, in mkchdir os.chdir(p); OSError: [Errno 2] No such file or directory: '/home/jcardani/pybombs/mod_pybombs/..//src/gr-op25/build' jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Well that's weird... your directory name is "op25". Did you clone this yourself and compile manually? No way pybombs did this based on the recipe name.
You can try and rename the "op25" to "gr-op25" and issue a "./pybombs rb gr-op25"
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott.
Here's the output
jcardani@jcardani-ThinkCentre-XXXX ~ $ ls ~/pybombs/src airspy bladeRF gnuradio gr-iqbal gr-op25baz gr-osmosdr hackrf libosmo-dsp op25 osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~ $
 
            Hi Scott,
I may have I was trying stuff to get Balint’s version working. I will try the rename now.
But I still can run Max’s version under max-skip-test so things are still OK there. But of course I would like this fixed for the future and figure out way Balint’s version has those issues I mentioned.
Stand by
Joe
On Nov 28, 2015, at 7:31 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Well that's weird... your directory name is "op25". Did you clone this yourself and compile manually? No way pybombs did this based on the recipe name.
You can try and rename the "op25" to "gr-op25" and issue a "./pybombs rb gr-op25"
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott.
Here's the output
jcardani@jcardani-ThinkCentre-XXXX ~ $ ls ~/pybombs/src airspy bladeRF gnuradio gr-iqbal gr-op25baz gr-osmosdr hackrf libosmo-dsp op25 osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~ $
 
            I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-op25 Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
On 11/28/2015 07:31 PM, verymetl@hotmail.com [op25-dev] wrote:
Well that's weird... your directory name is "op25". Did you clone this yourself and compile manually? No way pybombs did this based on the recipe name.
You can try and rename the "op25" to "gr-op25" and issue a "./pybombs rb gr-op25"
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
Hi Scott.
Here's the output
jcardani@jcardani-ThinkCentre-XXXX ~ $ ls ~/pybombs/src airspy bladeRF gnuradio gr-iqbal gr-op25baz gr-osmosdr hackrf libosmo-dsp op25 osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~ $
 
            So I changed the recipe name from gr-op25.lwr to op25.lwr and it worked. Weird. Anyway now the more important issue. How do I fix Balint’s version?
Did you get the new code working?
thanks Joe
On Nov 28, 2015, at 7:41 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
On 11/28/2015 07:31 PM, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] wrote:
Well that's weird... your directory name is "op25". Did you clone this yourself and compile manually? No way pybombs did this based on the recipe name.
You can try and rename the "op25" to "gr-op25" and issue a "./pybombs rb gr-op25"
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> mailto:jcardani@... wrote :
Hi Scott.
Here's the output
jcardani@jcardani-ThinkCentre-XXXX ~ $ ls ~/pybombs/src airspy bladeRF gnuradio gr-iqbal gr-op25baz gr-osmosdr hackrf libosmo-dsp op25 osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~ $
 
            Hi Scott,
I thought I was OK. tried running Scope and now get an error:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/op25/op25/gr-op25_repeater/apps $ ./scope.py --args "airspy" -f 852850000 -S 2500000 -N 'IF:12,MIX:12,LNA:9' -o -6.25e3 -T ocfd.tsv Traceback (most recent call last): File "./scope.py", line 55, in <module> import op25_repeater File "/home/jcardani/target/lib/python2.7/dist-packages/op25_repeater/__init__.py", line 45, in <module> from op25_repeater_swig import * File "/home/jcardani/target/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.py", line 28, in <module> _op25_repeater_swig = swig_import_helper() File "/home/jcardani/target/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.py", line 24, in swig_import_helper _mod = imp.load_module('_op25_repeater_swig', fp, pathname, description) ImportError: /home/jcardani/target/lib/libgnuradio-op25_repeater.so: undefined symbol: _ZN2gr6filter24mmse_fir_interpolator_ccD1Ev jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src/op25/op25/gr-op25_repeater/apps $
On 11/28/2015 07:46 PM, Joseph Cardani jcardani@verizon.net [op25-dev] wrote:
So I changed the recipe name from gr-op25.lwr to op25.lwr and it worked. Weird. Anyway now the more important issue. How do I fix Balint’s version?
Did you get the new code working?
thanks Joe
On Nov 28, 2015, at 7:41 PM, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
On 11/28/2015 07:31 PM,verymetl@hotmail.com[op25-dev] wrote:
Well that's weird... your directory name is "op25". Did you clone this yourself and compile manually? No way pybombs did this based on the recipe name.
You can try and rename the "op25" to "gr-op25" and issue a "./pybombs rb gr-op25"
---Inop25-dev@yahoogroups.com,<jcardani@...>wrote :
Hi Scott.
Here's the output
jcardani@jcardani-ThinkCentre-XXXX ~ $ ls ~/pybombs/src airspy bladeRF gnuradio gr-iqbal gr-op25baz gr-osmosdr hackrf libosmo-dsp op25 osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~ $
 
            I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-op25 Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Hi Scott
There’s no gr-op25 directory there, just op25
On Nov 28, 2015, at 7:53 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Sorry it was I did delete it
On Nov 28, 2015, at 7:53 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Ok that seemed to work thanks! When it’s done I will test the scope
Joe
On Nov 28, 2015, at 8:03 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Sorry it was I did delete it
On Nov 28, 2015, at 7:53 PM, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            OK Now the program is back.
But I have no info in the spectrum spikes and no audio. But the program in max-skip-test is OK with spectrum and audio.
Joe
On Nov 28, 2015, at 8:08 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Ok that seemed to work thanks! When it’s done I will test the scope
Joe
On Nov 28, 2015, at 8:03 PM, Joseph Cardani jcardani@verizon.net mailto:jcardani@verizon.net [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Sorry it was I did delete it
On Nov 28, 2015, at 7:53 PM, verymetl@hotmail.com mailto:verymetl@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Hi guys,
My changes only apply to ‘gr-op25’ and not ‘gr-op25_repeater’ (i.e. not ‘scope’, etc).
Once you’ve compiled and installed, you need to open and run the GRC in gr-baz/samples/OP25.grc
Balint
From: op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com] Sent: Saturday, 28 November 2015 4:54 PM To: op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-op25 Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            Hi Balint,
How do I execure that/
Joe
On Nov 28, 2015, at 8:14 PM, 'Balint' balint256@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi guys,
My changes only apply to ‘gr-op25’ and not ‘gr-op25_repeater’ (i.e. not ‘scope’, etc).
Once you’ve compiled and installed, you need to open and run the GRC in gr-baz/samples/OP25.grc
Balint
From: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com] Sent: Saturday, 28 November 2015 4:54 PM To: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            I figured it out that I opened gnuradio-companion and then opened the op25.grc file
Now it errors on a lot of missing blocks
I wonder if I built this correct?
Help
On Nov 28, 2015, at 8:21 PM, Joseph Cardani jcardani@verizon.net [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Balint,
How do I execure that/
Joe
On Nov 28, 2015, at 8:14 PM, 'Balint' balint256@hotmail.com mailto:balint256@hotmail.com [op25-dev] <op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com> wrote:
Hi guys,
My changes only apply to ‘gr-op25’ and not ‘gr-op25_repeater’ (i.e. not ‘scope’, etc).
Once you’ve compiled and installed, you need to open and run the GRC in gr-baz/samples/OP25.grc
Balint
From: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com [mailto:op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com] Sent: Saturday, 28 November 2015 4:54 PM To: op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com Subject: Re: [op25-dev] Beta Test of New Additions - compile error on make
I was afraid of that.... "/bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build"
delete the directory "~/pybombs/src/gr-op25/build"
"rm -rf ~/pybombs/src/gr-op25/build"
and try again
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I renamed from op25 to gr-op25 and Failed again.
Gonna try one more thing but Here's the output:
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ dir airspy bladeRF gnuradio gr-iqbal gr-op25 gr-op25baz gr-osmosdr hackrf libosmo-dsp osmo-sdr rtl-sdr uhd jcardani@jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani@jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25 Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages:
- gr-op25
Installing from source: gr-op25 Configuring: (100%) [==========================================================] Configuration failed. Re-trying with higher verbosity. /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/depend] Error 2 make[1]: *** [op25/gr-op25/swig/CMakeFiles/op25_swig_swig_doc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/depend] Error 2 make[1]: *** [op25/gr-op25/python/CMakeFiles/pygen_op25_gr_op25_python_efd2f.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/depend] Error 2 make[1]: *** [op25/gr-op25/apps/CMakeFiles/pygen_op25_gr_op25_apps_383eb.dir/all] Error 2 /bin/sh: 1: cd: can't cd to /home/jcardani/pybombs/src/op25/build make[2]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/depend] Error 2 make[1]: *** [op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $
 
            If you have missing blocks, then you don't have the correct OP25 version compiled. I explained this to you the other day. It's one version or the other. If you want to play around with Balint's GRC file, you need to have his version of OP25 compiled.
You have mentioned this multiple times, but I don't have a clue what "max-skip-test" is.
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
I figured it out that I opened gnuradio-companion and then opened the op25.grc file
Now it errors on a lot of missing blocks
I wonder if I built this correct?
Help
 
            I installed Balints code again
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs install gr-baz Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * blas * armadillo * gr-compat * gr-baz Installing from .deb: blas [sudo] password for jcardani: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libaudclient2 libid3tag0 libimlib2 liblua5.1-0 libxmmsclient6 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libopenblas-base The following NEW packages will be installed: libopenblas-base libopenblas-dev 0 upgraded, 2 newly installed, 0 to remove and 519 not upgraded. Need to get 2,643 kB of archives. After this operation, 65.5 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libopenblas-base i386 0.2.8-6ubuntu1 [1,723 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe libopenblas-dev i386 0.2.8-6ubuntu1 [920 kB] Fetched 2,643 kB in 1s (2,054 kB/s) Selecting previously unselected package libopenblas-base. (Reading database ... 196371 files and directories currently installed.) Preparing to unpack .../libopenblas-base_0.2.8-6ubuntu1_i386.deb ... Unpacking libopenblas-base (0.2.8-6ubuntu1) ... Selecting previously unselected package libopenblas-dev. Preparing to unpack .../libopenblas-dev_0.2.8-6ubuntu1_i386.deb ... Unpacking libopenblas-dev (0.2.8-6ubuntu1) ... Setting up libopenblas-base (0.2.8-6ubuntu1) ... update-alternatives: using /usr/lib/openblas-base/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode Setting up libopenblas-dev (0.2.8-6ubuntu1) ... update-alternatives: using /usr/lib/openblas-base/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode Processing triggers for libc-bin (2.19-0ubuntu6.4) ... installation ok via: deb Installing from .deb: armadillo Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libaudclient2 libid3tag0 libimlib2 liblua5.1-0 libxmmsclient6 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libarmadillo4 libarpack2 libarpack2-dev The following NEW packages will be installed: libarmadillo-dev libarmadillo4 libarpack2 libarpack2-dev 0 upgraded, 4 newly installed, 0 to remove and 519 not upgraded. Need to get 501 kB of archives. After this operation, 4,314 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libarpack2 i386 3.1.5-2 [82.0 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe libarmadillo4 i386 1:4.200.0+dfsg-1 [67.9 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty/universe libarpack2-dev i386 3.1.5-2 [93.4 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty/universe libarmadillo-dev i386 1:4.200.0+dfsg-1 [258 kB] Fetched 501 kB in 4s (110 kB/s) Selecting previously unselected package libarpack2. (Reading database ... 196386 files and directories currently installed.) Preparing to unpack .../libarpack2_3.1.5-2_i386.deb ... Unpacking libarpack2 (3.1.5-2) ... Selecting previously unselected package libarmadillo4. Preparing to unpack .../libarmadillo4_1%3a4.200.0+dfsg-1_i386.deb ... Unpacking libarmadillo4 (1:4.200.0+dfsg-1) ... Selecting previously unselected package libarpack2-dev. Preparing to unpack .../libarpack2-dev_3.1.5-2_i386.deb ... Unpacking libarpack2-dev (3.1.5-2) ... Selecting previously unselected package libarmadillo-dev. Preparing to unpack .../libarmadillo-dev_1%3a4.200.0+dfsg-1_i386.deb ... Unpacking libarmadillo-dev (1:4.200.0+dfsg-1) ... Processing triggers for doc-base (0.10.5) ... Processing 1 added doc-base file... Registering documents with scrollkeeper... Setting up libarpack2 (3.1.5-2) ... Setting up libarmadillo4 (1:4.200.0+dfsg-1) ... Setting up libarpack2-dev (3.1.5-2) ... Setting up libarmadillo-dev (1:4.200.0+dfsg-1) ... Processing triggers for libc-bin (2.19-0ubuntu6.4) ... installation ok via: deb Installing from source: gr-compat Cloning into 'gr-compat'... remote: Counting objects: 107, done. remote: Total 107 (delta 0), reused 0 (delta 0), pack-reused 107 Receiving objects: 100% (107/107), 23.80 KiB | 0 bytes/s, done. Resolving deltas: 100% (44/44), done. Checking connectivity... done. Configuring: (100%) [==========================================================] Building: (100%) [==========================================================] Installing: (100%) [===========================================================] installation ok via: src Installing from source: gr-baz Cloning into 'gr-baz'... remote: Counting objects: 1574, done. remote: Compressing objects: 100% (4/4), done. remote: Total 1574 (delta 0), reused 0 (delta 0), pack-reused 1570 Receiving objects: 100% (1574/1574), 1009.10 KiB | 0 bytes/s, done. Resolving deltas: 100% (980/980), done. Checking connectivity... done. Configuring: (100%) [==========================================================] Building: (100%) [==========================================================] Installing: (100%) [===========================================================] installation ok via: src
Then switched to Balints op25 and just for the sake of it rb Balints code after gr-op25baz rb and still block errors.
And please don't knuckle punch me :)
jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-op25baz Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-op25baz Installing from source: gr-op25baz Configuring: (100%) [==========================================================] Building: (100%) [==========================================================] Installing: (100%) [===========================================================] installation ok via: src jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ ./pybombs rb gr-baz Settled on prefix: /home/jcardani/target Loading recipes ... Installing packages: * gr-baz Installing from source: gr-baz Configuring: (100%) [==========================================================] Building: (100%) [==========================================================] Installing: (100%) [===========================================================] installation ok via: src jcardani@jcardani-ThinkCentre-XXXX ~/pybombs $ gnuradio-companion linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.001-42-g8c87a524
Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). Error: Program requires scipy (see: www.scipy.org). <<< Welcome to GNU Radio Companion 3.7.6git-255-gd0d286d3 >>>
Preferences file: /home/jcardani/.grc Block paths: /home/jcardani/target/share/gnuradio/grc/blocks /home/jcardani/.grc_gnuradio
XML parser: Found 1 erroneous XML file while loading the block tree (see "Help/Parser errors" for details)
Loading: "/home/jcardani/pybombs/gr-baz/samples/OP25.grc"
On 11/28/2015 08:58 PM, verymetl@hotmail.com [op25-dev] wrote:
If you have missing blocks, then you don't have the correct OP25 version compiled. I explained this to you the other day. It's one version or the other. If you want to play around with Balint's GRC file, you need to have his version of OP25 compiled.
You have mentioned this multiple times, but I don't have a clue what "max-skip-test" is.
---In op25-dev@yahoogroups.com, <jcardani@...> wrote :
I figured it out that I opened gnuradio-companion and then opened the op25.grc file
Now it errors on a lot of missing blocks
I wonder if I built this correct?
Help
 
            Hi Scott,
The max-skip-test is the version I installed for Max to help him test the skip feature a few weeks ago
Joe
On Nov 28, 2015, at 8:58 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
If you have missing blocks, then you don't have the correct OP25 version compiled. I explained this to you the other day. It's one version or the other. If you want to play around with Balint's GRC file, you need to have his version of OP25 compiled.
You have mentioned this multiple times, but I don't have a clue what "max-skip-test" is.
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I figured it out that I opened gnuradio-companion and then opened the op25.grc file
Now it errors on a lot of missing blocks
I wonder if I built this correct?
Help
 
            Hi Scott
I did that after you send me this email and sent the terminal output to email.
I am not sure if what Max just said affects this.
Joe
On Nov 28, 2015, at 8:58 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
If you have missing blocks, then you don't have the correct OP25 version compiled. I explained this to you the other day. It's one version or the other. If you want to play around with Balint's GRC file, you need to have his version of OP25 compiled.
You have mentioned this multiple times, but I don't have a clue what "max-skip-test" is.
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
I figured it out that I opened gnuradio-companion and then opened the op25.grc file
Now it errors on a lot of missing blocks
I wonder if I built this correct?
Help
 
            And thanks to Scott and everyone for taking time to help me. I really appreciate it. Just seems to be a moving target.
I really want to help test Balint’s changes!
Joe
 
            Can someone provide a brief summary of the changes made in Balint's version? My OP25 was up-to-date based on the Osmocom site files (which site is of course down), but I'm assuming I don't have Balint's version.
 
            I think I just answered my own question; after reading a bunch of other posts it sounds like his changes were narrowly focused on Crypto features, which (while insanely cool!!) I have no use for given I don't currently have P-25 radios with my own keys to play around with, sighhh...
 
            Hi Nate,
Yes, there are some outstanding things to be done - I need to get the web server up and running and then we can merge Balints' crypto work with Max's branch and bring it all in line. Unfortunately this has been lagging for a while now..
Cheers, Matt
On 3 April 2016 at 02:19, natedawg1604@gmail.com [op25-dev] < op25-dev@yahoogroups.com> wrote:
I think I just answered my own question; after reading a bunch of other posts it sounds like his changes were narrowly focused on Crypto features, which (while insanely cool!!) I have no use for given I don't currently have P-25 radios with my own keys to play around with, sighhh...
 
            It's been a while. Has there been any progress to adding support for ADP (RC4)?
 
            Hi Scott,
Also my directory tree goes like this
/jcardani/pybombs/src/op25/op25/gr-op25 and gr-op25_repeater
Do I still need to rename the gr-op25 or one of the op25 directories prior?
Sorry I just want to mess up.
thanks Joe
On Nov 25, 2015, at 5:54 PM, verymetl@hotmail.com [op25-dev] op25-dev@yahoogroups.com wrote:
Hi Joe
You will need to comment out "gitbranch: max" and uncomment the "#gitbranch: master" lines. In fact, the 'max' branch on the osmo repo has been promoted to master some months back...
You only need to env after the gnuradio install, unless you've made some major modifications to the base install. So don't worry about that.
I typically have several different installs of various blocks, op25 being one of them. When I experiment with others forks, I'll rename the directory, gr-op25 in this case, to something like "gr-op25.stock", or "gr-op25.baz". After I rename the directory, I issue a "./pybombs remove gr-op25" to clean the gnuradio block database so it lets me install another repo after I edit the recipe. Once you rename these directories, you can always rename them to their original "gr-op25" name and issue a "./pybombs rb gr-op25" to rebuild that block again.
It's also important to comment out the "depends" line so the "remove" command doesn't uninstall those dependencies too. This is an annoyance I think will be addressed in "pybombs2". I haven't looked into that though...
This probably isn't the "correct" way of doing things, but it works for me.
-Scott
---In op25-dev@yahoogroups.com mailto:op25-dev@yahoogroups.com, <jcardani@...> wrote :
OK I have the recipe open for edit.
I have the following now:
category: common #depends: gnuradio boost libpcap gr-osmosdr libitpp source: <>git://git://op25.osmocom.org/op25.git git://git//op25.osmocom.org/op25.git #gitbranch: master gitbranch: max inherit: cmake
So I would need to know what changes above and should I just run:
./pybombs install gr-op25 sudo ldcongig
Do I need to source the target again prior or do the ./pybombs env command?
thanks













