RF Monitoring in the Ohio Valley

Archive for the ‘Linux Mint’ tag undefined reference to `volk_64u_popcnt_a_sse4_2′

leave a comment

A friend was attempting to build gnuradio on Linux Mint 17.1 32-bit. I run 64-bit Linux Mint and did not have this issue since it is specific to 32-bit builds.

If you’re attempting to build gnuradio on a 32-bit system system, whether it be Ubuntu or Mint or something else, you might not be able to build gnuradio without issues. This applies only to the latest gnuradio available as of 12/26/2014. The issue will probably be fixed in future versions.

To resolve this issue so that you can rebuild gnuradio, scroll to the bottom.

[ 22%] Built target gnuradio-pmt
[ 22%] Built target _pmt_swig_swig_tag
../lib/ undefined reference to `volk_64u_popcnt_a_sse4_2′
collect2: error: ld returned 1 exit status
make[2]: *** [volk/apps/volk-config-info] Error 1
make[1]: *** [volk/apps/CMakeFiles/volk-config-info.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs….
[ 22%] Built target _blocks_swig0_swig_tag
../lib/ undefined reference to `volk_64u_popcnt_a_sse4_2′
collect2: error: ld returned 1 exit status
make[2]: *** [volk/apps/volk_profile] Error 1
make[1]: *** [volk/apps/CMakeFiles/volk_profile.dir/all] Error 2 undefined reference to `volk_64u_popcnt_a_sse4_2′
collect2: error: 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
Build failed. See output above for error messages.
billybob@billybob-ThinkCentre-XXXX ~/pybombs $

Solution (which I found here):

A fix for this is to change line 39 in volk/kernels/volk/volk_64u_popcntpuppet_64u.h


#ifdef LV_HAVE_SSE4_2


#if LV_HAVE_SSE4_2 && LV_HAVE_64

Written by awadmin

December 29th, 2014 at 10:17 am

Posted in gnuradio,Linux Mint

Tagged with , ,

Installing Linux Mint 17.1 64-bit on a VMWare Workstation VM

leave a comment

Installation Platform: Dell Inspiron 17R laptop, 3rd-gen Intel i7-3612QM @ 2.1 Ghz, 8 GB of RAM and a 256 GB Crucial SSD with Windows 7 Professional as the host.

I decided I’d install a trial version of VMWare Workstation 11. It’s a 30-day trial, and I’m sure I’ll buy it before the trial period is up simply because it’s a great product.

In order to install a 64-bit guest OS on VMWare Workstation, the host machine itself has to be running a 64-bit processor that supports virtualization and has that support enabled. When initially installing VMWare Workstation, it does not ask you to boot afterwards. But if you attempt to create a 64-bit guest OS VM, it won’t let you. I ended up rebooting my machine, and then I was able to to create a 64-bit guest OS (I specified that Ubuntu 64-bit was going to be installed). I specified a guest host with 2 GB of RAM and usage of 1 CPU core, although I’m likely to up those figures later on.

I then put in the Linux Mint 17.1 CD, booted up the VM into the LiveCD of Linux Mint, and started the installation. Installation of Mint took about 22 minutes. Next step was updating the Update Manager and then updating existing software for which the Update Manager indicated there were updates available. This part of the process is quick on my machine, but for the fact that the Mint update server that I was connect to was slow as molasses during the updates. Incidentally, there were 350 MB worth of updates. The download / installation of the updates took 13 minutes.

So in total, it took me about 40 minutes to set up the VM, install and update Linux Mint.

Now on to installing the things I’m interested in, such as git, pybombs, gnuradio, gqrx, and gr-OP25.

UPDATE 01-01-2015: Happy New Year! I gave up on using VMWare Workstation for the job. Technically, there was no issue. But VMWare Workstation takes over your whole machine, with a gazillion resource-hogging services running even when you don’t have VMW open. I don’t like that. I run a fast machine with SSD drives because I like the system to be responsive. VMWare Workstation is totally counterproductive to that. After having uninstalled the whole VMWare Workstation suite of shit, it’s onward and upward to VirtualBox + Linux Mint 17 64-bit.

Written by awadmin

December 25th, 2014 at 2:23 pm

Posted in Linux Mint

Tagged with ,