Re: uapi/asm-generic missing from linux-headers-3.7
Control: tags -1 + patch
> The problem here is that arch/x86/include/asm/types.h has a include for
> <asm-generic/types.h>. This file was moved from include/ to
> include/uapi/ in 8a1ab3155c2ac7fbe5f2038d6e26efeb607a1498. include/uapi/
> is added to the include-path by the upstream Makefile just fine, but the
> asm-generic subfolder is missing from linux-headers-3.7-trunk-common.
> Copying the folder from the tarball to
> /usr/src/linux-headers-3.7-trunk-common/include/uapi/asm-generic fixes
> the build-issue for me.
The obvious patch is of course:
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -237,6 +237,7 @@ install-headers_$(ARCH)_$(FEATURESET):
$(STAMPS_DIR)/source_$(FEATURESET)
find $$(find arch/$(KERNEL_ARCH) \( -name include -o -name
scripts \) -type d -print) -print; \
find include -name 'asm*' -prune -o -print; \
find include/asm-generic -print; \
+ find include/uapi/asm-generic -print; \
) \
| \
cpio -pd --preserve-modification-time '$(CURDIR)/$(DIR)'
tp-smapi builds fine for me then, virtualbox needs some love, but that
is 3.7 related (error: ‘VM_RESERVED’ undeclared (first use in this
function)).
Greets
Evgeni
--
Bruce Schneier can read and understand Perl programs.
Reply to: