It indeed is caused by error of the header files. Thanks very much. ________________________________________ 发件人: Qiang Huang [h.huangqi...@huawei.com] 发送时间: 2013年5月25日 16:46 收件人: ZHANG, Benlong 抄送: lxc-users@lists.sourceforge.net 主题: Re: [Lxc-users] 答复: can't start a container with kernel 3.8.2
On 2013/5/25 16:21, ZHANG, Benlong wrote: > So I thought it may be caused by the version mismatch between LXC > and the kernel, but the latest lxc-0.9.0 just won't compile when I configured > it. It complained: > > checking Whether to place logfiles in container config path... no > checking for linux/unistd.h... yes > checking for linux/netlink.h... no > configure: error: Please install the Linux kernel headers. > > The kernel header is already there………… You updated kernel but kernel header in user space is still old, there are several ways to update kernel header, you can google it and find one way you like. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users