How to compile the kernel under ubuntu 6.06 (dapper)?

zhihang wang zhihang.wang at gmail.com
Sat Jul 14 16:16:32 UTC 2007


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 www.kernel.org. Its version is *2.6.9*. Then I
began to compile this kernel source.
cd /usr/src
sudo tar xfvj linux2.6.9.tar.bz2
sudo ln -s linux2.6.9 linux
cd linux
cp /boot/config-2.6.15-28-386 .config
sudo make menuconfig


Now the error occus. The error msg is *
 HOSTCC  scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or
directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
*


Would you give me some idears?
-- 
Best Regards
zhihang wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070715/f283c07e/attachment.html>


More information about the ubuntu-users mailing list