|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||
2014年09月17日(水) 旧暦 [n年日記] [更新:"2014/09/19 15:25:11"]#1 [pkgsrc] wip/gr-osmoSDR
===> Building for gr-osmosdr-0.1.4nb20140917
Scanning dependencies of target gnuradio-osmosdr
[ 3%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
In file included from
/export/WRKOBJDIR/wip/gr-osmosdr-git/work/.buildlink/include/gnuradio/math.h:30:0,
from /usr/include/g++/cmath:46,
from /usr/include/g++/complex:46,
from
/export/WRKOBJDIR/wip/gr-osmosdr-git/work/.buildlink/include/gnuradio/gr_complex.h:26,
from
/export/WRKOBJDIR/wip/gr-osmosdr-git/work/.buildlink/include/gnuradio/types.h:31,
from
/export/WRKOBJDIR/wip/gr-osmosdr-git/work/.buildlink/include/gnuradio/runtime_types.h:27,
from
/export/WRKOBJDIR/wip/gr-osmosdr-git/work/.buildlink/include/gnuradio/io_signature.h:27,
from
/export/WRKOBJDIR/wip/gr-osmosdr-git/work/gr-osmosdr/lib/source_impl.cc:30:
/usr/include/g++/cmath:111:11: error: '::acos' has not been declared
gr-osmosdr/lib/source_impl.cc
26 #ifdef HAVE_CONFIG_H
27 #include "config.h"
28 #endif
29
30 #include <gnuradio/io_signature.h>
31 #include <gnuradio/blocks/null_source.h>
32 #include <gnuradio/blocks/throttle.h>
33 #include <gnuradio/constants.h>
34
.buildlink/include/gnuradio/io_signature.h
23 #ifndef INCLUDED_IO_SIGNATURE_H
24 #define INCLUDED_IO_SIGNATURE_H
25
26 #include <gnuradio/api.h>
27 #include <gnuradio/runtime_types.h>
28
29 namespace gr {
.buildlink/include/gnuradio/runtime_types.h
23 #ifndef INCLUDED_GR_RUNTIME_TYPES_H
24 #define INCLUDED_GR_RUNTIME_TYPES_H
25
26 #include <gnuradio/api.h>
27 #include <gnuradio/types.h>
28
29 namespace gr {
.buildlink/include/gnuradio/types.h
23 #ifndef INCLUDED_GR_TYPES_H
24 #define INCLUDED_GR_TYPES_H
25
26 #include <gnuradio/api.h>
27 #include <boost/shared_ptr.hpp>
28 #include <vector>
29 #include <stddef.h> // size_t
30
31 #include <gnuradio/gr_complex.h>
.buildlink/include/gnuradio/gr_complex.h
23 #ifndef INCLUDED_GR_COMPLEX_H
24 #define INCLUDED_GR_COMPLEX_H
25
26 #include <complex>
27 typedef std::complex<float> gr_complex;
28 typedef std::complex<double> gr_complexd;
29
/usr/include/g++/complex
38 #ifndef _GLIBCXX_COMPLEX
39 #define _GLIBCXX_COMPLEX 1
40
41 #pragma GCC system_header
42
43 #include <bits/c++config.h>
44 #include <bits/cpp_type_traits.h>
45 #include <ext/type_traits.h>
46 #include <cmath>
47 #include <sstream>
48
49 _GLIBCXX_BEGIN_NAMESPACE(std)
/usr/include/g++/cmath
37 //
38 // ISO C++ 14882: 26.5 C library
39 //
40
41 #pragma GCC system_header
42
43 #include <bits/c++config.h>
44 #include <bits/cpp_type_traits.h>
45 #include <ext/type_traits.h>
46 #include <math.h>
47
.buildlink/include/gnuradio/math.h
23 /*
24 * mathematical odds and ends.
25 */
26
27 #ifndef _GR_MATH_H_
28 #define _GR_MATH_H_
29
30 #include <cmath>
31 #include <gnuradio/api.h>
32 #include <gnuradio/gr_complex.h>
33
34 namespace gr {
35
(looping, circular dependency ?)
To avoid looping, to go cmath: say /usr/include/g++/cmath -> .buildlink/include/gnuradio/math.h -> cmathApply following change: --- /usr/include/g++/cmath.orig 2014-08-09 01:58:29.000000000 +0900 +++ /usr/include/g++/cmath 2014-09-18 11:32:44.000000000 +0900 @@ -43,7 +43,7 @@ #include <bits/c++config.h> #include <bits/cpp_type_traits.h> #include <ext/type_traits.h> -#include <math.h> +#include "/usr/include/math.h" #ifndef _GLIBCXX_CMATH #define _GLIBCXX_CMATH 1Now gr-osmosdr-git is packaged fine. ( つっこみ )
|
最近の日記 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? 2025年10月13日 ・missing package 2025年10月04日 ・pkgin search pkgname segfaults 2025年08月16日 ・installboot (Although it’s too late) | ||