Linux: Redhat 6 missing header file stropts.h

Connect with

Redhat 6 missing header filesRedhat 6 missing header files from /usr/include/stropts.h is a trick to recover.
When migrating our code from Redhat 5 to Redhat 6 and if we are using some header file like 'stropts.h'.
So we got a compilation error because some of the development packages are missing at the time of installation.

Overview of Redhat 6 missing header file

To resolve this need to install particular or correct header in redhat6.

So now the question arises, how we can find the correct package?

Need to install package from yum command:-

yum to install oprofile-devel.

Above package is available for 34bit and 64 bit.

What this file is missing :-
1. 'stropt.h' header file is STREAMS interface (STREAMS),

Suggested : Streams hasn’t been supported in Linux by default need to install package.

oprofile is a software and system profiler tool.

Resolution: Either remove or comment the header file otherwise install 'oprofile' software tool.


Connect with

2 thoughts on “Linux: Redhat 6 missing header file stropts.h”

  1. Pingback: kumar

  2. Pingback: rakhi

Leave a Comment

Your email address will not be published. Required fields are marked *