I want to install rtlinux to dapper. So I have to re-compile the ubuntu kernel source. My kernel source version is *2.6.15-28-386*. I download the linux kernel source from <a href="http://www.kernel.org">www.kernel.org</a>
. Its version is *2.6.9*. Then I began to compile this kernel source.<br>cd /usr/src<br>sudo tar xfvj linux2.6.9.tar.bz2 <br>sudo ln -s linux2.6.9 linux<br>cd linux<br>cp /boot/config-2.6.15-28-386 .config<br>sudo make menuconfig
<br><br><br>Now the error occus. The error msg is *<br> HOSTCC  scripts/basic/fixdep<br>In file included from /usr/include/sys/socket.h:35,<br>                 from /usr/include/netinet/in.h:24,<br>                 from /usr/include/arpa/inet.h:23,
<br>                 from scripts/basic/fixdep.c:115:<br>/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory<br>make[1]: *** [scripts/basic/fixdep] Error 1<br>make: *** [scripts_basic] Error 2
<br>*<br clear="all"><br><br>Would you give me some idears?<br>-- <br>Best Regards<br>zhihang wang