[lxc-devel] build error of utils.h

Qiang Huang h.huangqiang at huawei.com
Thu May 30 07:40:14 UTC 2013


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?





More information about the lxc-devel mailing list