pkgsrc-Users archive

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

Re: <cmath> -> <math.h> looping with wip/gr-osmosdr



On Mon, 29 Sep 2014 10:22:04 +0900, Makoto Fujiwara <makoto%ki.nu@localhost> wrote:

My understanding is:
gr-osmosdr/lib/source_impl.cc
-> .buildlink/include/gnuradio/io_signature.h
-> .buildlink/include/gnuradio/runtime_types.h
-> .buildlink/include/gnuradio/types.h
-> .buildlink/include/gnuradio/gr_complex.h
-> /usr/include/g++/complex           -> <cmath>
-> /usr/include/g++/cmath             -> <math.h>
-> .buildlink/include/gnuradio/math.h -> <cmath>

in the last file, cmath is referenced and
reaches to
-> /usr/include/g++/cmath
again.

Say, kind of looping. If the attached modification is applied,
this gr-osmosdr is packaged fine.

What is the right solution ?
Thanks for the attention.

Following is the breaker.

In wip/gnuradio-core/buildlink3.mk:
BUILDLINK_CPPFLAGS.gnuradio-core+=    -I${BUILDLINK_PREFIX.gnuradio-core}/include/gnuradio

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index