On 12/16/2010 03:07 AM, Kyle Zhou wrote: > when I try to build volk from next branch of git, I got error during make > > libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o > .libs/libvolk_runtime.0.dylib .libs/volk_cpu_x86.o .libs/cpuid_x86_64.o > .libs/volk_runtime.o .libs/volk_init.o .libs/volk_rank_archs.o > -L/opt/local/lib -O2 -install_name /usr/local/lib/libvolk_runtime.0.dylib > -compatibility_version 1 -current_version 1.0 -Wl,-single_module > ld: duplicate symbol _volk_cpu in .libs/volk_runtime.o and > .libs/volk_cpu_x86.o > collect2: ld returned 1 exit status > make[2]: *** [libvolk_runtime.la] Error 1 > > BTW, I did it on OSX 10.6.5 >
I ran into duplicate symbol with UHD + mac a few times. It seems that the macintosh linker was just more "picky". Need more "extern this" in the headers, and "this" in the c files. -Josh _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
