I ran into a problem building gnuradio-core from CVS (checked out 1-Aug-2005) on Mac OS X 10.3.8 "Panther". I also found a workaround.
The make step failed at linking libgnuradio-core-qa. The error messages indicated there were multiple definitions of some symbols (I've included the exact error messages at the end of this message). In particular, the messages say that some symbols that appear in libgnuradio-core also appear in libmissing or bug_work_around_6 The latter two files are also used to link libgnuradio-core. I surmised that since libgnuradio-core-qa is linked from libgnuradio-core (among others), it should NOT be linked from any other libraries or object files that are also used to link libgnuradio-core. So I made two changes in gnuradio-core/src/lib/Makefile. 1. I commented out this line: am_libgnuradio_core_qa_la_OBJECTS = bug_work_around_6.lo 2. From this: libgnuradio_core_qa_la_LIBADD = \ filter/libfilter-qa.la \ general/libgeneral-qa.la \ runtime/libruntime-qa.la \ missing/libmissing.la \ libgnuradio-core.la \ $(CPPUNIT_LIBS) I removed this line: missing/libmissing.la \ After these changes, make completed without mishap and so did make install and make check. I now have a new working gnuradio-core. This is just a workaround because the Makefile I edited was generated by the autotools. A real fix would solve the problem upstream (perhaps in Makefile.am). I'm not an autotools expert so I won't attempt this. Jon Jacky PS Here are the error messages from make, before I fixed Makefile: ld: multiple definitions of symbol _gr_bug_work_around_6 .libs/bug_work_around_6.o definition of _gr_bug_work_around_6 in section (__DATA,__common) ./.libs/libgnuradio-core.dylib(single module) definition of _gr_bug_work_around_6 ld: multiple definitions of symbol _gr_bug_work_around_8 missing/.libs/libmissing.a(bug_work_around_8.o) definition of _gr_bug_work_around_8 in section (__DATA,__common) ./.libs/libgnuradio-core.dylib(single module) definition of _gr_bug_work_around_8 /usr/bin/libtool: internal link edit command failed make[4]: *** [libgnuradio-core-qa.la] Error 1 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio