discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Build GR 3.8 from source


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Build GR 3.8 from source
Date: Sat, 20 Jul 2019 15:49:11 -0400
User-agent: Cyrus-JMAP/3.1.6-736-gdfb8e44-fmstable-20190718v2

Hi Barry - The contents of the file "CMakeError.log" can be interesting, but 
what we need to see first is the output of the "cmake" command itself. Maybe 
drop it to pastebin (or equivalent) & post the link here? - MLD

On Sat, Jul 20, 2019, at 3:31 PM, Barry Duggan wrote:
> 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
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>



reply via email to

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