I can't seem to get rid of these errors:
GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function `fec_enet_init': bufp.c:(.text.unlikely+0x209c): undefined reference to `dma_alloc_noncacheable' sound/built-in.o: In function `imx_pcm_preallocate_dma_buffer.constprop.8': last.c:(.text+0x37320): undefined reference to `dma_alloc_writethrough' last.c:(.text+0x37370): undefined reference to `dma_alloc_writethrough' sound/built-in.o: In function `imx_soc_platform_probe': last.c:(.devinit.text+0x528): undefined reference to `dma_alloc_noncacheable' make: *** [.tmp_vmlinux1] Error 1 Does anyone have any ideas which files need to #include the dma headers? Note that bufp.c is symlinked out of the kernel tree into the xenomai tree. (by the xeno patch) and does not contain a fec_enet_init function, nor a call to dma_alloc_noncacheable. fec_enet_init exists in drivers/net/fec.c and does have a call to dma_alloc_noncacheable, but also #includes dma-mapping.h. (though dma_alloc_noncacheable is actually in arch/arm/include/asm/dma-mapping.h which is conditionally #included in <linux/dma-mapping.h> Is it possible that something like changing the sequence of the includes is required? Maybe the flags don't always get reset so #ifndef ASMARM_DMA_MAPPING_H #define ASMARM_DMA_MAPPING_H Is non-including the required functions? -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers