Package: brickos Version: 0.9.0.dfsg-12.1 Severity: normal Dear Maintainer,
I can't compile the /usr/share/doc/brickos/examples/demo/c++.cpp and .../examples/demo/c++/temperatureSensor.C files with the provided Makefiles. The compile fails at the linking stage where it complains about missing symbols that are seemingly there. $ cp -r /usr/share/doc/brickos/examples/demo/c++ temp && cd temp $ make temperatureSensor.lx /usr/bin/h8300-hms-g++ -DCXX -fno-rtti -fno-exceptions -O2 -fno-builtin -fomit-frame-pointer -Wall -I/usr/include/brickos -I/usr/include/brickos/lnp -I. -I/usr/include/brickos -c temperatureSensor.C -o temperatureSensor.o /usr/bin/h8300-hms-ld -T /usr/lib/brickos/brickOS.lds -relax -L/usr/lib/brickos temperatureSensor.o -lc -lmint -lfloat -lc++ -o temperatureSensor.dc1 --oformat coff-h8300 -Ttext 0xb000 temperatureSensor.o:temperatureSensor.C:(.text+0x5e): undefined reference to `__floatsisf' temperatureSensor.o:temperatureSensor.C:(.text+0x6e): undefined reference to `__mulsf3' temperatureSensor.o:temperatureSensor.C:(.text+0x80): undefined reference to `__subsf3' temperatureSensor.o:temperatureSensor.C:(.text+0x92): undefined reference to `__mulsf3' temperatureSensor.o:temperatureSensor.C:(.text+0x9a): undefined reference to `__fixsfsi' temperatureSensor.o:temperatureSensor.C:(.text+0x5e): undefined reference to `__floatsisf' temperatureSensor.o:temperatureSensor.C:(.text+0x6e): undefined reference to `__mulsf3' temperatureSensor.o:temperatureSensor.C:(.text+0x80): undefined reference to `__subsf3' temperatureSensor.o:temperatureSensor.C:(.text+0x92): undefined reference to `__mulsf3' temperatureSensor.o:temperatureSensor.C:(.text+0x9a): undefined reference to `__fixsfsi' /usr/lib/brickos/Makefile.user:50: recipe for target 'temperatureSensor.dc1' failed make: *** [temperatureSensor.dc1] Error 1 $ h8300-hms-nm /usr/lib/brickos/libfloat.a | grep __floatsisf 0000000000000008 T ___floatsisf Best regards, Lénárd Szolnoki -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (800, 'unstable'), (700, 'testing'), (400, 'experimental'), (80, 'unstable'), (70, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages brickos depends on: ii libc6 2.24-10 Versions of packages brickos recommends: ii binutils-h8300-hms 2.16.1-10+b2 ii gcc-h8300-hms 1:3.4.6+dfsg2-4 Versions of packages brickos suggests: ii brickos-doc 0.9.0.dfsg-12.1 -- no debconf information