Sorry I forgot to include some relevant info. After setting the following variables in the Makefile.am, the make check stage in the python folder is failing with an undefined symbol error "square" basically it's not seeing the square function in the "libcalc_square.a" library
howto_la_swig_libadd = \ -lcalc_square howto_la_swig_ldflags = \ -L/home/alfayez/workspace/gnuradio_custom_blocks/gr-howto-write-a-block-3.2.2/src/lib sorry for the double email question. al fayez -----Original Message----- From: alfa...@aol.com To: discuss-gnuradio@gnu.org Sent: Sat, May 22, 2010 12:00 am Subject: [Discuss-gnuradio] Adding Static Library Links with Custom GNU radio blocks hi, I am trying to compile the "gr-howto-wtite-a-block-3.2.2" and link an external static library to it. I've enabled "howto_la_swig_ldflags" and added the directory to the static library in it and enabled the "howto_la_swig_libadd" and added the static library name to it. While observing the output of the make process I can see that the parameters are being detected and I get a warning message saying that linking the static library to the shared library is not portable which makes sense. to make sure that I am doing the linking properly, I'm starting out by making a static library that sqaures a number, basically reimplementing the tutorial using a static library function call instead of regular C-code. I know that using a static library might not be the best choice but for what I'm doing I have to be linking to a static library. Thanks people. al fayez -----Original Message----- From: Johnathan Corgan <jcor...@corganenterprises.com> To: discuss-gnuradio@gnu.org Sent: Fri, May 21, 2010 7:34 pm Subject: [Discuss-gnuradio] GNU Radio release 3.3.0-rc1 tarballs available for download GNU Radio release 3.3.0-rc1 tarballs are available for download: http://gnuradio.org/releases/gnuradio/gnuradio-3.3.0-rc1.tar.gz http://gnuradio.org/releases/gnuradio/gr-howto-write-a-block-3.3.0-rc1.tar.gz md5sums: b936f27cf106b15be0ad7e2066b023be gnuradio-3.3.0-rc1.tar.gz 8d6ea3d7604dba4d920ce4721b76ceae gr-howto-write-a-block-3.3.0-rc1.tar.gz Changelog: Release 3.3.0-rc1 Don Ward (1): howto: fix make check for win32, darwin (untested) Eric Blossom (1): Remove bogus check for existence of prefix directory. John Orlando (8): Update incorrectly checked in Makefile.am Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP1. Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP2. Fixed issue with with wrong Makefile.am files being copied Including bitshark_rx.h header file for USRP2 build Updated db_bitshark_rx.c to the proper version that includes the Once and for all, here is the properly updated Makefile.am for the apps -Updated to allow BURX support to be built into standard txrx.bin Johnathan Corgan (17): usrp: Cleanup for merge of bitshark daughterboard code Change default bandwidth to 25 MHz to match maximum USRP2 bandwidth Merge branch 'master' into wip/burx_support Merge remote branch 'nldudok1/gr-wxgui_emulate_analog' into master gr-wxgui: Renamed "emulate analog" feature to "use persistence" gr-wxgui: update copyrights gnuradio-core: Disable (temporarily) interpolator tap calculation build: force use of ltmain.sh from libtool 2.2.6b build: use correct comment delimiter build: distribute version controlled ltmain.sh in tarball Merge remote branch 'bitshark/burx_support' into wip/burx_support Revert "build: force use of ltmain.sh from libtool 2.2.6b" Revert "build: distribute version controlled ltmain.sh in tarball" Merge branch 'wip/burx_support' gnuradio-core: removed gr.dd_mpsk_sync_cc block as obsolete grc: rename execution binary from 'grc' to 'gnuradio-companion' Update revision to release 3.3.0-rc1, update autotools Martin Dudok van Heel (1): Add analog CRT screen afterglow emulation for gr-wxgui Regards, Johnathan Corgan Corgan Enterprises LLC _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio =
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio