discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] question on howto write a new block


From: Martin Braun
Subject: Re: [Discuss-gnuradio] question on howto write a new block
Date: Tue, 9 Nov 2010 15:23:35 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Nov 09, 2010 at 05:33:15PM +0800, intermilan wrote:
> hi all:
>      I am writing a new simple signal processing block following the tutorial
> under the directory /gnuradio-3.2.2/gr-howto-write-a-block-3.2.2(there is no
> gr-howto-write-a-block-3.2.2 at the beginning,and this one is I downloaded and
> copied to this directory)and named 'howto_add_ff' block. I've created
> howto_add_ff.h and howto_add_ff.cc file under /gnuradio-3.2.2/
> gr-howto-write-a-block-3.2.2/src/lib.Then I modified howto.i and Makefile.am 
> in
> the same directory.
>    After that  I run the following command under the directory 
> /gnuradio-3.2.2/
> gr-howto-write-a-block-3.2.2:
>    ./bootstrap
>    ./configure 
>    make
>   Then I got a error  said "thers is no rules for "all-am" to creat the
> required target "howto_add_ff.h".STOP."( I translate the error into english
> beacause I do no use engliah as the language of my Ununtu).
>    Can anyone tell me how to fix it?

You've probably not adapted the Makefiles properly.
Have a look where howto_square_ff.* is referenced (it's a couple of
places).
I recommend using gr_modtool.py (you can get it from
https://www.cgran.org/wiki/devtools), this automatically does all the
edits for you.

Cheers,
MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Attachment: pgpycvK6Y8nsc.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]