I recently upgraded to RH6.2 from a RH6.1 i386 system.
When I tried to re-compile some applications, I received errors regarding
various missing .h files. Specifically I was compiling radius-cistron-
126.96.36.199 with MySQL patches. This application previously compiled fine
Bottom line; I had to create the following symbolic links:
ln -s /usr/src/linux-2.2.16/include/linux/ /usr/include/linux
ln -s /usr/src/linux-2.2.16/include/asm-i386/ /usr/include/asm
After these symbolic links were created, and some problems with the
mysql_init() routine resolved, the application compiled OK.
I found it weird that the /usr/include/linux and /usr/include/asm
directories (or links to them) were, plain and simply, missing.
The involved packages were these: