After checking build/CMakeFiles/CMakeError.log file,

i found a log, i am putting small portion of it.

Run Build Command:"/usr/bin/make" "cmTC_fb818/fast"
/usr/bin/make -f CMakeFiles/cmTC_fb818.dir/build.make
CMakeFiles/cmTC_fb818.dir/build
make[1]: Entering directory
'/home/rushikesh/programming/development/GSoC-2019/orgs/gnuradio/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fb818.dir/CheckFunctionExists.c.o
/usr/bin/cc   -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-DCHECK_FUNCTION_EXISTS=pthread_create   -o
CMakeFiles/cmTC_fb818.dir/CheckFunctionExists.c.o   -c
/usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_fb818
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fb818.dir/link.txt
--verbose=1
/usr/bin/cc  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-DCHECK_FUNCTION_EXISTS=pthread_create
CMakeFiles/cmTC_fb818.dir/CheckFunctionExists.c.o  -o cmTC_fb818 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_fb818.dir/build.make:97: recipe for target 'cmTC_fb818'
failed
make[1]: *** [cmTC_fb818] Error 1
make[1]: Leaving directory
'/home/rushikesh/programming/development/GSoC-2019/orgs/gnuradio/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_fb818/fast' failed
make: *** [cmTC_fb818/fast] Error 2

You can clearly see that -lpthreads flag is used. But i think it should be
-lpthread. not 's' after that.  How to change build file to resolve it?

On Sun, Feb 10, 2019 at 5:38 PM Rushikesh Kavar <
[email protected]> wrote:

> Hello,
>
>           I am trying to install GNU radio from source code.
>           As described here.
> https://wiki.gnuradio.org/index.php/BuildGuide.
>           When i ran  cmake ../ these is my log.
>
> -- Build type not specified: defaulting to release.
> -- Build type set to Release.
> -- Extracting version information from git describe...
> -- Compiler Version: cc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
> Copyright (C) 2017 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> -- Compiler Flags: /usr/bin/cc:::-O3 -DNDEBUG  -fvisibility=hidden
> -Wsign-compare -Wall -Wno-uninitialized
> /usr/bin/c++:::-O3 -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall
> -Wno-uninitialized
> -- ADDING PERF COUNTERS
> -- Building Static Libraries: OFF
> -- Boost version: 1.65.1
> -- Found the following Boost libraries:
> --   date_time
> --   program_options
> --   filesystem
> --   system
> --   regex
> --   thread
> --   unit_test_framework
> --   chrono
> --   atomic
> -- User set python executable /usr/bin/python3
> -- Could NOT find PythonLibs: Found unsuitable version "2.7.15rc1", but
> required is exact version "3.6" (found /usr/lib/x86_64-linux-gnu/
> libpython2.7.so)
> -- Python checking for six - python 2 and 3 compatibility library - found
> --
> -- Checking for module SWIG
> -- Disabling SWIG because version check failed.
> --
> -- The build system will automatically enable all components.
> -- Use -DENABLE_DEFAULT=OFF to disable components by default.
> --
> -- Configuring python-support support...
> --   Dependency PYTHONLIBS_FOUND = TRUE
> --   Dependency SWIG_FOUND = FALSE
> --   Dependency SWIG_VERSION_CHECK = FALSE
> --   Dependency SIX_FOUND = TRUE
> --   Disabling python-support support.
> --   Override with -DENABLE_PYTHON=ON/OFF
> --
> -- Configuring testing-support support...
> --   Dependency Boost_FOUND = 1
> --   Enabling testing-support support.
> --   Override with -DENABLE_TESTING=ON/OFF
> --
> -- Configuring VOLK support...
> -- Build type set to Release.
> -- Extracting version information from git describe...
> --
> -- Python checking for python >= 2.7
> -- Python checking for python >= 2.7 - found
> --
> -- Python checking for mako >= 0.4.2
> -- Python checking for mako >= 0.4.2 - not found
> --
> -- Python checking for six - python 2 and 3 compatibility library
> -- Python checking for six - python 2 and 3 compatibility library - found
> CMake Error at volk/CMakeLists.txt:88 (message):
>   Mako templates required to build VOLK
>
>
> -- Configuring incomplete, errors occurred!
>
>
> Please guide me. I have install mako using pip install mako. still i am
> getting same error.
>
> regards
> Rushikesh
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to