procinfo.h is not with the kernel source[Linux 2.6.18-238.e15
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
procinfo.h is not with the kernel source[Linux 2.6.18-238.e15
Hi All,
I am using Linux 2.6.18-238.e15. In my application am having an include statement "#include<procinfo.h>". Here am getting the error as "error: procinfo.h: No such file or directory". I have used the command "Locate procinfo.h" but it doesnt list me any procinfo.h file. Am new to this linux. I would like add this header file to fix my issue in my application. Kindly guide me to do.
The header procinfo.h is available from the `procinfo' source code : ftp://ftp.redhat.com/redhat/linux/en...l5_7.2.src.rpm
>> procinfo-18-19.el5_7.2.src.rpm > procinfo-18.tar.bz2 > procinfo-18/procinfo.h
>>> # cp procinfo.h /usr/local/include/
Thanks for ur reply knudfl. But procinfo.h is a kernel header file rite. If i copy that file into /usr/local/include will it be work as a user space header. I think "/usr/local/include" is the user space path. Not the kernel source include directory.Kindly update me.
In my Linux kernel source i dont have procinfo.h header file. I just wants to know whether i have to add the source code of procinfo.h in kernel source and rebuild the kernel or i hav to upgrade the kernel.
In my Linux kernel source i dont have procinfo.h header file. I just wants to know whether i have to add the source code of procinfo.h in kernel source and rebuild the kernel or i hav to upgrade the kernel.
Thanks
jothichalam
No application would have used procinfo.h. It was a kernel internal file only for use inside the kernel.
It is also no longer used, thus it serves no purpose now.
Please can u all guide me to insert that procinfo.h header file into my kernel source and stepwise procedure to build that kernel and make that header file available as a user space header file.
Please can u all guide me to insert that procinfo.h header file into my kernel source and stepwise procedure to build that kernel and make that header file available as a user space header file.
Thanks,
jothichalam.
It doesn't address a user space issue at all. It was always internal to the kernel. Even currently, it is useless to a user application - in the ARM architecture, it is used to describe the hardware CPU by an assembly language implementation.
I have a proc program. in my program am using the structure procsinfo which is a member of procinfo.h. This procinfo.h header file is not available in my environment. Kindly help me to fix this. This is what i want to fix
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.