[dm-devel] __kernel_dev_t not exported

Bastian Blank bastian at waldi.eu.org
Fri Jun 29 12:16:42 UTC 2007


On Fri, Jun 29, 2007 at 02:14:47PM +0200, Bastian Blank wrote:
> It is pretty undefined if linux/types.h exports __kernel_dev_t (and some
> other definitions) or not. This is controlled by a define which is set
> in feature.h from the glibc (__KERNEL_STRICT_NAMES).

Forgot to say, that this breaks devmapper:
| In file included from ioctl/libdm-iface.c:22:
| ioctl/libdm-compat.h:43: error: expected specifier-qualifier-list before '__kernel_dev_t'
| ioctl/libdm-compat.h:63: error: expected specifier-qualifier-list before '__kernel_dev_t'

Bastian

-- 
Emotions are alien to me.  I'm a scientist.
		-- Spock, "This Side of Paradise", stardate 3417.3




More information about the dm-devel mailing list