Author Topic: fatal error: sys/cdefs.h: No such file or directory  (Read 2389 times)

j

  • Newbie
  • *
  • Posts: 30
  • Karma: +1/-0
    • View Profile
fatal error: sys/cdefs.h: No such file or directory
« on: March 12, 2024, 12:36:12 am »
Do you know which package is needed to add the missing header files? This is the gcc from netlabs-rel (9.2.0-4.oc00)
Thank you!

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4980
  • Karma: +109/-1
    • View Profile
Re: fatal error: sys/cdefs.h: No such file or directory
« Reply #1 on: March 12, 2024, 02:10:30 am »
Do you know which package is needed to add the missing header files? This is the gcc from netlabs-rel (9.2.0-4.oc00)
Thank you!

libc-devel has most of the headers, libcx-devel also has a few.
There really should be a meta package, easy to forget things like the linker (watcom-wlink-hll)
Edit: You should use ash rather then bash as well. The bash port is incomplete.
« Last Edit: March 12, 2024, 02:13:04 am by Dave Yeo »

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1343
  • Karma: +26/-0
    • View Profile
Re: fatal error: sys/cdefs.h: No such file or directory
« Reply #2 on: March 12, 2024, 03:30:54 am »
Do you know which package is needed to add the missing header files? This is the gcc from netlabs-rel (9.2.0-4.oc00)

'yum provides */sys/cdefs.h' at CLI will list a bunch of RPM packages...I'm thinking you'd pick the most appropriate one for your situation