discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: gnuradio-3.8 build fails with error: cannot convert const string {ak


From: Tom Crane
Subject: Re: gnuradio-3.8 build fails with error: cannot convert const string {aka const std::__cxx11::basic_string<char>} to pmt::pmt_t {aka boost::shared_ptr<pmt::pmt_base>}
Date: Thu, 2 Jan 2020 17:41:52 +0000 (GMT)
User-agent: Alpine 2.21 (LNX 202 2017-01-01)

On Thu, 2 Jan 2020, Marcus Müller wrote:

Hi Tom,

funky distro!

Hi Marcus,
Thanks (and to Michael) for the very quick follow-up! It is one of the oldest distros around. I have been using it since the late 90s.

That API used to be string (of a serialized PMT) and now is PMT
directly. That happened somewhere around July.
Thus, this slightly looks like you still have some older header files
lying around? Or some outdated SWIG output that somehow ends up in your
build?

This does make sense. I have been upgrading it rather than reformatting/reinstalling for many years. That said, this holiday I combed through /usr/local/{include,lib} where a number of files from old versions of manually installed packages resided, and removed those which clashed with those from current packages which generally install under /usr/{include,lib}. I did this having had similar problems in the past, particularly with builds such as qt5.

Now you have given me some pointers I will check again and report back.

Could you try in a clean container? I'm trying here locally, but
honestly, I've never used slackware before, and thus I need to learn
every packager tool in the process, and that's kind of a burden.

If I can't get anywhere on my current system I'll install a clean current copy of Slackware elsewhere and trying building there.

Many thanks
Tom.


Best regards,
Marcus
On Thu, 2020-01-02 at 15:18 +0000, Tom Crane wrote:
I am attempting to build the v.3.8 source under Slackware64 Linux
and
can't get past this and a few subsequent errors.

Building from the git source results in the same failure.

Build system details:
  o gcc 9.2.0
  o SWIG version 4.0.1
  o Boost 1.72.0

My build scripts and build logs are here
https://www.mklab.rhul.ac.uk/~tom/tvdx/gr/build_problems/

Please advise.

Many thanks
Tom Crane


--
Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England.
Email:  address@hidden
Fax:    +44 (0) 1784 472794

reply via email to

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