On 11/18/2025 11:15 AM, D M wrote:
> After 8 months dealing with "real life" issues, I am back working on
> SD. I was updating our installer and testing it on current versions
> of Debian and Fedora.
>
> In testing, I found out that SD (and I assume) ScarletDME will no
> longer compile on Fedora 43. I assume the same will be true on Debian
> based distributions when the C library is updated to 2.42. The issue
> is as follows (as explained by the Google AI):
>
> The header file <termio.h> is deprecated and has been removed in newer
> versions of the GNU C Library (glibc), including glibc 2.42 which is
> used in Fedora 43. You should update your code to use the modern
> <termios.h> header instead.
> Why <termio.h> is missing
> The <termio.h> header and the associated struct termio are outdated;
> they were superseded by the POSIX standard <termios.h> header long
> ago. The maintainers of glibc have finally removed the old, unused
> file entirely to clean up the library.
> How to Fix the Error
> To resolve the compilation error, you need to modify the source code
> of the program you are trying to compile:
>
> 1. Replace the include directive: Change #include <termio.h> to
> #include <termios.h>.
> 2. Update structure references: If the code uses the struct
> termio type, you will need to update it to use struct termios. The
> members and functionality are very similar, so this change is
> usually straightforward.
>
>
I'm pretty sure I resolved this a while back when I tweaked things to
better handle the newer gcc standard settings. I haven't tested on
Fedora 43, but it compiles cleanly on Fedora 42.
g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
I'm not crazy, I'm plausibly off-nominal!
ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
https://github.com/geneb/ScarletDME - Get it _today_!