Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake

2012-03-20 Thread Tom Rondeau
On Tue, Mar 20, 2012 at 6:05 PM, Josh Blum wrote: > > > On 03/20/2012 03:02 PM, Achilleas Anastasopoulos wrote: > > Success! > > > > Everything works fine as long as I make the following change on the top > > CMakeLists.txt file in gr-howto-write-a-block-cmake > > from > > project(gr-howto-write-

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Tom Rondeau
On Tue, Mar 20, 2012 at 2:24 PM, Nick Foster wrote: > On Tue, Mar 20, 2012 at 10:59 AM, Tom Rondeau wrote: > >> On Tue, Mar 20, 2012 at 11:03 AM, Frederick Stevens < >> sk8tesgr...@gmail.com> wrote: >> >>> Tom, et. al. >>> >>> Here is the output from the volk_profile run (see attached). >>> >>>

Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake

2012-03-20 Thread Josh Blum
On 03/20/2012 03:02 PM, Achilleas Anastasopoulos wrote: > Success! > > Everything works fine as long as I make the following change on the top > CMakeLists.txt file in gr-howto-write-a-block-cmake > from > project(gr-howto-write-a-block CXX) > to > project(gr-howto-write-a-block CXX C) > > Cmak

Re: [Discuss-gnuradio] problem building gr-howto-write-a-block-cmake

2012-03-20 Thread Achilleas Anastasopoulos
Success! Everything works fine as long as I make the following change on the top CMakeLists.txt file in gr-howto-write-a-block-cmake from project(gr-howto-write-a-block CXX) to project(gr-howto-write-a-block CXX C) Cmake is now finding the PythonLibs at: /usr/lib64/libpython2.7.so I have no idea

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Nick Foster
On Tue, Mar 20, 2012 at 10:59 AM, Tom Rondeau wrote: > On Tue, Mar 20, 2012 at 11:03 AM, Frederick Stevens > wrote: > >> Tom, et. al. >> >> Here is the output from the volk_profile run (see attached). >> >> Cheers, >> >> Fred >> > > Well, Fred, that output looks good. Everything's showing up as

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Tom Rondeau
On Tue, Mar 20, 2012 at 11:03 AM, Frederick Stevens wrote: > Tom, et. al. > > Here is the output from the volk_profile run (see attached). > > Cheers, > > Fred > Well, Fred, that output looks good. Everything's showing up as it should. Interesting that it passed this time, but I half expected it

Re: [Discuss-gnuradio] git HEAD: Could not create output directory .../swig/runtime_swig_doc_swig_docs/xml

2012-03-20 Thread Tom Rondeau
On Tue, Mar 20, 2012 at 1:41 PM, Timo Juhani Lindfors wrote: > Tom Rondeau writes: > > Have you just tried to go in and compile it by hand? > > Yes. This failure seems to still occur sometimes but not very often. > > > Do you have any directory permission issues? This can often happen by > > buil

Re: [Discuss-gnuradio] git HEAD: Could not create output directory .../swig/runtime_swig_doc_swig_docs/xml

2012-03-20 Thread Timo Juhani Lindfors
Tom Rondeau writes: > Have you just tried to go in and compile it by hand? Yes. This failure seems to still occur sometimes but not very often. > Do you have any directory permission issues? This can often happen by > building as root, so new files/directories are owned by root. I'm working as

Re: [Discuss-gnuradio] git HEAD: Could not create output directory .../swig/runtime_swig_doc_swig_docs/xml

2012-03-20 Thread Tom Rondeau
On Mon, Mar 19, 2012 at 12:06 PM, Timo Juhani Lindfors wrote: > Hi, > > building gnuradio HEAD, bbddd082607a8632322d7774ae8ad54e7e84f6de with > > script -c 'export PKG_CONFIG_PATH=/opt/uhd/lib/pkgconfig; cmake > -DCMAKE_INSTALL_PREFIX=/opt/gnuradio .. && make -j6 && make install' > /opt/gnuradio/

Re: [Discuss-gnuradio] Example of how mount the radio environment in gnuradio-companion

2012-03-20 Thread ketlin Pedron
Hi Ben! The website of the gnuradio has only examples to be run with the USRP board, what happens is that I have not USRP board, but I know that it is possible to mount the radio environment in the GRC, and then test with the USRP ( I'll do it when I receive the USRP), while I have no USRP I'm try

Re: [Discuss-gnuradio] Transmit on both Tx ports (USRP1.)

2012-03-20 Thread RuneS
Hi Martin, Sorry about not posting my error message, however i think I have it almost correct now. At least i don't get errors when executing the python script. My problem is now i was expecting my message signal to be modulated on both carrier frequencies. But when i for instance set my Tx_A to

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Marcus D. Leech
On 03/20/2012 10:42 AM, Tom Rondeau wrote: Fred, Thanks. Can you get the entire output (in a text file)? There's some information that's printed at the top that's important. Just run it from the command-line and pipe (>) the output into a file. Just because I'm a grumpy old Unix guy from wa

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Tom Rondeau
On Tue, Mar 20, 2012 at 10:39 AM, Frederick Stevens wrote: > Tom, > > Output from volk_profile with your patch applied: > > 8 4 8 2040 > 8 4 8 2041 > 8 4 8 2042 > 8 4 8 2043 > 8 4 8 2044 > 8 4 8 2045 > generic completed in 0.02s > orc completed in 0s > offset 4 in1: 0.248167 in2: -0.655651 > offs

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Frederick Stevens
Tom, Output from volk_profile with your patch applied: 8 4 8 2040 8 4 8 2041 8 4 8 2042 8 4 8 2043 8 4 8 2044 8 4 8 2045 generic completed in 0.02s orc completed in 0s offset 4 in1: 0.248167 in2: -0.655651 offset 6 in1: 0.277863 in2: -0.115331 offset 8 in1: 0.41971 in2: -0.133972 offset 10 in1:

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Frederick Stevens
Tom, Thanks for the patch. I've applied it and will test and send more output for you to examine. By the way, thank you for taking a look at this. I am thankful for this project in the first place and appreciate all of the work that goes into FOSS software. Hopefully this issue can be res

Re: [Discuss-gnuradio] Problem with GRC

2012-03-20 Thread Marcus D. Leech
On 03/20/2012 09:56 AM, Farhad Abdolian wrote: Hi guys, After a long interruption I have started to use GR again and had to install a fresh copy on my laptop. Everything seems to be working, the installation went well and all the tests seems to be OK, except when I try to run GRC. The GRC st

Re: [Discuss-gnuradio] Segfault

2012-03-20 Thread Philip Balister
On 03/19/2012 07:28 AM, Stefan Ott wrote: > On Fri, Mar 16, 2012 at 20:36, Philip Balister wrote: >> On 03/16/2012 03:32 PM, Stefan Ott wrote: >>> On Mar 16, 2012 8:22 PM, "Philip Balister" wrote: > > I had a look and it what I could find out so far is that offset=1276 > and count=1.

Re: [Discuss-gnuradio] Segfault with volk on 32 bit AMD

2012-03-20 Thread Tom Rondeau
On Mon, Mar 19, 2012 at 4:49 PM, Frederick Stevens wrote: > Tom, > > New run using my simple "trace" See attached files. > > Cheers, > > Fred > Fred, A good start. It's only going through half of the data it's supposed before seg faulting, so it's like one of the buffers (probably the bPtr buff

Re: [Discuss-gnuradio] File .lo necessary for linking the library with file .o.

2012-03-20 Thread Martin Braun
Hi Loic, if you're Makefile.am is configured correctly, all of this will happen on it's own. That's why it's called 'autotools' :) FYI: Many people here (me included), don't use autotools, but prefer the cmake version of things. Perhaps you should consider switching (it's way more fun). MB On T

