I've looked at the devmapper build. The only reason it's using
linux/types.h is for __kernel_dev_t, which is a kernel internal.

The new hdrinstall stuff is strictly enforcing that the headers exported
with glibc are only to be used for general userspace stuff. Anything
that needs to know about kernel internals needs to either use linux-
headers-2.6.17, or copy things into the local build.

In this case, I think it's easier to copy the one typedef into the local
build. I've attached a patch to fix devmapper to build more properly.

** Attachment added: "devmapper build fix"
   http://librarian.launchpad.net/4354301/devmapper-lkh-build-fix.diff

-- 
conflicting types in linux/types.h
https://launchpad.net/bugs/54658

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to