[lxc-devel] build error of utils.h

Qiang Huang h.huangqiang at huawei.com
Thu May 30 09:00:40 UTC 2013


Please ignore it, there might be something wrong with my box, no code's bad.

Sorry for the bother.


On 2013/5/30 15:40, Qiang Huang wrote:
> Hi,
> 
> I just updated to the latest code and met a build error:
> 
> utils.h:52: error: static declaration of ‘setns’ follows non-static declaration
> /usr/local/include/bits/sched.h:93: note: previous declaration of ‘setns’ was here
> make[3]: *** [liblxc_so-bdev.o] Error 1
> 
> 
> latest commit is 39dc698cb4025516a3
> my gcc version is 4.4.4
> build on RHEL6
> 
> Might caused by Dwight's patch.
> Any idea how to fix this?
> 
> 
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
> 
> 






More information about the lxc-devel mailing list