[Discuss-gnuradio] File .lo necessary for linking the library with file .o.

2012-03-20 Thread Loic Danceg
Hi everybody, I try to add a new block in a current project and i saw some file.lo which is necessary for linking the library. This file use an object .o Someone know the goal of this file.lo and file.o? And how can i create my own file.o? Thank you a lot!! _

Re: [Discuss-gnuradio] Trouble building (32-bit Linux, volk-related?)

2012-03-20 Thread Tom Rondeau
On Mon, Mar 19, 2012 at 11:11 PM, Ian Cullinan wrote: > On Tue, 2012-03-20 at 04:58 +1100, Tom Rondeau wrote: > > On Sun, Mar 18, 2012 at 10:05 PM, Josh Blum > > wrote: > > > > I just pushed a fix for this. Cmake now tests for the version number > > and autotools has been updated to check for the

Re: [Discuss-gnuradio] Transmit on both Tx ports (USRP1.)

2012-03-20 Thread Martin Braun
Hi RuneS, please provide more info (see http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors). At the very least, post the error message. Also, you seem to be not using UHD (which most people here use). MB On Tue, Mar 20, 2012 at 04:39:09AM -0700, RuneS wrote: > > Hello, > > Im u

[Discuss-gnuradio] Transmit on both Tx ports (USRP1.)

2012-03-20 Thread RuneS
Hello, Im using an RFID package already made (by M. Buttner), and trying to alter the python script to output the same message signal on both Tx_A and Tx_B but on different carriers. However i can't seem to make it work. I have searched the net for examples of how to transmit on both channels wit