Hi all,I created a module and added a block to it using gr_modtool. make-test
showed pass for both tests.However, it is not appearing in grc. Instead when I
use gnuradio-companion command it shows following in the terminal:[ehsan@GRB
mygn]$ gnuradio-companion
** (process:5765): WARNING **: Trying to register gtype 'GMountMountFlags' as
enum when in fact it is of type 'GFlags'
** (process:5765): WARNING **: Trying to register gtype 'GDriveStartFlags' as
enum when in fact it is of type 'GFlags'
** (process:5765): WARNING **: Trying to register gtype 'GSocketMsgFlags' as
enum when in fact it is of type 'GFlags'Warning: Block validation failed:
/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:1:0:ERROR:VALID:DTD_NOT_PCDATA:
Element block was declared #PCDATA but contains non text
nodes/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:2:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
category/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:3:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
import/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:4:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
make/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:6:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
key/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:7:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
sink/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:9:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
type/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:10:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
nports/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:12:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
source/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:14:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
type/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml:15:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element nports Ignoring:
/usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xmlWarning: Block
validation failed:
/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:1:0:ERROR:VALID:DTD_NOT_PCDATA:
Element block was declared #PCDATA but contains non text
nodes/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:2:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
category/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:3:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
import/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:4:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
make/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:6:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
key/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:7:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
sink/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:9:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
type/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:10:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
nports/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:12:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No
declaration for element
source/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:14:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element
type/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml:15:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element nports Ignoring:
/usr/local/share/gnuradio/grc/blocks/howto_square_ff.xmllinux; GNU C++ version
4.7.2 20120921 (Red Hat 4.7.2-2); Boost_104800; UHD_003.005.000-26-gb65a3924
<<< Welcome to GNU Radio Companion v3.6.3-6-gca407436 >>>
Loading: "/home/ehsan/mygn/Ssb.grc">>> DoneWhat commands should use: To check
my module. To make it appear in GRC
Best Regards
Begh
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio