Date: Mon, 17 Nov 2025 19:28:03 +0000
From: Sad Clouds <[email protected]>
Message-ID: <[email protected]>
| # 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
| # 24 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
That is the problem, you're (for whatever reason) getting that version
for <sys/cdefs.h> instead of the NetBSD version (which defines RCSID,
indirectly).
You appear to be attempting to use a NetBSD specific source file while
compiling a linux API set of code, that can't really work.
If you need to continue this way, just delete (or comment out) the
RCSID line - it is just for version identification of the object file,
it doesn't do anything necessary to make the code work.
kre