Seems like every time I upgrade something, something breaks. I'm not sure what causes this but building from CVS gives me a "segmentation fault" during "make check" in gnuradio-core.
I tracked it down to large blocks being allocated in two of the tests. This is being compiled with gcc 3.4.2 under FreeBSD 5.4. This is a fix but I'm not sure it is the right fix: --- gnuradio-core/src/lib/general/qa_gr_fxpt_nco.cc.orig Mon Nov 21 12:27:57 2005 +++ gnuradio-core/src/lib/general/qa_gr_fxpt_nco.cc Mon Nov 21 13:31:39 2005 @@ -82,8 +82,8 @@ { gr_nco<float,float> ref_nco; gr_fxpt_nco new_nco; - gr_complex ref_block[SIN_COS_BLOCK_SIZE]; - gr_complex new_block[SIN_COS_BLOCK_SIZE]; + static gr_complex ref_block[SIN_COS_BLOCK_SIZE]; + static gr_complex new_block[SIN_COS_BLOCK_SIZE]; double max_error = 0; ref_nco.set_freq ((float)(2 * M_PI / SIN_COS_FREQ)); --- gnuradio-core/src/lib/general/qa_gr_fxpt_vco.cc.orig Mon Nov 21 12:29:51 2005 +++ gnuradio-core/src/lib/general/qa_gr_fxpt_vco.cc Mon Nov 21 13:34:25 2005 @@ -76,9 +76,9 @@ { gr_vco<float,float> ref_vco; gr_fxpt_vco new_vco; - float ref_block[SIN_COS_BLOCK_SIZE]; - float new_block[SIN_COS_BLOCK_SIZE]; - float input[SIN_COS_BLOCK_SIZE]; + static float ref_block[SIN_COS_BLOCK_SIZE]; + static float new_block[SIN_COS_BLOCK_SIZE]; + static float input[SIN_COS_BLOCK_SIZE]; double max_error = 0; for (int i = 0; i < SIN_COS_BLOCK_SIZE; i++){ -- LRK [EMAIL PROTECTED] _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio