Menu

#14 per-cxenix/misc.h AT_FDCWD and AT_EACCESS undefined on SUSE Leap 15.4

1.0
closed
None
2024-11-17
2024-11-13
Ed Reed
No

Yes, I know - I'm using OpenSUSE instead of debian. It's what I know.

Compiling with gcc-13 on OpenSUSE Leap 15.4
The per-cxenix/misc.c in ibcs-us-4.2.1/ is giving me grief about undefined AT_FDCWD and AT_EACCESS defines.

Grepping across /usr/include, AT_FDCWD is defined as -100, and AT_EACCESS is defined as 0x200 in /usr/include/fcntl.h and /usr/include/linux/fcntl.h, which of course we don't include because those are clib includes.

Am I correct I can "safely" supply those definitions somewhere in the linux26-compat/linux/fnctl.h file (they are not defined in SUSE's bits/fnctl.h)?

Thanks
Ed

1 Attachments

Discussion

  • Ed Reed

    Ed Reed - 2024-11-13

    Title line should read misc.c, not misc.h

     
  • Ed Reed

    Ed Reed - 2024-11-14

    Okay - switching to debian to try to reproduce your buildinfo environment. Close this ticket.

     
  • Russell Stuart

    Russell Stuart - 2024-11-17

    Thanks for solving this yourself Ed. Closing as requested.

     
  • Russell Stuart

    Russell Stuart - 2024-11-17
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB