NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD build failure around __RCSID



    Date:        Mon, 17 Nov 2025 19:28:03 +0000
    From:        Sad Clouds <cryintothebluesky%gmail.com@localhost>
    Message-ID:  <20251117192803.7f7e95cf147c6f6be7ce417b%gmail.com@localhost>


  | # 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



Home | Main Index | Thread Index | Old Index