Hmm, my /usr/include/bits/socket.h lines 253 and 254 reads:
My linux-source is 2.6.30-2 but I'm using kernel version 2.6.30-3. Maybe that's the problem. :roll:
I'll try again later when the linux-source is updated and same version. Thanks.
Oops, I had one package "locking" the linux-source metapackage version. I have the correct version now. :roll:
humm.. I have 52 files in /usr/include/asm/... and these are standard libc headers, it has nothing to do with the kernel... the /usr/include/asm/socket.h is part of the linux-libc-dev package on debian... so make sure you have the libc-dev package installed...
I have both the linux-libc-dev (2.6.30-3.4) and libc6-dev (2.9-9ubuntu1) installed. Reinstalling did nothing.
I guess I'll have to wait for some updatesâ€¦
Oh, I've found now a reported bug about this: /usr/include/asm/* is not present in linux-libc-dev
and it seems to be fixed at version 2.6.30-4.5. (I'm waiting for it to hit the repositories.)