Bug with recent changes to Volk

I believe there is a bug with the commit “volk: fixed volk rotator
kernel
to support aligned and unaligned.” I built and successfully installed
the
merge just prior to this commit just fine, but when I attempt to install
this commit I receive a “libvolk.so.0.0.0: undefined reference to
`volk_32fc_s32fc_x2_rotator_32fc_avx’” error
(http://pastebin.com/dKZu6yr5).
I am running on Ubuntu 12.04.

Michael B.


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Hi,

haven’t tried that.
I’m having the same error from a fresh checkout and build directory …

Cheers,

Sylvain

I’m having the same error from a fresh checkout and build directory …

Here a make clean also did not fix it.

In file included from
/home/ras/gnuradio/build/volk/lib/volk_machine_avx_32_mmx_orc.c:104:0:
/home/ras/gnuradio/volk/kernels/volk/volk_32fc_s32fc_rotatorpuppet_32fc.h:
In function ‘volk_32fc_s32fc_rotatorpuppet_32fc_a_avx’:
/home/ras/gnuradio/volk/kernels/volk/volk_32fc_s32fc_rotatorpuppet_32fc.h:59
:5: warning: implicit declaration of function
‘volk_32fc_s32fc_x2_rotator_32fc_avx’ [-Wimplicit-function-declaration]
Linking C shared library libvolk.so
[ 5%] Built target volk
[ 5%] Building CXX object volk/lib/CMakeFiles/test_all.dir/testqa.cc.o
[ 5%] Building CXX object
volk/lib/CMakeFiles/test_all.dir/qa_utils.cc.o
Linking CXX executable test_all
libvolk.so.0.0.0: undefined reference to
`volk_32fc_s32fc_x2_rotator_32fc_avx’
collect2: ld returned 1 exit status
make[2]: *** [volk/lib/test_all] Error 1
make[1]: *** [volk/lib/CMakeFiles/test_all.dir/all] Error 2
make: *** [all] Error 2
[email protected]:~/gnuradio/build$

Cheers,

Sylvain

Ralph

Rerun cmake (or touch a CMakeLists.txt file to force cmake to rerun),
then rebuild.

As I said … new build dir and fresh checkout … so I don’t see how
that would help.

To me looks like a typo in
volk/kernels/volk/volk_32fc_s32fc_rotatorpuppet_32fc.h

  • volk_32fc_s32fc_x2_rotator_32fc_avx(outVector, inVector,
    phase_inc, phase, num_points);
  • volk_32fc_s32fc_x2_rotator_32fc_a_avx(outVector, inVector,
    phase_inc, phase, num_points);

Cheers,

Sylvain

On Mon, Oct 28, 2013 at 2:59 PM, Ralph A. Schmid, dk5ras
[email protected] wrote:

I’m having the same error from a fresh checkout and build directory …

Rerun cmake (or touch a CMakeLists.txt file to force cmake to rerun),
then rebuild.

Tom

On Mon, Oct 28, 2013 at 3:14 PM, Sylvain M. [email protected]
wrote:

phase_inc, phase, num_points);

  • volk_32fc_s32fc_x2_rotator_32fc_a_avx(outVector, inVector,
    phase_inc, phase, num_points);

Cheers,

Sylvain

Fixed. Long story; that was fixed and then I missed adding that fix
before checking in on my non-avx box.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs