busybox 1.18.1 fails to compile on selinux systems

Chris Richards gizmo at giz-works.com
Wed Jan 5 04:01:58 UTC 2011

Just ran into this on a Gentoo system.

Basically, util-linux/mkswap.c appears to be bugged.  When compiled, I 
get the error:
util-linux/mkswap.c: In function 'mkswap_selinux_setcontext':
util-linux/mkswap.c::18: error: 'argv' undeclared (first use in this 

This appears to be due to a change introduced in 1.18.0.  I'm not 
certain what the exact goal of the change was, but this patch seems to 
make it happy on my system.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkswap.diff
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20110104/364b4e25/attachment.diff>

More information about the busybox mailing list