OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: j on March 12, 2024, 12:36:12 am

Title: fatal error: sys/cdefs.h: No such file or directory
Post by: j 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!
Title: Re: fatal error: sys/cdefs.h: No such file or directory
Post by: Dave Yeo 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.
Title: Re: fatal error: sys/cdefs.h: No such file or directory
Post by: Dariusz Piatkowski 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