(superkuh)-(jobs:1)-(~/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build) (! 2068)-> cmake .. -- Found ITPP: /usr/lib64/libitpp.so CMake Error at /usr/share/cmake-2.8/Modules/FindBLAS.cmake:45 (message): FindBLAS is Fortran-only so Fortran must be enabled. Call Stack (most recent call first): CMakeLists.txt:29 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! # Apparently this is a cmake problem fixed in later versions. So I searched quite a bit and found: # http://public.kitware.com/Bug/view.php?id=9976 # where there was a replacement FindBLAS.cmake that works and placed it in, # cp FindBLAS.cmake /usr/share/cmake-2.8/Modules/ # This fixed the BLAS / Fortran errors but now there were still LAPACK errors. (superkuh)-(jobs:0)-(~/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build) (! 2123)-> cmake .. -- Found ITPP: /usr/lib64/libitpp.so -- Looking for sgemm_ -- Looking for sgemm_ - found -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- A library with BLAS API found. CMake Error at /usr/share/cmake-2.8/Modules/FindLAPACK.cmake:42 (message): FindLAPACK is Fortran-only so Fortran must be enabled. Call Stack (most recent call first): CMakeLists.txt:30 (FIND_PACKAGE) # So my FindLAPACK.cmake file was bad too. I searched and read for another hour before # hacking together an alternative that seemed to work, # http://code.google.com/p/qmcpack/source/browse/trunk/CMake/FindLapack.cmake?r=5383 # Using this to replace /usr/share/cmake-2.8/Modules/FindLAPACK.cmake seems to work. (superkuh)-(jobs:1)-(~/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build) (! 2132)-> cmake .. -- Found ITPP: /usr/lib64/libitpp.so -- A library with BLAS API found. -- Failed to link LAPACK, BLAS, ATLAS libraries with environments. Going to search standard paths. -- LAPACK_LIBRARIES=/usr/lib/liblapack.so -- BLAS_LIBRARIES=/usr/lib/libblas.so -- Found FFTW: /usr/lib64/libfftw3.so -- Found RTLSDR: /usr/local/lib/librtlsdr.so -- Configuring done -- Generating done -- Build files have been written to: /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build (superkuh)-(jobs:1)-(~/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build) (! 2134)-> make [ 7%] Building CXX object src/CMakeFiles/LTE_MISC.dir/capbuf.cpp.o [ 15%] Building CXX object src/CMakeFiles/LTE_MISC.dir/constants.cpp.o [ 23%] Building CXX object src/CMakeFiles/LTE_MISC.dir/itpp_ext.cpp.o In file included from /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:20: /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:41: error: expected initializer before ‘<’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:42: error: expected initializer before ‘<’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:43: error: expected initializer before ‘<’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:44: error: expected initializer before ‘<’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:31: error: ISO C++ forbids declaration of ‘vcf3d’ with no type /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:31: error: expected ‘,’ or ‘...’ before ‘&’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp: In function ‘itpp::cvec itpp_ext::flatten(int)’: /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:32: error: ‘m’ was not declared in this scope /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp: At global scope: /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:61: error: ISO C++ forbids declaration of ‘vf3d’ with no type /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:61: error: expected ‘,’ or ‘...’ before ‘&’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp: In function ‘itpp::vec itpp_ext::flatten(int)’: /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:61: error: new declaration ‘itpp::vec itpp_ext::flatten(int)’ /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:31: error: ambiguates old declaration ‘itpp::cvec itpp_ext::flatten(int)’ /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/itpp_ext.cpp:62: error: ‘m’ was not declared in this scope make[2]: *** [src/CMakeFiles/LTE_MISC.dir/itpp_ext.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/LTE_MISC.dir/all] Error 2 make: *** [all] Error 2 # The errors refer to the below lines, Line 20 is: #include "common.h" The error lines in common.h are: // complex 2d/3d vectors typedef std::vector < std::vector < std::vector < std::complex < float > > > > vcf3d; typedef std::vector < std::vector < std::complex < float > > > vcf2d; typedef std::vector < std::vector < std::vector < float > > > vf3d; typedef std::vector < std::vector < float > > vf2d; # To fix this the BOOST namespace has to be declared explicitly by adding the lines, using namespace boost; using namespace boost::multi_index; # But this just breaks different things. :\ # before line 40. (superkuh)-(jobs:1)-(~/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build) (! 2139)-> make Scanning dependencies of target LTE_MISC [ 7%] Building CXX object src/CMakeFiles/LTE_MISC.dir/capbuf.cpp.o In file included from /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/src/capbuf.cpp:23: /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:41: error: ‘boost’ is not a namespace-name /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:41: error: expected namespace-name before ‘;’ token /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:42: error: ‘boost’ has not been declared /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:42: error: ‘multi_index’ is not a namespace-name /home/superkuh/app_installs/gnuradio/lte-scanner/LTE-Cell-Scanner/build/include/common.h:42: error: expected namespace-name before ‘;’ token make[2]: *** [src/CMakeFiles/LTE_MISC.dir/capbuf.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/LTE_MISC.dir/all] Error 2 make: *** [all] Error 2 The errors from itpp_ext.cpp are: // This should only be used for debugging since it is not very fast. cvec flatten(const vcf3d & m) { uint32 d1_len=m.size(); uint32 d2_len=m[0].size(); uint32 d3_len=m[0][0].size(); // Code has been duplicated from flatten(vcf3d) ... :( :( vec flatten(const vf3d & m) { uint32 d1_len=m.size(); uint32 d2_len=m[0].size(); uint32 d3_len=m[0][0].size(); # This makes me think the ITPP library I have installed may be too old, or something. Package: libitpp-dev State: installed Automatically installed: no Version: 4.0.7-1 Priority: optional Section: universe/libdevel Maintainer: Ubuntu Developers Uncompressed Size: 1,667k Depends: libitpp6gf (= 4.0.7-1) Description: C++ library of signal processing and communication routines: Headers IT++ is a C++ library of mathematical, signal processing and communication classes and functions. Its main use is in simulation of communication systems and for performing research in the area of communications. The kernel of the library consists of generic vector and matrix classes, and a set of accompanying routines. Such a kernel makes IT++ similar to MATLAB or GNU Octave . This package has the development libraries and headers for IT++. Homepage: http://itpp.sourceforge.net