discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Build GR 3.8 from source


From: Barry Duggan
Subject: [Discuss-gnuradio] Build GR 3.8 from source
Date: Sat, 20 Jul 2019 15:29:54 -0400
User-agent: Roundcube Webmail/1.3.8

Today I tried to build GR 3.8 from source.
I am using:
    Raspberry Pi 3B+
    Raspbian buster

I did:
git clone --recursive https://github.com/gnuradio/gnuradio.git
cd gnuradio
mkdir build
cd build
cmake -DENABLE_GR_UHD=OFF -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../

Excerpts from CMakeError.log:

Determining if the include file cpuid.h exists failed with the following output:
Change Dir: /home/pi/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_999b3/fast"
/usr/bin/make -f CMakeFiles/cmTC_999b3.dir/build.make CMakeFiles/cmTC_999b3.dir/build make[1]: Entering directory '/home/pi/gnuradio/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_999b3.dir/CheckIncludeFile.c.o
/usr/bin/cc -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -std=c11 -o CMakeFiles/cmTC_999b3.dir/CheckIncludeFile.c.o -c /home/pi/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/pi/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: cpuid.h: No such file or directory
 #include <cpuid.h>
          ^~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_999b3.dir/build.make:66: CMakeFiles/cmTC_999b3.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/pi/gnuradio/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_999b3/fast] Error 2

Determining if the include file intrin.h exists failed with the following output:
Change Dir: /home/pi/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_16e3f/fast"
/usr/bin/make -f CMakeFiles/cmTC_16e3f.dir/build.make CMakeFiles/cmTC_16e3f.dir/build make[1]: Entering directory '/home/pi/gnuradio/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_16e3f.dir/CheckIncludeFile.c.o
/usr/bin/cc -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -std=c11 -o CMakeFiles/cmTC_16e3f.dir/CheckIncludeFile.c.o -c /home/pi/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/pi/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: intrin.h: No such file or directory
 #include <intrin.h>
          ^~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_16e3f.dir/build.make:66: CMakeFiles/cmTC_16e3f.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/pi/gnuradio/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_16e3f/fast] Error 2

So where are cpuid.h and intrin.h? How can I get them?

Thanks,
--
Barry Duggan



reply via email to

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