I am trying to build my own block using gr_modtool.py. But When I run make test its gives me an error.
address@hidden:~/Desktop/gr-howto/build$ ctest -V
UpdateCTestConfiguration from :/home/mkk/Desktop/gr-howto/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/mkk/Desktop/gr-howto/build/DartConfiguration.tcl
Test project /home/mkk/Desktop/gr-howto/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: qa_howto_square_ff
1: Test command: /bin/sh "/home/mkk/Desktop/gr-howto/build/lib/qa_howto_square_ff_test.sh"
1: Test timeout computed to be: 9.99988e+06
1: Running 2 test cases...
1:
1: *** No errors detected
1/2 Test #1: qa_howto_square_ff ............... Passed 0.00 sec
test 2
Start 2: qa_square_ff
2: Test command: /bin/sh "/home/mkk/Desktop/gr-howto/build/python/qa_square_ff_test.sh"
2: Test timeout computed to be: 9.99988e+06
2: Traceback (most recent call last):
2: File "/home/mkk/Desktop/gr-howto/python/qa_howto_square_ff.py", line 23, in <module>
2: import howto_swig as howto
2: File "/home/mkk/Desktop/gr-howto/build/swig/howto_swig.py", line 24, in <module>
2: _howto_swig = swig_import_helper()
2: File "/home/mkk/Desktop/gr-howto/build/swig/howto_swig.py", line 20, in swig_import_helper
2: _mod = imp.load_module('_howto_swig', fp, pathname, description)
2: ImportError: /home/mkk/Desktop/gr-howto/build/swig/_howto_swig.so: undefined symbol: _Z20howto_make_square_ffv
2/2 Test #2: qa_square_ff .....................***Failed 0.09 sec
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 0.11 sec
The following tests FAILED:
2 - qa_square_ff (Failed)
Errors while running CTest
I know this a linking problem error.If anyone can help with this I would really appreciate.
Regards,
Khizer Kaleem