Hi,
I was trying to make a signal processing block. I basically did
nothing but copied the ``how-to-write-a-block’’ package and modified
the name of the block in files according to the Shen tutorial.With the
help from Philip, I got around several make problems I asked earlier.
The automake passes with two messages that do not seem to be bad:
[root@wlab02 trytry]# automake
doc/Makefile.am:77: %'-style pattern rules are a GNU make extension doc/Makefile.am:80:%’-style pattern rules are a GNU make extension
But make is giving me problems. It seemed to be complaining about not
being able to find “fvirtual”, therefore the no zzblk.cc is produced
and g++ cannot find the source file to compile. The detailed messages
are the follows. Any hint is greatly appreciated. Thanks!
Zhenghao
[root@wlab02 trytry]# make
make all-recursive
make[1]: Entering directory /root/USRP/USRP_try/zztryblock/trytry' Making all in config make[2]: Entering directory/root/USRP/USRP_try/zztryblock/trytry/config’
make[2]: Nothing to be done for all'. make[2]: Leaving directory/root/USRP/USRP_try/zztryblock/trytry/config’
Making all in src
make[2]: Entering directory /root/USRP/USRP_try/zztryblock/trytry/src' Making all in lib make[3]: Entering directory/root/USRP/USRP_try/zztryblock/trytry/src/lib’
fvirtual -python -modern
-I/root/gnuradio-3.1.2/gnuradio-core/src/lib/swig
-I/root/gnuradio-3.1.2/gnuradio-core/src/lib -module zzblk -o
zzblk.cc …/…/src/lib/zzblk.i
make[3]: fvirtual: Command not found
make[3]: [zzblk.cc] Error 127 (ignored)
fvirtual -python -modern
-I/root/gnuradio-3.1.2/gnuradio-core/src/lib/swig
-I/root/gnuradio-3.1.2/gnuradio-core/src/lib -module zzblk -o
zzblk.cc …/…/src/lib/zzblk.i
make[3]: fvirtual: Command not found
make[3]: [zzblk.py] Error 127 (ignored)
make all-am
make[4]: Entering directory
/root/USRP/USRP_try/zztryblock/trytry/src/lib' fvirtual -python -modern -I/root/gnuradio-3.1.2/gnuradio-core/src/lib/swig -I/root/gnuradio-3.1.2/gnuradio-core/src/lib -module zzblk -o zzblk.cc ../../src/lib/zzblk.i make[4]: fvirtual: Command not found make[4]: [zzblk.cc] Error 127 (ignored) /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DOMNITHREAD_POSIX=1 -pthread -I/usr/local/include/gnuradio -g -O2 -MT zzblk.lo -MD -MP -MF .deps/zzblk.Tpo -c -o zzblk.lo zzblk.cc g++ -DHAVE_CONFIG_H -I. -I../.. -DOMNITHREAD_POSIX=1 -pthread -I/usr/local/include/gnuradio -g -O2 -MT zzblk.lo -MD -MP -MF .deps/zzblk.Tpo -c zzblk.cc -fPIC -DPIC -o .libs/zzblk.o g++: zzblk.cc: No such file or directory g++: no input files make[4]: *** [zzblk.lo] Error 1 make[4]: Leaving directory/root/USRP/USRP_try/zztryblock/trytry/src/lib’
make[3]: *** [all] Error 2
make[3]: Leaving directory
/root/USRP/USRP_try/zztryblock/trytry/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/root/USRP/USRP_try/zztryblock/trytry/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/USRP/USRP_try/zztryblock/trytry’
make: *** [all] Error 2