AnsweredAssumed Answered

Freescale kernel building

Question asked by Robert Middleton on Jan 5, 2016
Latest reply on Feb 29, 2016 by Fabio Estevam

I'm trying to build the latest 3.14 kernel from Freescale(Freescale/linux-fslc at 3.14-1.1.x-mx6 · GitHub ), but I'm having a problem building it.  I'm trying to build the kernel for an IMX6.  After cloning the repo, I do the following to try and build it:

  1. make imx_v7_defconfig
  2. make

However, the make process fails with the following error:

arch/arm/mm/built-in.o:(___ksymtab+v7_dma_map_area+0x0): multiple definition of `__ksymtab_v7_dma_map_area'

arch/arm/kernel/built-in.o:(___ksymtab+v7_dma_map_area+0x0): first defined here

arch/arm/mm/built-in.o:(___ksymtab+v7_dma_flush_range+0x0): multiple definition of `__ksymtab_v7_dma_flush_range'

arch/arm/kernel/built-in.o:(___ksymtab+v7_dma_flush_range+0x0): first defined here

arch/arm/mm/built-in.o:(___ksymtab+v7_dma_unmap_area+0x0): multiple definition of `__ksymtab_v7_dma_unmap_area'

arch/arm/kernel/built-in.o:(___ksymtab+v7_dma_unmap_area+0x0): first defined here

Makefile:831: recipe for target 'vmlinux' failed


What do I need to change in order for the kernel to link cleanly?