discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] volk: duplicate symbol _volk_cpu


From: Josh Blum
Subject: Re: [Discuss-gnuradio] volk: duplicate symbol _volk_cpu
Date: Thu, 16 Dec 2010 08:34:22 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]