From op25-dev at yahoogroups.com Sat Jan 3 15:57:17 2015 From: op25-dev at yahoogroups.com (Don Adams busterphenajo@yahoo.com [op25-dev]) Date: Sat, 3 Jan 2015 15:57:17 +0000 (UTC) Subject: [op25-dev] Web site issues In-Reply-To: <45D5AC6B-CAAE-4A74-A65A-C36C23737BF5@verizon.net> References: <45D5AC6B-CAAE-4A74-A65A-C36C23737BF5@verizon.net> Message-ID: <1141773949.2395657.1420300637724.JavaMail.yahoo@jws100131.mail.ne1.yahoo.com> Howdy, I have found the SignalScopePage ? OP25???? WORKING for Me !!! | ? | | ? | | ? | ? | ? | ? | ? | | SignalScopePage ? OP25Signal Scope Installation Before running the scope app, check that the following standard pre-requisite packages are also installed: GNU Radio The op25 blocks The o... | | | | View on op25.osmocom.org | Preview by Yahoo | | | | ? | ?WireSharkPage ? OP25 | ? | | ? | | ? | ? | ? | ? | ? | | WireSharkPage ? OP25Extending Wireshark The WireShark packet sniffer normally doesn't support APCO P25. If you want to sniff P25 traffic using WireShark then you'll need to patch the s... | | | | View on op25.osmocom.org | Preview by Yahoo | | | | ? | ?Does this help you at all?Let me know if you need more help.Happy New YearWOW - How's that B200 USRP working. I wanna step up from RTL2832U.My OP25 decode is killer, can't imagine how things would be with a B200...Thanks, DonSacramento, Ca. From op25-dev at yahoogroups.com Sat Jan 3 20:20:15 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 03 Jan 2015 15:20:15 -0500 Subject: [op25-dev] Web site issues In-Reply-To: <1141773949.2395657.1420300637724.JavaMail.yahoo@jws100131.mail.ne1.yahoo.com> References: <45D5AC6B-CAAE-4A74-A65A-C36C23737BF5@verizon.net> <1141773949.2395657.1420300637724.JavaMail.yahoo@jws100131.mail.ne1.yahoo.com> Message-ID: <4D662367-DFED-4872-B2DA-2435BC28DE37@verizon.net> Hi Don, Yes the page came back yesterday. thanks! Joe > On Jan 3, 2015, at 10:57 AM, Don Adams busterphenajo at yahoo.com [op25-dev] wrote: > > > Howdy, > I have found the SignalScopePage ? OP25 WORKING for Me !!! > > > > > > > > > > SignalScopePage ? OP25 > Signal Scope Installation Before running the scope app, check that the following standard pre-requisite packages are also installed: GNU Radio The op25 blocks The o... > View on?op25.osmocom.org > Preview by Yahoo > > WireSharkPage ? OP25 > > > > > > > > > WireSharkPage ? OP25 > Extending Wireshark The WireShark packet sniffer normally doesn't support APCO P25. If you want to sniff P25 traffic using WireShark then you'll need to patch the s... > View on?op25.osmocom.org > Preview by Yahoo > > Does this help you at all? > Let me know if you need more help. > Happy New Year > WOW - How's that B200 USRP working. I wanna step up from RTL2832U. > My OP25 decode is killer, can't imagine how things would be with a B200... > Thanks, Don > Sacramento, Ca. > > From the desk of, Don Adams > > From: "Joseph Cardani jcardani at verizon.net [op25-dev]" > > To: op25-dev at yahoogroups.com > Sent: Wednesday, December 31, 2014 8:28 AM > Subject: Re: [op25-dev] Web site issues > > > Hi All, > > Does anyone have scope.py and other pages from the OP25 website saved? Since the site is down I cannot access the command args, examples, and instructions. > > I just purchased an B200 USRP and would like to get up and running. mtindor and Scott are assisting at Radio Reference also, but the OP25 stuff would be helpful. > > thanks! > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Jan 3 20:34:56 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 03 Jan 2015 15:34:56 -0500 Subject: [op25-dev] Web site issues In-Reply-To: <1141773949.2395657.1420300637724.JavaMail.yahoo@jws100131.mail.ne1.yahoo.com> References: <45D5AC6B-CAAE-4A74-A65A-C36C23737BF5@verizon.net> <1141773949.2395657.1420300637724.JavaMail.yahoo@jws100131.mail.ne1.yahoo.com> Message-ID: Hi Don, Happy new year too! So far I am still learning the ropes with the B200. It?s doing a good job on an LSM system that is around 20 miles away. Still working out some of the tweaks though. I wish it had filtering though - but I guess I can buy some bad pass filters. Joe > On Jan 3, 2015, at 10:57 AM, Don Adams busterphenajo at yahoo.com [op25-dev] wrote: > > > WOW - How's that B200 USRP working. I wanna step up from RTL2832U. > My OP25 decode is killer, can't imagine how things would be with a B200... > Thanks, Don > Sacramento, Ca. > > From the desk of, Don Adams > > From: "Joseph Cardani jcardani at verizon.net [op25-dev]" > > To: op25-dev at yahoogroups.com > Sent: Wednesday, December 31, 2014 8:28 AM > Subject: Re: [op25-dev] Web site issues -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Jan 4 00:45:53 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 03 Jan 2015 19:45:53 -0500 Subject: [op25-dev] Interesting idea In-Reply-To: References: <45D5AC6B-CAAE-4A74-A65A-C36C23737BF5@verizon.net> <1141773949.2395657.1420300637724.JavaMail.yahoo@jws100131.mail.ne1.yahoo.com> Message-ID: <7413743B-9802-43CF-869E-58449B23C645@verizon.net> Hi all, I have a neat idea. Can OP25 be modified to ?repeat" an entire spectrum say 851.0125 to 853.9875 with low power so a digital scanner in proximity to the repeater can receive the signal. Specifically can OP25 be able to receive CQPSK (LSM) and convert to C4FM in real time - since scanners have no issues with that modulation. thanks! Joe > On Jan 3, 2015, at 3:34 PM, Joseph Cardani jcardani at verizon.net [op25-dev] wrote: > > > Hi Don, > > Happy new year too! > > So far I am still learning the ropes with the B200. It?s doing a good job on an LSM system that is around 20 miles away. Still working out some of the tweaks though. I wish it had filtering though - but I guess I can buy some bad pass filters. > > Joe > >> On Jan 3, 2015, at 10:57 AM, Don Adams busterphenajo at yahoo.com [op25-dev] > wrote: >> >> >> WOW - How's that B200 USRP working. I wanna step up from RTL2832U. >> My OP25 decode is killer, can't imagine how things would be with a B200... >> Thanks, Don >> Sacramento, Ca. >> >> From the desk of, Don Adams >> >> From: "Joseph Cardani jcardani at verizon.net [op25-dev]" > >> To: op25-dev at yahoogroups.com >> Sent: Wednesday, December 31, 2014 8:28 AM >> Subject: Re: [op25-dev] Web site issues > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Jan 17 23:52:00 2015 From: op25-dev at yahoogroups.com (Brett Friermood brett.friermood@gmail.com [op25-dev]) Date: Sat, 17 Jan 2015 17:52:00 -0600 Subject: [op25-dev] No scope.py with new install Message-ID: Good evening everyone. I seem be having an issue with installing OP25. After installing via pybombs, scope.py as well as the rest of the scripts are missing. This is actually the second time installing on this computer. I first began with a clean install from a live CD of Debian 6. Via apt-get I upgraded to Debian 7, and eventually to debian-testing to resolve a dependency issue with libboost. All packages eventually installed then the install built op25. The only contents of ~/pybombs/src were 'uhd' and 'wxpython'. Trying again, I deleted the pybombs and target directories from /home and cloned pybombs again. I ran pybombs install and since all the packages were already installed it quickly went to building op25. Again after several hours most things are still missing. There were no errors during the build and a quick search of 'op25' and 'gnuradio' only find the .lwr files in the recipes directory, no directories anywhere. Also nothing in the syslog other than the hourly cron runs. The only thing I can possibly think of that might be related is that currently this machine is command line only. Unless I'm missing something I believe I should be able to build and even run certain parts of op25 without a GUI. This is the first time with this computer, but I've built and ran op25 before on another one. The funny thing is that there are no errors anywhere I look. Any ideas? Thanks Brett KQ9N -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Jan 17 23:55:52 2015 From: op25-dev at yahoogroups.com (Ryan Schilder rjschilder@gmail.com [op25-dev]) Date: Sat, 17 Jan 2015 17:55:52 -0600 Subject: [op25-dev] No scope.py with new install In-Reply-To: References: Message-ID: I think I ran into the same problem in the past. They turned out to be in a completely different location. It's definitely there somewhere, just have to find it. I think the .py files were inside a 'repeater' folder. Sorry for the limited help, I'm nowhere near a computer. Ryan kc9gmy On Jan 17, 2015 5:52 PM, "Brett Friermood brett.friermood at gmail.com [op25-dev]" wrote: > > > Good evening everyone. I seem be having an issue with installing OP25. > After installing via pybombs, scope.py as well as the rest of the > scripts are missing. > > This is actually the second time installing on this computer. I first > began with a clean install from a live CD of Debian 6. Via apt-get I > upgraded to Debian 7, and eventually to debian-testing to resolve a > dependency issue with libboost. All packages eventually installed then > the install built op25. The only contents of ~/pybombs/src were 'uhd' > and 'wxpython'. > > Trying again, I deleted the pybombs and target directories from /home > and cloned pybombs again. I ran pybombs install and since all the > packages were already installed it quickly went to building op25. > Again after several hours most things are still missing. There were no > errors during the build and a quick search of 'op25' and 'gnuradio' > only find the .lwr files in the recipes directory, no directories > anywhere. Also nothing in the syslog other than the hourly cron runs. > > The only thing I can possibly think of that might be related is that > currently this machine is command line only. Unless I'm missing > something I believe I should be able to build and even run certain > parts of op25 without a GUI. > > This is the first time with this computer, but I've built and ran op25 > before on another one. The funny thing is that there are no errors > anywhere I look. > > Any ideas? > > Thanks > Brett KQ9N > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Jan 18 00:15:05 2015 From: op25-dev at yahoogroups.com (Brett Friermood brett.friermood@gmail.com [op25-dev]) Date: Sat, 17 Jan 2015 18:15:05 -0600 Subject: [op25-dev] No scope.py with new install In-Reply-To: References: Message-ID: Right, they should be under pybombs/src/gr-op25_repeater/... or something to that effect. However, 'scope.py' does not exist anywhere on the computer. Brett On Sat, Jan 17, 2015 at 5:55 PM, Ryan Schilder rjschilder at gmail.com [op25-dev] wrote: > > > I think I ran into the same problem in the past. They turned out to be in > a completely different location. It's definitely there somewhere, just > have to find it. I think the .py files were inside a 'repeater' folder. > Sorry for the limited help, I'm nowhere near a computer. > > Ryan kc9gmy > On Jan 17, 2015 5:52 PM, "Brett Friermood brett.friermood at gmail.com > [op25-dev]" wrote: > >> >> >> Good evening everyone. I seem be having an issue with installing OP25. >> After installing via pybombs, scope.py as well as the rest of the >> scripts are missing. >> >> This is actually the second time installing on this computer. I first >> began with a clean install from a live CD of Debian 6. Via apt-get I >> upgraded to Debian 7, and eventually to debian-testing to resolve a >> dependency issue with libboost. All packages eventually installed then >> the install built op25. The only contents of ~/pybombs/src were 'uhd' >> and 'wxpython'. >> >> Trying again, I deleted the pybombs and target directories from /home >> and cloned pybombs again. I ran pybombs install and since all the >> packages were already installed it quickly went to building op25. >> Again after several hours most things are still missing. There were no >> errors during the build and a quick search of 'op25' and 'gnuradio' >> only find the .lwr files in the recipes directory, no directories >> anywhere. Also nothing in the syslog other than the hourly cron runs. >> >> The only thing I can possibly think of that might be related is that >> currently this machine is command line only. Unless I'm missing >> something I believe I should be able to build and even run certain >> parts of op25 without a GUI. >> >> This is the first time with this computer, but I've built and ran op25 >> before on another one. The funny thing is that there are no errors >> anywhere I look. >> >> Any ideas? >> >> Thanks >> Brett KQ9N >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Jan 18 14:33:37 2015 From: op25-dev at yahoogroups.com (mtindor@gmail.com [op25-dev]) Date: 18 Jan 2015 06:33:37 -0800 Subject: [op25-dev] Re: No scope.py with new install In-Reply-To: References: Message-ID: Brett, This isn't a direct solution to your problem -- just a recommendation. If you don't have any particular dislike for Linux Mint 17 (64-bit preferably if you have a 64-bit computer), you really might want to install Linux Mint 17 and go through the process as outlined by PiccoIntegra on the Radioreference forums: VirtualBox Project - Run OP25 on Windows 7 - The RadioReference.com Forums http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html VirtualBox Project - Run OP25 on Windows 7 - The Radio... http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html Crazy talk, certainly - but I'm willing to try this anyway. Going to try and get OP25 working in VirtualBox so we can play with OP25 even on a Windoze View on forums.radioreferenc... http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html Preview by Yahoo That thread is full of very detailed instructions for successfully installing pybombs, gnuradio, OP25, and any udev rules you may need for a particular device. The instructions work remarkably well on Linux Mint 17 (and I say this based upon personal experience). On that particular platform (Linux Mint 17 64-bit), I can go through the instructions and successfully install OP25 and use .scope.py every time. If you must run Linux Mint 32-bit, there is one place where you might run into trouble during the gnuradio build ( libvolk.so.0.0.0: undefined reference to `volk_64u_popcnt_a_sse4_2? at Airwaves http://goo.gl/VvrrIC http://goo.gl/VvrrIC libvolk.so.0.0.0: undefined reference to `volk_64u_pop... http://goo.gl/VvrrIC RF Monitoring in the Ohio Valley View on goo.gl http://goo.gl/VvrrIC Preview by Yahoo ) . If your device requires udev rules to be installed, they won't by default because you will probably be installing as a non-root user and simply sudo'ing. As such you'll have to manually install and activate the rules. That is also discussed in the RadioReference thread. You'll [likely] also want to edit the gr-op25.lwr recipe prior to attempting to build OP25 so that you can use the 'max' branch instead of 'master' branch. There are some benefits to that such as trunked voice following and things like that. If you get time, check out the thread. Scott [PiccoIntegra] and Max [KA1RBI] have provided all the information needed. NOTE: Theoretically you should be able to install everything on any distribution, but I've found nothing that works without a lot of issues except for Linux Mint 17 and the instructions in the RR thread. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Mon Feb 2 15:51:59 2015 From: op25-dev at yahoogroups.com (lukekb@gmail.com [op25-dev]) Date: 02 Feb 2015 07:51:59 -0800 Subject: [op25-dev] Re: [PATCH 1/2] OSX build support In-Reply-To: <20141012043948.34111BF489@ha.slofith.org> References: <20141012043948.34111BF489@ha.slofith.org> Message-ID: This patch worked great and let me build on OSX. Any chance on getting it merged into that main branch? -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Feb 3 16:05:59 2015 From: op25-dev at yahoogroups.com (ikj1234i@yahoo.com [op25-dev]) Date: 03 Feb 2015 08:05:59 -0800 Subject: [op25-dev] Re: [PATCH 1/2] OSX build support In-Reply-To: References: <20141012043948.34111BF489@ha.slofith.org> Message-ID: Yes the 'max' branch has had the Darwin patches applied since Dec. 5 (thx to Russ for submitting these).... If you could test that they compile properly now it would be helpful... Thx Max -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Feb 3 18:00:03 2015 From: op25-dev at yahoogroups.com (gregella53@gmail.com [op25-dev]) Date: 03 Feb 2015 10:00:03 -0800 Subject: [op25-dev] RC4 Message-ID: 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Feb 5 00:41:02 2015 From: op25-dev at yahoogroups.com (matt.robert80@yahoo.com [op25-dev]) Date: 04 Feb 2015 16:41:02 -0800 Subject: [op25-dev] Re: RC4 In-Reply-To: References: Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Feb 5 00:51:13 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 04 Feb 2015 19:51:13 -0500 Subject: [op25-dev] RC4 In-Reply-To: References: Message-ID: <3CB84BFD-323D-43A2-9FC1-6A04CBBFD190@verizon.net> Hi Matt, I definitely agree! JOE > On Feb 4, 2015, at 7:41 PM, matt.robert80 at yahoo.com [op25-dev] 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Feb 5 01:25:38 2015 From: op25-dev at yahoogroups.com (Steve Glass stevie.glass@gmail.com [op25-dev]) Date: Thu, 05 Feb 2015 11:25:38 +1000 Subject: [op25-dev] Re: RC4 In-Reply-To: References: Message-ID: <54D2C692.7000209@gmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 931 bytes Desc: OpenPGP digital signature URL: From op25-dev at yahoogroups.com Thu Feb 5 18:32:05 2015 From: op25-dev at yahoogroups.com (lukekb@gmail.com [op25-dev]) Date: 05 Feb 2015 10:32:05 -0800 Subject: [op25-dev] Re: [PATCH 1/2] OSX build support In-Reply-To: References: <20141012043948.34111BF489@ha.slofith.org> Message-ID: Awesome, I will go try the Max branch. I didn't think to look at the branches. -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Feb 8 19:33:36 2015 From: op25-dev at yahoogroups.com (edacs001@yahoo.com [op25-dev]) Date: 08 Feb 2015 11:33:36 -0800 Subject: [op25-dev] Re: RC4 In-Reply-To: References: Message-ID: Support for ADP would be great, several agencies use it in my area. -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Feb 8 22:08:06 2015 From: op25-dev at yahoogroups.com ('Robert Klamp' RobertKlamp@aol.com [op25-dev]) Date: Sun, 8 Feb 2015 16:08:06 -0600 Subject: [op25-dev] Re: RC4 In-Reply-To: References: Message-ID: <004201d043eb$b78533c0$268f9b40$@com> 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] Sent: Sunday, February 08, 2015 1:34 PM To: op25-dev at yahoogroups.com Subject: [op25-dev] Re: RC4 Support for ADP would be great, several agencies use it in my area. -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Feb 8 23:00:24 2015 From: op25-dev at yahoogroups.com (Brett Friermood brett.friermood@gmail.com [op25-dev]) Date: Sun, 8 Feb 2015 17:00:24 -0600 Subject: [op25-dev] Re: RC4 In-Reply-To: <004201d043eb$b78533c0$268f9b40$@com> References: <004201d043eb$b78533c0$268f9b40$@com> Message-ID: 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 at aol.com [op25-dev]" < op25-dev at 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] > *Sent:* Sunday, February 08, 2015 1:34 PM > *To:* op25-dev at yahoogroups.com > *Subject:* [op25-dev] Re: RC4 > > > > > > Support for ADP would be great, several agencies use it in my area. > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Feb 10 00:05:22 2015 From: op25-dev at yahoogroups.com (matt.robert80@yahoo.com [op25-dev]) Date: 09 Feb 2015 16:05:22 -0800 Subject: [op25-dev] Re: RC4 In-Reply-To: <004201d043eb$b78533c0$268f9b40$@com> References: <004201d043eb$b78533c0$268f9b40$@com> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Feb 10 00:18:36 2015 From: op25-dev at yahoogroups.com (matt.robert80@yahoo.com [op25-dev]) Date: 09 Feb 2015 16:18:36 -0800 Subject: [op25-dev] Re: RC4 In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Feb 10 14:20:13 2015 From: op25-dev at yahoogroups.com (Steve Glass stevie.glass@gmail.com [op25-dev]) Date: Wed, 11 Feb 2015 00:20:13 +1000 Subject: [op25-dev] Re: RC4 In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> Message-ID: <54DA139D.7070006@gmail.com> 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! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 931 bytes Desc: OpenPGP digital signature URL: From op25-dev at yahoogroups.com Wed Feb 11 00:14:32 2015 From: op25-dev at yahoogroups.com (matt.robert80@yahoo.com [op25-dev]) Date: 10 Feb 2015 16:14:32 -0800 Subject: [op25-dev] Re: RC4 In-Reply-To: <54DA139D.7070006@gmail.com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Feb 11 01:38:07 2015 From: op25-dev at yahoogroups.com (Steve Glass stevie.glass@gmail.com [op25-dev]) Date: Wed, 11 Feb 2015 11:38:07 +1000 Subject: [op25-dev] Re: RC4 In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> Message-ID: <54DAB27F.4050004@gmail.com> On 11/02/15 10:14, matt.robert80 at 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 :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 931 bytes Desc: OpenPGP digital signature URL: From op25-dev at yahoogroups.com Wed Feb 11 09:53:25 2015 From: op25-dev at yahoogroups.com (matt.robert80@yahoo.com [op25-dev]) Date: 11 Feb 2015 01:53:25 -0800 Subject: [op25-dev] Re: RC4 In-Reply-To: <54DAB27F.4050004@gmail.com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <54DAB27F.4050004@gmail.com> Message-ID: 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! -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Mon Mar 23 02:55:55 2015 From: op25-dev at yahoogroups.com (lukekb@gmail.com [op25-dev]) Date: 22 Mar 2015 19:55:55 -0700 Subject: [op25-dev] Weird repeating audio glitch Message-ID: Hi - I am using the op25_repeater blocks from the Max branch. I get a weird repeating audio glitch included with the decoded audio. I am clearly doing something wrong. Any idea where it could be? An example is here and I am attaching the file: http://openmhz.com/call/550f7f9ff44efef54e223b72 http://openmhz.com/call/550f7f9ff44efef54e223b72 The C++ code I am using is based on the scope.py code and p25_demodulator.py and is here: https://github.com/robotastic/trunk-recorder/blob/master/p25_recorder.cc https://github.com/robotastic/trunk-recorder/blob/master/p25_recorder.cc Any pointers would be huge! I am also trying to improve the CPU performance.... any thoughts there would be great. - Luke -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 101-1427079058_8.58988e+08.m4a Type: audio/mp4 Size: 91595 bytes Desc: not available URL: From op25-dev at yahoogroups.com Sat Mar 28 17:01:43 2015 From: op25-dev at yahoogroups.com (singleshare@yahoo.com [op25-dev]) Date: 28 Mar 2015 10:01:43 -0700 Subject: [op25-dev] recommended build versions Message-ID: Hi group, I want to build a new OP25/GnuRadio system. For those of you that may have a done a recent build, are there recommended versions of Linux and Gnuradio etc.. to use? My past experience was that different versions can cause major install headaches due to incompatibilities. I found it easier to try to get things working in a VM first so I could restore a snapshot after things got screwed up and would really like to minimize time spent to get a fresh build working correctly. Thanks for an tips! -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Mar 28 20:48:17 2015 From: op25-dev at yahoogroups.com (singleshare@yahoo.com [op25-dev]) Date: 28 Mar 2015 13:48:17 -0700 Subject: [op25-dev] Re: recommended build versions In-Reply-To: References: Message-ID: I'm just going to reply to myself that I found an excellent thread on the radioreference forums that looks to have all the information that I need. http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html I'm going to run with information here and see how it goes. -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Mar 28 23:36:09 2015 From: op25-dev at yahoogroups.com (Brett Friermood brett.friermood@gmail.com [op25-dev]) Date: Sat, 28 Mar 2015 18:36:09 -0500 Subject: [op25-dev] Re: recommended build versions In-Reply-To: References: Message-ID: There is a lot of good information in that thread. There appear to be a lot of people using Linux Mint as the distribution of choice. However, being based off Ubuntu it also includes the bloat that has crept into Ubuntu recently. Personally I prefer to use Debian which is the parent of Ubuntu. It is more simplistic in my view and doesn't have the fluff of Ubuntu using extra system resources. I did have an issue recently where I could not fully compile OP25 on Debian 7 because wxpython 2.8 would break when installing via pybombs. Simply installing it manually via apt-get allowed gnuradio and OP25 to build without issue. Brett KQ9N On Mar 28, 2015 3:48 PM, "singleshare at yahoo.com [op25-dev]" < op25-dev at yahoogroups.com> wrote: > > > I'm just going to reply to myself that I found an excellent thread on the > radioreference forums that looks to have all the information that I need. > > > http://forums.radioreference.com/software-defined-radio/301459-virtualbox-project-run-op25-windows-7-a.html > > > > I'm going to run with information here and see how it goes. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Apr 30 14:25:40 2015 From: op25-dev at yahoogroups.com (larry.vanderjagt@yahoo.com [op25-dev]) Date: 30 Apr 2015 07:25:40 -0700 Subject: [op25-dev] Is this configuration supposed to work? Message-ID: GNURadio installed with Pybombs OP25 installed with pybombs Versions are: gnuradio-config-info v3.7.6.1-128-g8a3ad1a5 uhd_003.008.002-131-gb850dfb5 ubuntu 14.04 LTS OP25 blocks show up in the list of blocks available for use in GNURadio Companion and decoder_bf,fsk4_demod_ff, fsk4_slicer_fb and pcap_source_b and gardner_costas_cc seem to add to the flowgraph. decoder_ff, vocoder and p25_frame_assembler cause the flowgraph to go blank with a final error in the terminal window of AttributeError: 'Block' object has no attribute 'horizontal_label'. Have done some quick searching, but have been unable to determine if this set of versions is supposed to work and what the problem may be if they are. If someone can comment (or point to a link that comments) on whether this configuration is supposed to operate it would be much appreciated. Thanks, LVDJ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed May 20 16:54:14 2015 From: op25-dev at yahoogroups.com (Brett Friermood brett.friermood@gmail.com [op25-dev]) Date: Wed, 20 May 2015 11:54:14 -0500 Subject: [op25-dev] Scope.py Non-GUI? Message-ID: Hi everyone, I seem to recall reading something a while ago, I thought it was the RadioReference thread, where some one explained the order in which the data passes between different scripts and how to call them individually. For whatever reason I cannot find that post again. I believe there was also mention of running without the GUI. Can anybody remember seeing that and point me to it? I've looked everywhere I can think of. Thanks, Brett -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Jun 24 19:37:20 2015 From: op25-dev at yahoogroups.com (ajd394@aol.com [op25-dev]) Date: 24 Jun 2015 12:37:20 -0700 Subject: [op25-dev] OP25 Site and git repo down? Message-ID: Hi guys! I'm having trouble accessing the OP25 page and git repo. Are you guys experiencing the same issue? -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Jun 25 08:48:51 2015 From: op25-dev at yahoogroups.com (Alexander Huemer alexander.huemer@xx.vu [op25-dev]) Date: Thu, 25 Jun 2015 10:48:51 +0200 Subject: [op25-dev] OP25 Site and git repo down? In-Reply-To: References: Message-ID: <20150625084851.GC18974@yade.xx.vu> Hi. On Wed, Jun 24, 2015 at 12:37:20PM -0700, ajd394 at aol.com [op25-dev] wrote: > I'm having trouble accessing the OP25 page and git repo. Are you guys > experiencing the same issue? Yes, the wiki is down. The admin is informed. I don't know about the git repo. Kind regards, -Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Sep 26 00:42:00 2015 From: op25-dev at yahoogroups.com (lists@lazygranch.com [op25-dev]) Date: 25 Sep 2015 17:42:00 -0700 Subject: [op25-dev] Mako bug Message-ID: First post and doing a search on the group, I have a unique bug in the build process. OS is Opensuse 13.2 64 on intel hardware. Here is the output from the pybomb: ./pybombs install gr-op25 Settled on prefix: /usr/local/src/target Initializing environmental variables... Loading recipes ... /usr/local/src/target Installing packages: * mako * numpy * uhd * alsa * cheetah * wxpython * ffi * pycairo * gobject-introspection * pygobject * pygtk * sip * qt4 * pyqt4 * pyqwt5 * ssl * libevent * apache-thrift * liblog4cpp * gnuradio * libpcap * rtl-sdr * osmo-sdr * hackrf * libosmo-dsp * gr-iqbal * bladeRF * airspy * gr-osmosdr * libitpp * gr-op25 Installing from source: mako Building: (100%) [==========================================================] Build failed. Re-trying with reduced makewidth and higher verbosity. python: can't open file 'setup.py': [Errno 2] No such file or directory Build failed. See output above for error messages. --------------------------------------- The "makewidth and higher verbosity" error seems to show up on the interwebs with compiling 64 bit code on a 32 bit OS, which isnt the case here. Is this pythonbomb scheme building a private library of sorts? That is, I have a number of these programs already installed. -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Sep 27 13:26:34 2015 From: op25-dev at yahoogroups.com (ikj1234i@yahoo.com [op25-dev]) Date: 27 Sep 2015 06:26:34 -0700 Subject: [op25-dev] Re: Mako bug In-Reply-To: References: Message-ID: this initially does not appear to have anything to do with OP25 - could you try posting this question on the discuss-gnuradio mailing list Max -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Sep 27 14:48:24 2015 From: op25-dev at yahoogroups.com (Balint balint256@hotmail.com [op25-dev]) Date: Sun, 27 Sep 2015 07:48:24 -0700 Subject: [op25-dev] Re: Mako bug In-Reply-To: References: Message-ID: Hi all, This likely might be pybombs encountering an error during UHD setup, as UHD has moved from using Cheetah to Mako. E.g. https://github.com/EttusResearch/uhd/issues/45 If you can output/find the logs of the build process, or try a manual setup, it should shed some light on what?s going wrong. Then perhaps a good idea to either file a bug like above, or post to the USRP-users mailing list. Good luck, Balint From: op25-dev at yahoogroups.com [mailto:op25-dev at yahoogroups.com] Sent: Sunday, 27 September 2015 6:27 AM To: op25-dev at yahoogroups.com Subject: [op25-dev] Re: Mako bug this initially does not appear to have anything to do with OP25 - could you try posting this question on the discuss-gnuradio mailing list Max -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Sep 27 16:19:20 2015 From: op25-dev at yahoogroups.com (lists@lazygranch.com [op25-dev]) Date: Sun, 27 Sep 2015 09:19:20 -0700 Subject: [op25-dev] Re: Mako bug In-Reply-To: References: Message-ID: <20150927161920.5451861.925.11218@lazygranch.com> An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Oct 6 02:12:21 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Mon, 05 Oct 2015 22:12:21 -0400 Subject: [op25-dev] RC4 In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> Message-ID: <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> 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 at yahoo.com [op25-dev] 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Oct 6 02:54:30 2015 From: op25-dev at yahoogroups.com (Steve Glass stevie.glass@gmail.com [op25-dev]) Date: Tue, 6 Oct 2015 12:54:30 +1000 Subject: [op25-dev] RC4 In-Reply-To: <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> Message-ID: 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 at verizon.net [op25-dev] < op25-dev at 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 at yahoo.com [op25-dev] < > op25-dev at 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 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Nov 14 00:58:49 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Fri, 13 Nov 2015 19:58:49 -0500 Subject: [op25-dev] My OP25 Development - need assistance from the group In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> Message-ID: <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 15 02:31:14 2015 From: op25-dev at yahoogroups.com (matt.ames7bc@gmail.com [op25-dev]) Date: 14 Nov 2015 18:31:14 -0800 Subject: [op25-dev] Re: My OP25 Development - need assistance from the group In-Reply-To: <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 15 04:21:11 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 14 Nov 2015 23:21:11 -0500 Subject: [op25-dev] My OP25 Development - need assistance from the group In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> Message-ID: 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 at gmail.com [op25-dev] 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Mon Nov 16 16:28:40 2015 From: op25-dev at yahoogroups.com ('Balint' balint256@hotmail.com [op25-dev]) Date: Mon, 16 Nov 2015 08:28:40 -0800 Subject: [op25-dev] My OP25 Development - need assistance from the group In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> Message-ID: <000001d1208b$daed68f0$90c83ad0$@com> 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] Sent: Saturday, 14 November 2015 8:21 PM To: op25-dev at 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 at gmail.com [op25-dev] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Nov 17 16:28:05 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 11:28:05 -0500 Subject: [op25-dev] My OP25 Development - need assistance from the group In-Reply-To: <000001d1208b$daed68f0$90c83ad0$@com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> Message-ID: 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 at hotmail.com [op25-dev] 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com ] > Sent: Saturday, 14 November 2015 8:21 PM > To: op25-dev at 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 at gmail.com [op25-dev] > 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 >> >> >> >> >> > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Tue Nov 17 18:38:11 2015 From: op25-dev at yahoogroups.com (Mark Tomlin dygear@gmail.com [op25-dev]) Date: Tue, 17 Nov 2015 13:38:11 -0500 Subject: [op25-dev] My OP25 Development - need assistance from the group In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> Message-ID: <0BF5816A-E87B-4228-93D8-00BF5B345412@gmail.com> I'll also give a compile tonight and report back. -- Mark 'Dygear' Tomlin > On Nov 17, 2015, at 11:28, Joseph Cardani jcardani at verizon.net [op25-dev] 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 at hotmail.com [op25-dev] 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] >> Sent: Saturday, 14 November 2015 8:21 PM >> To: op25-dev at 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 at gmail.com [op25-dev] 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 >>> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 02:12:53 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 21:12:53 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <000001d1208b$daed68f0$90c83ad0$@com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> Message-ID: Hi Balint, It blew up when I tried to compile the new blocks. Here?s a copy of the terminal window. Thanks! jcardani at 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 at 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::::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::? 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::vector::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 at jcardani-ThinkCentre-XXXX ~/gr-baz/build $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 02:22:04 2015 From: op25-dev at yahoogroups.com (Matt Ames matt.ames7bc@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 13:22:04 +1100 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> Message-ID: Hi Joe, Can you open up the file "baz_additive_scrambler_bb.cc" in the source tree and add "#include " at the top? Cheers, Matt On 18 November 2015 at 13:12, Joseph Cardani jcardani at verizon.net [op25-dev] wrote: > > > Hi Balint, > > It blew up when I tried to compile the new blocks. Here?s a copy of the > terminal window. > > Thanks! > > jcardani at 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 at 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::::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::? 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::vector::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 at jcardani-ThinkCentre-XXXX ~/gr-baz/build $ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 02:30:38 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 21:30:38 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> Message-ID: <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> 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 at gmail.com [op25-dev] wrote: > > > Hi Joe, > > Can you open up the file "baz_additive_scrambler_bb.cc" in the source tree and add "#include " at the top? > > Cheers, > Matt > > > On 18 November 2015 at 13:12, Joseph Cardani jcardani at verizon.net [op25-dev] > wrote: > > Hi Balint, > > It blew up when I tried to compile the new blocks. Here?s a copy of the terminal window. > > Thanks! > > jcardani at 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 at 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::::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::? 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::vector::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 at jcardani-ThinkCentre-XXXX ~/gr-baz/build $ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 02:32:56 2015 From: op25-dev at yahoogroups.com (Matt Ames matt.ames7bc@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 13:32:56 +1100 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> Message-ID: It should be fine - give it a shot and see what happens :) Cheers, Matt On 18 November 2015 at 13:30, Joseph Cardani jcardani at verizon.net [op25-dev] 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 at gmail.com [op25-dev] < > op25-dev at yahoogroups.com> wrote: > > > Hi Joe, > > Can you open up the file "baz_additive_scrambler_bb.cc" in the source tree > and add "#include " at the top? > > Cheers, > Matt > > > On 18 November 2015 at 13:12, Joseph Cardani jcardani at verizon.net > [op25-dev] wrote: > >> >> >> Hi Balint, >> >> It blew up when I tried to compile the new blocks. Here?s a copy of the >> terminal window. >> >> Thanks! >> >> jcardani at 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 at 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::> 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::? 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::vector::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 at jcardani-ThinkCentre-XXXX ~/gr-baz/build $ >> > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 02:58:51 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 21:58:51 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> Message-ID: Hi Matt, Got errors on make .. Hope an easy fix. Here?s a copy of the terminal window: jcardani at jcardani-ThinkCentre-XXXX ~ $ mkdir op25test jcardani at jcardani-ThinkCentre-XXXX ~ $ cd op25test jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make make: *** No targets specified and no makefile found. Stop. jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 03:18:43 2015 From: op25-dev at yahoogroups.com (Matt Ames matt.ames7bc@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 14:18:43 +1100 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> Message-ID: Hi Joe, From op25-dev at yahoogroups.com Wed Nov 18 03:33:19 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 22:33:19 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> Message-ID: 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 at gmail.com [op25-dev] wrote: > > > Hi Joe, > > From Balint - please open up the makefile and add the variable in manually: > > -GR_FILTER_LIBRARY= > > 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 at verizon.net [op25-dev] > wrote: > > Hi Matt, > > > Got errors on make .. > > Hope an easy fix. Here?s a copy of the terminal window: > > jcardani at jcardani-ThinkCentre-XXXX ~ $ mkdir op25test > jcardani at jcardani-ThinkCentre-XXXX ~ $ cd op25test > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 > jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build > jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make > make: *** No targets specified and no makefile found. Stop. > jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 03:50:59 2015 From: op25-dev at yahoogroups.com (Matt Ames matt.ames7bc@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 14:50:59 +1100 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> Message-ID: Apologies Joe, I minced the words - my bad. from the command line, run "cmake -DGR_FILTER_LIBRARY=" 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 at verizon.net [op25-dev] 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 at gmail.com [op25-dev] > wrote: > > > Hi Joe, > > From Balint - please open up the makefile and add the variable in manually: > > -GR_FILTER_LIBRARY= /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 at verizon.net > [op25-dev] wrote: > >> >> >> Hi Matt, >> >> Got errors on make .. >> >> Hope an easy fix. Here?s a copy of the terminal window: >> >> jcardani at jcardani-ThinkCentre-XXXX ~ $ mkdir op25test >> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd op25test >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 >> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build >> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make >> make: *** No targets specified and no makefile found. Stop. >> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 04:00:44 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 23:00:44 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> Message-ID: <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> 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= Is this correct? thanks and sorry to be a pest. Joe > On Nov 17, 2015, at 10:50 PM, Matt Ames matt.ames7bc at gmail.com [op25-dev] wrote: > > > Apologies Joe, > > I minced the words - my bad. from the command line, run "cmake -DGR_FILTER_LIBRARY=" 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 at verizon.net [op25-dev] > 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 at gmail.com [op25-dev] > wrote: >> >> >> Hi Joe, >> >> From Balint - please open up the makefile and add the variable in manually: >> >> -GR_FILTER_LIBRARY= >> >> 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 at verizon.net [op25-dev] > wrote: >> >> Hi Matt, >> >> >> Got errors on make .. >> >> Hope an easy fix. Here?s a copy of the terminal window: >> >> jcardani at jcardani-ThinkCentre-XXXX ~ $ mkdir op25test >> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd op25test >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 >> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build >> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make >> make: *** No targets specified and no makefile found. Stop. >> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ >> >> >> > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 04:13:44 2015 From: op25-dev at yahoogroups.com (Matt Ames matt.ames7bc@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 15:13:44 +1100 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> Message-ID: 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 at verizon.net [op25-dev] 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= > > Is this correct? > > thanks and sorry to be a pest. > > Joe > > On Nov 17, 2015, at 10:50 PM, Matt Ames matt.ames7bc at gmail.com [op25-dev] > wrote: > > > Apologies Joe, > > I minced the words - my bad. from the command line, run "cmake > -DGR_FILTER_LIBRARY= /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 at verizon.net > [op25-dev] 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 at gmail.com [op25-dev] >> wrote: >> >> >> Hi Joe, >> >> From Balint - please open up the makefile and add the variable in >> manually: >> >> -GR_FILTER_LIBRARY=> /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 at verizon.net >> [op25-dev] wrote: >> >>> >>> >>> Hi Matt, >>> >>> Got errors on make .. >>> >>> Hope an easy fix. Here?s a copy of the terminal window: >>> >>> jcardani at jcardani-ThinkCentre-XXXX ~ $ mkdir op25test >>> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd op25test >>> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 >>> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build >>> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build >>> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ make >>> make: *** No targets specified and no makefile found. Stop. >>> jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ >>> >>> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 04:32:36 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 23:32:36 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> Message-ID: <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> 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 at 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 at 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 : In member function ?virtual void hdu::do_correct_errors(bit_vector&)?: /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/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 :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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 04:42:46 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Tue, 17 Nov 2015 23:42:46 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> Message-ID: Added the #include 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 at verizon.net [op25-dev] 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 at 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 at 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 : In member function ?virtual void hdu::do_correct_errors(bit_vector&)?: > /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/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 :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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 05:03:02 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 18 Nov 2015 00:03:02 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> Message-ID: Hi Again, Added a few #include 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 at 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 mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 05:19:45 2015 From: op25-dev at yahoogroups.com (Mark Tomlin dygear@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 00:19:45 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> Message-ID: 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 at verizon.net [op25-dev] wrote: > > Hi Again, > > > Added a few #include 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 at 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 mi; > ^ > /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid > std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 07:18:54 2015 From: op25-dev at yahoogroups.com ('Balint' balint256@hotmail.com [op25-dev]) Date: Tue, 17 Nov 2015 23:18:54 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> Message-ID: <004201d121d1$648e64b0$2dab2e10$@com> 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: op25-dev at 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 at verizon.net [op25-dev] wrote: Hi Again, Added a few #include 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 at 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 mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 14:18:59 2015 From: op25-dev at yahoogroups.com (Joe Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 18 Nov 2015 09:18:59 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <004201d121d1$648e64b0$2dab2e10$@com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> Message-ID: <7AD3C61E-3C0F-4E86-A099-AB7176989290@verizon.net> 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 at hotmail.com [op25-dev] 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] > Sent: Tuesday, 17 November 2015 9:20 PM > To: op25-dev at 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 at verizon.net [op25-dev] wrote: > > > > Hi Again, > > > > Added a few #include 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 at 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 mi; > ^ > /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid > std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 18 18:41:05 2015 From: op25-dev at yahoogroups.com (Mark Tomlin dygear@gmail.com [op25-dev]) Date: Wed, 18 Nov 2015 13:41:05 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <004201d121d1$648e64b0$2dab2e10$@com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> Message-ID: I'm running OSX, so I'll give it a pull. -- Mark 'Dygear' Tomlin > On Nov 18, 2015, at 02:18, 'Balint' balint256 at hotmail.com [op25-dev] 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] > Sent: Tuesday, 17 November 2015 9:20 PM > To: op25-dev at 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 at verizon.net [op25-dev] wrote: > > > > Hi Again, > > > > Added a few #include 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 at 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 mi; > ^ > /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid > std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 19 00:20:10 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 18 Nov 2015 19:20:10 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> Message-ID: 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 at gmail.com [op25-dev] wrote: > > > I'm running OSX, so I'll give it a pull. > > -- > Mark 'Dygear' Tomlin > > On Nov 18, 2015, at 02:18, 'Balint' balint256 at hotmail.com [op25-dev] > 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com ] >> Sent: Tuesday, 17 November 2015 9:20 PM >> To: op25-dev at 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 at verizon.net [op25-dev] > wrote: >> >> >> >> Hi Again, >> >> >> >> Added a few #include 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 at 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 mi; >> ^ >> /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid >> std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 19 00:29:06 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 18 Nov 2015 19:29:06 -0500 Subject: [op25-dev] ODMR? In-Reply-To: <7AD3C61E-3C0F-4E86-A099-AB7176989290@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <7AD3C61E-3C0F-4E86-A099-AB7176989290@verizon.net> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 19 10:56:31 2015 From: op25-dev at yahoogroups.com (matt.ames7bc@gmail.com [op25-dev]) Date: 19 Nov 2015 02:56:31 -0800 Subject: [op25-dev] Re: ODMR? In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <7AD3C61E-3C0F-4E86-A099-AB7176989290@verizon.net> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 25 07:20:50 2015 From: op25-dev at yahoogroups.com ('Balint' balint256@hotmail.com [op25-dev]) Date: Tue, 24 Nov 2015 23:20:50 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> Message-ID: <496701d12751$d06ec690$714c53b0$@com> 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] Sent: Wednesday, 18 November 2015 4:20 PM To: op25-dev at 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 at gmail.com [op25-dev] wrote: I'm running OSX, so I'll give it a pull. -- Mark 'Dygear' Tomlin On Nov 18, 2015, at 02:18, 'Balint' balint256 at hotmail.com [op25-dev] 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 at yahoogroups.com [ mailto:op25-dev at yahoogroups.com] Sent: Tuesday, 17 November 2015 9:20 PM To: op25-dev at 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 at verizon.net [op25-dev] < op25-dev at yahoogroups.com> wrote: Hi Again, Added a few #include 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 at 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 mi; ^ /home/jcardani/pybombs/src/gr-op25test/op25/op25/gr-op25/lib/crypto.h:17:21: error: template argument 1 is invalid std::vector 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 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 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 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/gr-op25test/op25/build $ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 359 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 332 bytes Desc: not available URL: From op25-dev at yahoogroups.com Wed Nov 25 17:06:35 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 12:06:35 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <496701d12751$d06ec690$714c53b0$@com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> Message-ID: <2374438E-6B68-45A4-ADFA-5A5E40FE111A@verizon.net> 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 at jcardani-ThinkCentre-XXXX ~/op25test $ git clone 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 at jcardani-ThinkCentre-XXXX ~/op25test $ dir op25 jcardani at jcardani-ThinkCentre-XXXX ~/op25test $ cd op25 jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ mkdir build jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25 $ cd build jcardani at 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 at 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 at 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 : In member function ?virtual bool ldu::process_meta_data(bit_vector&)?: /home/jcardani/op25test/op25/op25/gr-op25/lib/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 : In member function ?virtual bool des_ofb::set_key(const key_type&)?: /home/jcardani/op25test/op25/op25/gr-op25/lib/crypto.cc :143:118: warning: format ?%lu? expects argument of type ?long unsigned int?, but argument 3 has type ?std::vector::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 :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 at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ sudo ldconfig jcardani at 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 at jcardani-ThinkCentre-XXXX ~/op25test/op25/build $ cd op25 jcardani at jcardani-ThinkCentre-XXXX ~/op25test/op25/build/op25 $ > On Nov 25, 2015, at 2:20 AM, 'Balint' balint256 at hotmail.com [op25-dev] 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 25 21:42:24 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 25 Nov 2015 13:42:24 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <496701d12751$d06ec690$714c53b0$@com> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 25 22:08:33 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 17:08:33 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> Message-ID: <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> 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 at hotmail.com [op25-dev] 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 25 22:21:21 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 17:21:21 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: 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 > On Nov 25, 2015, at 5:08 PM, Joseph Cardani jcardani at verizon.net [op25-dev] 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 at hotmail.com [op25-dev] > 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 >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Wed Nov 25 22:54:28 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 25 Nov 2015 14:54:28 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: 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 at yahoogroups.com, 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:01:48 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 20:01:48 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: 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 at hotmail.com [op25-dev] 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 at yahoogroups.com , 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:13:56 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 20:13:56 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: <6FE67A97-1F7E-4ED5-AF83-DAF141F1F162@verizon.net> 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 at hotmail.com [op25-dev] 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 at yahoogroups.com , 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:18:27 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 25 Nov 2015 17:18:27 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: Balint?s code is different than osmocom's code, so you need to point to each source accordingly. ---In op25-dev at yahoogroups.com, 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:24:24 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 20:24:24 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: <1BAB56A3-1E2C-4DA5-9C6F-5137A2F320E7@verizon.net> 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 at hotmail.com [op25-dev] wrote: > > Balint?s code is different than osmocom's code, so you need to point to each source accordingly. > > > > > > ---In op25-dev at yahoogroups.com , 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:33:21 2015 From: op25-dev at yahoogroups.com (Matt Ames matt.ames7bc@gmail.com [op25-dev]) Date: Thu, 26 Nov 2015 12:33:21 +1100 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: 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 at hotmail.com [op25-dev] < op25-dev at yahoogroups.com> wrote: > > > Balint?s code is different than osmocom's code, so you need to point to > each source accordingly. > > > > > ---In op25-dev at yahoogroups.com, 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:31:55 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 20:31:55 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: <43EC87A4-8C62-4ECB-A3BC-5EDBD6AD0CD7@verizon.net> 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 at hotmail.com [op25-dev] wrote: > > Balint?s code is different than osmocom's code, so you need to point to each source accordingly. > > > > > > ---In op25-dev at yahoogroups.com , 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 01:43:55 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Wed, 25 Nov 2015 20:43:55 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: 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 at gmail.com [op25-dev] 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 at hotmail.com [op25-dev] > wrote: > > Balint?s code is different than osmocom's code, so you need to point to each source accordingly. > > > > > > ---In op25-dev at yahoogroups.com , 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 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 04:51:23 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 25 Nov 2015 20:51:23 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 05:05:17 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Thu, 26 Nov 2015 00:05:17 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: <2E10E3E7-DAAA-4A0A-8446-020C12C42951@verizon.net> 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 at hotmail.com [op25-dev] 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Thu Nov 26 05:14:01 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 25 Nov 2015 21:14:01 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <2E10E3E7-DAAA-4A0A-8446-020C12C42951@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <2E10E3E7-DAAA-4A0A-8446-020C12C42951@verizon.net> Message-ID: Sorry it was a late response.. had dinner, two hour #Survivor and couldn't miss it! And you too! -S ---In op25-dev at yahoogroups.com, 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Fri Nov 27 17:40:19 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Fri, 27 Nov 2015 12:40:19 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> Message-ID: <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> 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 at hotmail.com [op25-dev] 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Nov 28 19:50:51 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 14:50:51 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> Message-ID: <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> 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 at 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 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 at 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 gitbranch: master #gitbranch: max inherit: cmake thanks Joe > On Nov 27, 2015, at 12:40 PM, Joseph Cardani jcardani at verizon.net [op25-dev] 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 at hotmail.com [op25-dev] > 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 >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Nov 28 20:12:34 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 15:12:34 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> Message-ID: <2B1255F7-FDA2-4DC9-AA07-76B59DF5F765@verizon.net> 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 at 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 > 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 at 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 > gitbranch: master > #gitbranch: max > inherit: cmake > > > thanks > > Joe > > >> On Nov 27, 2015, at 12:40 PM, Joseph Cardani jcardani at verizon.net [op25-dev] > 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 at hotmail.com [op25-dev] > 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 >>> >>> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Nov 28 21:27:39 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 28 Nov 2015 13:27:39 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> Message-ID: 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 at yahoogroups.com, 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 at 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 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sat Nov 28 21:51:49 2015 From: op25-dev at yahoogroups.com (Joe Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 16:51:49 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d043eb$b78533c0$268f9b40$@com> <54DA139D.7070006@gmail.com> <5D4C1429-1FCB-48E8-BE94-B1D5AE1A0A36@verizon.net> <02F16493-B795-464F-89A4-4DCE2295B0A8@verizon.net> <000001d1208b$daed68f0$90c83ad0$@com> <3121AB5C-6432-4FDD-B1C6-3485EABBE2A7@verizon.net> <0C3C39A5-B8F0-4CDB-A18D-F84183462E73@verizon.net> <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> Message-ID: <7903498B-8EDE-441D-BE4F-04127C572E07@verizon.net> 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 at 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 at yahoogroups.com, 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 at 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 > 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:21:24 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 19:21:24 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> Message-ID: <565A4504.90605@verizon.net> Hi Scott. Here's the output jcardani at 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 at jcardani-ThinkCentre-XXXX ~ $ On 11/28/2015 04:27 PM, verymetl at 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 at yahoogroups.com, 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 at 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 > 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:31:05 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 28 Nov 2015 16:31:05 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <565A4504.90605@verizon.net> References: <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> Message-ID: 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 at yahoogroups.com, wrote : Hi Scott. Here's the output jcardani at 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 at jcardani-ThinkCentre-XXXX ~ $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:35:43 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 19:35:43 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <8464A701-EDE2-4540-8D89-0B52DB619A5A@verizon.net> <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> Message-ID: <472378FD-6D3A-41B3-A803-0B1748639711@verizon.net> 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 at 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 at yahoogroups.com , wrote : > > Hi Scott. > > > Here's the output > > jcardani at 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 at jcardani-ThinkCentre-XXXX ~ $ > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:41:51 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 19:41:51 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> Message-ID: <565A49CF.6050606@verizon.net> I renamed from op25 to gr-op25 and Failed again. Gonna try one more thing but Here's the output: jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ On 11/28/2015 07:31 PM, verymetl at 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 at yahoogroups.com, wrote : > > Hi Scott. > > > Here's the output > > jcardani at 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 at jcardani-ThinkCentre-XXXX ~ $ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:46:46 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 19:46:46 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <565A49CF.6050606@verizon.net> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> Message-ID: 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 at verizon.net [op25-dev] wrote: > > I renamed from op25 to gr-op25 and Failed again. > > Gonna try one more thing but Here's the output: > > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ > jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ > > > > > > > > > On 11/28/2015 07:31 PM, verymetl at 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 at yahoogroups.com , wrote : >> >> Hi Scott. >> >> >> Here's the output >> >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~ $ >> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:53:07 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 19:53:07 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> Message-ID: <565A4C73.4000804@verizon.net> Hi Scott, I thought I was OK. tried running Scope and now get an error: jcardani at 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 import op25_repeater File "/home/jcardani/target/lib/python2.7/dist-packages/op25_repeater/__init__.py", line 45, in from op25_repeater_swig import * File "/home/jcardani/target/lib/python2.7/dist-packages/op25_repeater/op25_repeater_swig.py", line 28, in _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 at jcardani-ThinkCentre-XXXX ~/pybombs/src/op25/op25/gr-op25_repeater/apps $ On 11/28/2015 07:46 PM, Joseph Cardani jcardani at 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 at verizon.net >> [op25-dev] > > wrote: >> >> I renamed from op25 to gr-op25 and Failed again. >> >> Gonna try one more thing but Here's the output: >> >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ >> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ >> >> >> >> >> >> >> >> On 11/28/2015 07:31 PM,verymetl at 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 at yahoogroups.com,wrote : >>> >>> Hi Scott. >>> >>> >>> Here's the output >>> >>> jcardani at 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 at jcardani-ThinkCentre-XXXX ~ $ >>> >>> >>> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 00:53:57 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 28 Nov 2015 16:53:57 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <565A49CF.6050606@verizon.net> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> Message-ID: 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 at yahoogroups.com, wrote : I renamed from op25 to gr-op25 and Failed again. Gonna try one more thing but Here's the output: jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:02:18 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 20:02:18 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> Message-ID: <0331C5F3-D73C-4609-B67C-6371547D7058@verizon.net> Hi Scott There?s no gr-op25 directory there, just op25 > On Nov 28, 2015, at 7:53 PM, verymetl at hotmail.com [op25-dev] 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 at yahoogroups.com , wrote : > > I renamed from op25 to gr-op25 and Failed again. > > Gonna try one more thing but Here's the output: > > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ > jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:03:34 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 20:03:34 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> Message-ID: <45EB276D-02C0-4123-8B5B-7E43F266D096@verizon.net> Sorry it was I did delete it > On Nov 28, 2015, at 7:53 PM, verymetl at hotmail.com [op25-dev] 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 at yahoogroups.com , wrote : > > I renamed from op25 to gr-op25 and Failed again. > > Gonna try one more thing but Here's the output: > > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ > jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:08:51 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 20:08:51 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <45EB276D-02C0-4123-8B5B-7E43F266D096@verizon.net> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <45EB276D-02C0-4123-8B5B-7E43F266D096@verizon.net> Message-ID: <432B44CA-C2D3-4965-8972-11DC81F678D5@verizon.net> 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 at verizon.net [op25-dev] wrote: > > Sorry it was I did delete it > > >> On Nov 28, 2015, at 7:53 PM, verymetl at hotmail.com [op25-dev] > 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 at yahoogroups.com , wrote : >> >> I renamed from op25 to gr-op25 and Failed again. >> >> Gonna try one more thing but Here's the output: >> >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ >> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:14:34 2015 From: op25-dev at yahoogroups.com ('Balint' balint256@hotmail.com [op25-dev]) Date: Sat, 28 Nov 2015 17:14:34 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> Message-ID: <08e201d12a43$51972390$f4c56ab0$@com> 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com] Sent: Saturday, 28 November 2015 4:54 PM To: op25-dev at 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 at yahoogroups.com, wrote : I renamed from op25 to gr-op25 and Failed again. Gonna try one more thing but Here's the output: jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:16:34 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 20:16:34 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <432B44CA-C2D3-4965-8972-11DC81F678D5@verizon.net> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <45EB276D-02C0-4123-8B5B-7E43F266D096@verizon.net> <432B44CA-C2D3-4965-8972-11DC81F678D5@verizon.net> Message-ID: <8AAA028E-5CF2-4AA4-9052-8A9E685E0823@verizon.net> 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 at verizon.net [op25-dev] 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 at verizon.net [op25-dev] > wrote: >> >> Sorry it was I did delete it >> >> >>> On Nov 28, 2015, at 7:53 PM, verymetl at hotmail.com [op25-dev] > 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 at yahoogroups.com , wrote : >>> >>> I renamed from op25 to gr-op25 and Failed again. >>> >>> Gonna try one more thing but Here's the output: >>> >>> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ >>> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs >>> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ >>> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:21:51 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 20:21:51 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <08e201d12a43$51972390$f4c56ab0$@com> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> Message-ID: <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> Hi Balint, How do I execure that/ Joe > On Nov 28, 2015, at 8:14 PM, 'Balint' balint256 at hotmail.com [op25-dev] 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com ] > Sent: Saturday, 28 November 2015 4:54 PM > To: op25-dev at 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 at yahoogroups.com , wrote : > > I renamed from op25 to gr-op25 and Failed again. > > Gonna try one more thing but Here's the output: > > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ > jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs > jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:37:04 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 20:37:04 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> Message-ID: <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> 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 at verizon.net [op25-dev] wrote: > > Hi Balint, > > > How do I execure that/ > > Joe > > > >> On Nov 28, 2015, at 8:14 PM, 'Balint' balint256 at hotmail.com [op25-dev] > 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 at yahoogroups.com [mailto:op25-dev at yahoogroups.com ] >> Sent: Saturday, 28 November 2015 4:54 PM >> To: op25-dev at 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 at yahoogroups.com , wrote : >> >> I renamed from op25 to gr-op25 and Failed again. >> >> Gonna try one more thing but Here's the output: >> >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs/src $ cd ~ >> jcardani at jcardani-ThinkCentre-XXXX ~ $ cd pybombs >> jcardani at 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 at jcardani-ThinkCentre-XXXX ~/pybombs $ >> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 01:58:02 2015 From: op25-dev at yahoogroups.com (verymetl@hotmail.com [op25-dev]) Date: 28 Nov 2015 17:58:02 -0800 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> Message-ID: 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 at yahoogroups.com, 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 02:08:07 2015 From: op25-dev at yahoogroups.com (ikj1234i@yahoo.com [op25-dev]) Date: 28 Nov 2015 18:08:07 -0800 Subject: [op25-dev] balint256 op25 repo is several commits behind the osmocom.org op25 repo Message-ID: Greetings It looks like the balint256 'op25' repo tracks the op25 repo at op25.osmocom.org only up to commit 2051a96198c. The op25.osmocom.org repo has more than a dozen additional commits beyond that, which means that the balint256 op25 install is approx. one year out of date. All of balint's changes don't affect the op25_repeater, so there shouldn't be a big hassle when the time comes to merge everything into master. It looks only like one or two CMakeLists.txt files might have merge conflicts, YMMV. Accordingly, I recommend as follows (until such time as the merge may happen) - use only the op25.osmocom.org build when running scope.py - use only the balint256 one with balint's associated changes - keep them otherwise separate Max ps. Knuckle Punch to Balint!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 02:15:48 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 21:15:48 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> Message-ID: <565A5FD4.1020306@verizon.net> I installed Balints code again jcardani at 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 at 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 at 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 at 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 at 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 at yahoogroups.com, 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 02:20:06 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 21:20:06 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> Message-ID: <1B5D2063-ACE2-4436-A3A6-EB0480C884F5@verizon.net> 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 at 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 at yahoogroups.com , 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 02:37:11 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 21:37:11 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> Message-ID: 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 at 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 at yahoogroups.com , 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 02:40:38 2015 From: op25-dev at yahoogroups.com (Joseph Cardani jcardani@verizon.net [op25-dev]) Date: Sat, 28 Nov 2015 21:40:38 -0500 Subject: [op25-dev] Beta Test of New Additions - compile error on make In-Reply-To: References: <004201d121d1$648e64b0$2dab2e10$@com> <496701d12751$d06ec690$714c53b0$@com> <8AF8B12A-F80A-4F51-8C66-552F4A572DFB@verizon.net> <9DFE817B-F89B-4E01-9F50-C2B840DDC507@verizon.net> <7957F1D7-BC10-4BF8-927F-738A39E0B465@verizon.net> <565A4504.90605@verizon.net> <565A49CF.6050606@verizon.net> <08e201d12a43$51972390$f4c56ab0$@com> <55FC968B-B28C-45E3-B1CB-B821E84E94CF@verizon.net> <8E7ED210-C1B7-483E-B5D4-4023B33A0D0B@verizon.net> Message-ID: <150A2BD4-4B08-4CE4-BAB7-DA6EAACA6809@verizon.net> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Sun Nov 29 13:33:38 2015 From: op25-dev at yahoogroups.com (Mark Tomlin dygear@gmail.com [op25-dev]) Date: Sun, 29 Nov 2015 08:33:38 -0500 Subject: [op25-dev] balint256 op25 repo is several commits behind the osmocom.org op25 repo In-Reply-To: References: Message-ID: Feel like doing that merge Max? On Sat, Nov 28, 2015 at 9:08 PM, ikj1234i at yahoo.com [op25-dev] < op25-dev at yahoogroups.com> wrote: > > > Greetings > > It looks like the balint256 'op25' repo tracks the op25 repo at > op25.osmocom.org only up to commit 2051a96198c. > > The op25.osmocom.org repo has more than a dozen additional commits beyond > that, which means that the balint256 op25 install is approx. one year out > of date. All of balint's changes don't affect the op25_repeater, so there > shouldn't be a big hassle when the time comes to merge everything into > master. It looks only like one or two CMakeLists.txt files might have > merge conflicts, YMMV. > > Accordingly, I recommend as follows (until such time as the merge may > happen) > - use only the op25.osmocom.org build when running scope.py > - use only the balint256 one with balint's associated changes > - keep them otherwise separate > > > Max > > > ps. Knuckle Punch to Balint!! > > > -- Thank you for your time, Mark 'Dygear' Tomlin; -------------- next part -------------- An HTML attachment was scrubbed... URL: From op25-dev at yahoogroups.com Mon Dec 14 15:59:16 2015 From: op25-dev at yahoogroups.com (Chris Kuethe chris.kuethe@gmail.com [op25-dev]) Date: Mon, 14 Dec 2015 07:59:16 -0800 Subject: [op25-dev] Fwd: fix parse error in grc In-Reply-To: References: Message-ID: op25_repeater_fsk4_slicer_fb.xml needs to have the ampersand as an html entity ---------- Forwarded message ---------- From: "Chris Kuethe" Date: Dec 13, 2015 9:31 PM Subject: fix parse error in grc To: Cc: diff --git a/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml b/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml index 403e89e..8a393c5 100644 --- a/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml +++ b/op25/gr-op25_repeater/grc/op25_repeater_fsk4_slicer_fb.xml @@ -4,7 +4,7 @@ op25_repeater_fsk4_slicer_fb op25_repeater import op25_repeater - op25_repeater.fsk4_slicer_fb($&slice_levels) + op25_repeater.fsk4_slicer_fb($&slice_levels)