Skip to content

doesn't compile on pi 3B with Debian Trixie #38

Description

@kitebuggylux

Hi

the software doesn't compile on Debian trixie (

PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.6
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

)
and spins the following error message out:

Found system type 'aarch64'
Flags for Raspberry Pi 3/4 64 Bit
g++ -O3 -std=c++0x -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-write-strings -funsafe-math-optimizations -ftree-vectorize -ffast-math -I/usr/include/ -c fm_demod.cpp
In file included from fm_demod.cpp:11:
decoder.h:23:9: error: ‘uint64_t’ does not name a type
23 | uint64_t id;
| ^~~~~~~~
decoder.h:7:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
6 | #include
+++ |+#include
7 |
decoder.h:46:34: error: ‘uint8_t’ has not been declared
46 | virtual void store_bytes(uint8_t d, int len);
| ^~~~~~~
decoder.h:52:9: error: ‘uint8_t’ does not name a type
52 | uint8_t rdata[256];
| ^~~~~~~
decoder.h:52:9: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
decoder.h:58:13: error: ‘uint64_t’ was not declared in this scope
58 | map<uint64_t,sensordata_t> data;
| ^~~~~~~~
decoder.h:58:13: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
decoder.h:58:34: error: template argument 1 is invalid
58 | map<uint64_t,sensordata_t> data;
| ^
decoder.h:58:34: error: template argument 3 is invalid
decoder.h:58:34: error: template argument 4 is invalid
decoder.h: In member function ‘int decoder::count()’:
decoder.h:44:38: error: request for member ‘size’ in ‘((decoder
)this)->decoder::data’, which is of non-class type ‘int’
44 | int count(void) {return data.size();}
| ^~~~
make: *** [Makefile:64: fm_demod.o] Error 1

Thanx for resolving this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions