Red Hat Bugzilla – Bug 17239
Problems with /usr/include directories missing/unlinked
Last modified: 2008-05-01 11:37:58 EDT
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-
188.8.131.52 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: