Jump to content

kernel headers in /usr/include


Recommended Posts

hi all,

 

I've been trying to compile glibc2.3.2 on my mdk9.1 installation (just for fun and learning). I realized that I had to replace the kernel headers in /usr/include with the ones from /usr/src/linux-2.6.4/include in order to get the compile to finish when using the option --with-kernel-2.6.4 (I still have problems but that's a different topic).

 

My question is this. Why are there kernel headers in /usr/include or rather, why is it that most programs as far as I know look for the kernel headers in /usr/src/linux/include when there are kernel headers in /usr/include? and why leave ancient headers in /usr/include when most programs don't look there for the kernel headers anyway? Should I expect compilation problems now that I've replaced them?

 

thanks for any input.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...