Skip to content

Building on Debian bullseye/sid (testing) - workaround #37

@Wi5eJ4rl

Description

@Wi5eJ4rl

Hello,

After many days of fighting with dependencies, I stuck at make:

Making all in po
make[1]: Wejście do katalogu '/home/asus/dl-fldigi/po'
make[1]: Opuszczenie katalogu '/home/asus/dl-fldigi/po'
Making all in doc
make[1]: Wejście do katalogu '/home/asus/dl-fldigi/doc'
make[1]: Nie ma nic do zrobienia w 'all'.
make[1]: Opuszczenie katalogu '/home/asus/dl-fldigi/doc'
Making all in src
make[1]: Wejście do katalogu '/home/asus/dl-fldigi/src'
make  all-am
make[2]: Wejście do katalogu '/home/asus/dl-fldigi/src'
  CXX      dl_fldigi-rtty.o
In file included from ./include/habitat/Extractor.h:8,
                 from ./include/dl_fldigi/hbtint.h:7,
                 from cw_rtty/rtty.cxx:42:
./include/habitat/UploaderThread.h:155:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  155 |     auto_ptr<habitat::Uploader> uploader;
      |     ^~~~~~~~
In file included from /usr/include/c++/10/memory:83,
                 from ./include/habitat/UploaderThread.h:6,
                 from ./include/habitat/Extractor.h:8,
                 from ./include/dl_fldigi/hbtint.h:7,
                 from cw_rtty/rtty.cxx:42:
/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
cw_rtty/rtty.cxx:55:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
   55 | };
      | ^
cw_rtty/rtty.cxx:55:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
cw_rtty/rtty.cxx:77:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
   77 | };
      | ^
cw_rtty/rtty.cxx:77:1: error: narrowing conversion of ‘'\37777777667'’ from ‘char’ to ‘unsigned char’ [-Wnarrowing]
make[2]: *** [Makefile:1828: dl_fldigi-rtty.o] Błąd 1
make[2]: Opuszczenie katalogu '/home/asus/dl-fldigi/src'
make[1]: *** [Makefile:1169: all] Błąd 2
make[1]: Opuszczenie katalogu '/home/asus/dl-fldigi/src'
make: *** [Makefile:472: all-recursive] Błąd 1

I've followed by raspbian build instructions. I've tried the newest version and last stable DL3.1.

EDIT:
There is a problem with this repo, but this fork works fine with some extra flags.

To build this on Debian follow this instructions:

git clone https://github.com/jamescoxon/dl-fldigi
cd dl-fldigi
git submodule init
git submodule update
autoreconf -vfi
./configure --disable-flarq --enable-optimizations=native CXXFLAGS="-fpermissive -Wno-narrowing -g -O2"
make

Enjoy!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions