- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Wed, 11 Jan 2006 13:33:43 +0000
The following compiler option was added in kernel version 2.6.15: -include include/linux/autoconf.h That's fine when building drivers using the kernel kbuild system as everything is built from the top-level kernel source directory in that case. However, Comedi doesn't do that, so the above compiler option causes errors. The attached patch effectively rewrites the compiler option to: -include $(LINUX_DIR)/include/linux/autoconf.h where $(LINUX_DIR) is the configured kernel source directory (it is called $(LINUXDIR) in m4/as-linux.m4). The patch changes m4/as-linux.m4, which originally came from the "autostars" project on sourceforge, so maybe it needs fixing upstream.
Attachments
- text/x-patch attachment: as-linux.patch
Received on 2006-01-11Z13:33:43