Hi Catalin,

On Wednesday 24 October 2012 22:06:58 Catalin Patulea wrote:
> On Tue, Oct 23, 2012 at 10:10 PM, Catalin Patulea <[email protected]> wrote:
> > Have you had luck with your patch on a recent-ish trunk?
> Ah, my build problem was related to an attempt to build kernel 3.4,
> which left some 3.4 installed in the toolchain. The mtd package was
> additionally including files from the kernel tree explicitly, which
> was 3.3 since I had reverted back from 3.4. Some definitions got moved
> around so this resulted in a double-definition of kernel_fsid.
> 
> The mtd build still emits this warning though:
> /home/catalinp/src/openwrt/build_dir/linux-malta_be/linux-3.3.8/include/linux/types.h:13:2:
> warning: #warning "Attempt to use kernel headers from user space, see
> http://kernelnewbies.org/KernelHeaders";
> 
> I think I know how to fix the warning - but if I send a patch out, are
> there any devs willing to review?

Sure, something along those lines I suppose:
- get rid of the explicit including path of $(LINUX_DIR)/include
- use Kbuild to export bcm963xx_tag.h

The latter does not seem too easy to do considering where the bcm963xx_tag.h
header file is being located, but we could probably move it somewhere else and
use Kbuild to export this file to user-space.
--
Florian

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to