SD and ScarletDME problem with C code

35 views
Skip to first unread message

D M

unread,
Nov 18, 2025, 2:15:29 PMNov 18
to Pick and MultiValue Databases
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.

Gene Buckle

unread,
Nov 18, 2025, 3:22:53 PMNov 18
to mvd...@googlegroups.com

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_!

D M

unread,
Nov 18, 2025, 3:26:38 PMNov 18
to Pick and MultiValue Databases
Fedora 43 is the first release that does not include termio.h.  SD compiled cleanly on 42 and failed on 43.

Gene Buckle

unread,
Nov 18, 2025, 3:31:19 PMNov 18
to mvd...@googlegroups.com

On 11/18/2025 12:26 PM, D M wrote:
> Fedora 43 is the first release that does not include termio.h.  SD
> compiled cleanly on 42 and failed on 43.
>
It looks like I made the change in September for issue #84.

https://github.com/geneb/ScarletDME/issues/84

Steven Martin Trimble

unread,
Nov 18, 2025, 4:47:18 PMNov 18
to mvd...@googlegroups.com
Way to go Gene!

CDMI
Steven Trimble
(501) 772-3450 cell/text


--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/67a4f403-617c-462c-aaec-3bc25b4a0920%40deltasoft.com.

Gene Buckle

unread,
Nov 18, 2025, 5:04:50 PMNov 18
to mvd...@googlegroups.com

On 11/18/2025 1:47 PM, Steven Martin Trimble wrote:
> Way to go Gene!
>
Hehe.  Thanks.  I was doing something that triggered the termio.h issue
so I got it handled while I had the hood up. :D
Reply all
Reply to author
Forward
0 new messages