On Thu, 16 Aug 2001, Michael Rodrigues wrote:
Configure can't find sys/socket.h which is required for "socketlen_t". So compile fails. This is very strange as sys/types.h and other files are found. I checked /usr/include/ and can confirm that socket.h is present in sys/.
Sometimes, the problem is with a file included from the required file. You should first figure out what exactly is the problem.
Open up configure and check for the section that looks for sys/socket.h
Try writing a small test app that uses socket.h. It doesn't have to do anything, maybe just call a single function.
Some headers need to be symlinked to the linux source headers:
/usr/include/asm -> /usr/src/linux/include/asm /usr/include/linux -> /usr/src/linux/include/linux
These need to be updated everytime you update your kernel.
Are these present for your current kernel?
Philip