/home/rauch/jncg/ptxdist/rules/systemd.in:15:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'MACHINE_ID' /home/rauch/jncg/ptxdist/rules/systemd.in:18:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'LIBSELINUX' /home/rauch/jncg/ptxdist/rules/systemd.in:24:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'HOST_SYSTEMD' /home/rauch/jncg/ptxdist/rules/systemd.in:15:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'MACHINE_ID' /home/rauch/jncg/ptxdist/rules/systemd.in:18:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'LIBSELINUX' /home/rauch/jncg/ptxdist/rules/systemd.in:24:warning: 'select' used by config symbol 'SYSTEMD' refers to undefined symbol 'HOST_SYSTEMD' /home/rauch/jncg/ptxdist/rules/post/image_ubi.make:13: warning: overriding commands for target `/home/rauch/jncg/ptxdist/platform-ecu01/images/root.ubi' /opt/ptxdist/lib/ptxdist-2012.10.0/rules/post/image_ubi.make:70: warning: ignoring old commands for target `/home/rauch/jncg/ptxdist/platform-ecu01/images/root.ubi' ---------------------- target: kernel.compile ---------------------- cd /home/rauch/jncg/ptxdist/platform-ecu01/build-target/linux-3.10.22 && PATH=/home/rauch/jncg/ptxdist/platform-ecu01/sysroot-cross/bin:/home/rauch/jncg/ptxdist/platform-ecu01/sysroot-cross/sbin:$PATH KCONFIG_NOTIMESTAMP=1 HOST_EXTRACFLAGS="-isystem /home/rauch/jncg/ptxdist/platform-ecu01/sysroot-host/include" make -k \ -j24 V=0 HOSTCC=gcc ARCH=arm CROSS_COMPILE=arm-v5te-linux-gnueabi- INSTALL_MOD_PATH=/home/rauch/jncg/ptxdist/platform-ecu01/packages/linux-3.10.22 PTX_KERNEL_DIR=/home/rauch/jncg/ptxdist/platform-ecu01/build-target/linux-3.10.22 CONFIG_DEBUG_SECTION_MISMATCH=y DEPMOD=/home/rauch/jncg/ptxdist/platform-ecu01/sysroot-cross/sbin/arm-v5te-linux-gnueabi-depmod zImage "modules" make[1]: Entering directory `/home/rauch/jncg/ptxdist/platform-ecu01/build-target/linux-3.10.22' CHK include/generated/uapi/linux/version.h CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o CHK include/generated/utsrelease.h make[2]: `include/generated/mach-types.h' is up to date. CC arch/arm/kernel/asm-offsets.s In file included from include/linux/cred.h:17:0, from include/linux/sched.h:53, from arch/arm/kernel/asm-offsets.c:13: include/linux/key.h: In function 'key_read_state': include/linux/key.h:327:2: error: implicit declaration of function 'smp_load_acquire' [-Werror=implicit-function-declaration] In file included from arch/arm/kernel/asm-offsets.c:13:0: include/linux/sched.h: At top level: include/linux/sched.h:724:2: error: static assertion failed: "include/linux/sched.h:724: seqlock_t stats_lock is larger than unsigned long rh_reserved1. Disable CONFIG_RH_KABI_SIZE_ALIGN_CHECKS if debugging." include/linux/sched.h:1888:26: error: field 'statistics' has incomplete type In file included from arch/arm/kernel/asm-offsets.c:14:0: include/linux/mm.h: In function 'get_user_pages_longterm': include/linux/mm.h:1500:5: error: 'gup_flags' undeclared (first use in this function) include/linux/mm.h:1500:5: note: each undeclared identifier is reported only once for each function it appears in In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h: At top level: include/linux/dma-mapping.h:108:35: error: redefinition of 'get_dma_ops' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:18:35: note: previous definition of 'get_dma_ops' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h: In function 'get_dma_ops': include/linux/dma-mapping.h:112:2: error: implicit declaration of function 'get_arch_dma_ops' [-Werror=implicit-function-declaration] include/linux/dma-mapping.h:112:2: warning: return makes pointer from integer without a cast [enabled by default] include/linux/dma-mapping.h: At top level: include/linux/dma-mapping.h:115:20: error: redefinition of 'set_dma_ops' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:25:20: note: previous definition of 'set_dma_ops' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:135:26: error: redefinition of 'dma_map_single_attrs' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:10:26: note: previous definition of 'dma_map_single_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:154:20: error: redefinition of 'dma_unmap_single_attrs' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:29:20: note: previous definition of 'dma_unmap_single_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:171:19: error: redefinition of 'dma_map_sg_attrs' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:42:19: note: previous definition of 'dma_map_sg_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:189:20: error: redefinition of 'dma_unmap_sg_attrs' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:59:20: note: previous definition of 'dma_unmap_sg_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:267:20: error: redefinition of 'dma_sync_single_for_cpu' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:97:20: note: previous definition of 'dma_sync_single_for_cpu' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:279:20: error: redefinition of 'dma_sync_single_for_device' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:109:20: note: previous definition of 'dma_sync_single_for_device' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:291:20: error: redefinition of 'dma_sync_single_range_for_cpu' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:121:20: note: previous definition of 'dma_sync_single_range_for_cpu' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:305:20: error: redefinition of 'dma_sync_single_range_for_device' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:135:20: note: previous definition of 'dma_sync_single_range_for_device' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:320:1: error: redefinition of 'dma_sync_sg_for_cpu' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:150:1: note: previous definition of 'dma_sync_sg_for_cpu' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:332:1: error: redefinition of 'dma_sync_sg_for_device' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:162:1: note: previous definition of 'dma_sync_sg_for_device' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:377:1: error: redefinition of 'dma_mmap_attrs' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:196:1: note: previous definition of 'dma_mmap_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:394:1: error: redefinition of 'dma_get_sgtable_attrs' In file included from ./arch/arm/include/asm/dma-mapping.h:31:0, from include/linux/dma-mapping.h:107, from arch/arm/kernel/asm-offsets.c:15: include/asm-generic/dma-mapping-common.h:221:1: note: previous definition of 'dma_get_sgtable_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:411:21: error: redefinition of 'dma_alloc_attrs' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:141:21: note: previous definition of 'dma_alloc_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:433:20: error: redefinition of 'dma_free_attrs' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:173:20: note: previous definition of 'dma_free_attrs' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:452:21: error: expected declaration specifiers or '...' before '(' token include/linux/dma-mapping.h:458:20: error: expected declaration specifiers or '...' before '(' token include/linux/dma-mapping.h:464:21: error: redefinition of 'dma_alloc_noncoherent' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:110:21: note: previous definition of 'dma_alloc_noncoherent' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:473:20: error: redefinition of 'dma_free_noncoherent' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:116:20: note: previous definition of 'dma_free_noncoherent' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:482:19: error: redefinition of 'dma_mapping_error' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:100:19: note: previous definition of 'dma_mapping_error' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:497:19: error: static declaration of 'dma_supported' follows non-static declaration In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:121:12: note: previous declaration of 'dma_supported' was here In file included from arch/arm/kernel/asm-offsets.c:15:0: include/linux/dma-mapping.h:510:19: error: redefinition of 'dma_set_mask' In file included from include/linux/dma-mapping.h:107:0, from arch/arm/kernel/asm-offsets.c:15: ./arch/arm/include/asm/dma-mapping.h:33:19: note: previous definition of 'dma_set_mask' was here cc1: some warnings being treated as errors make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [prepare0] Error 2 HOSTLD scripts/mod/modpost make[1]: Target `zImage' not remade because of errors. make[1]: Target `modules' not remade because of errors. make[1]: Leaving directory `/home/rauch/jncg/ptxdist/platform-ecu01/build-target/linux-3.10.22' make: *** [/home/rauch/jncg/ptxdist/platform-ecu01/state/kernel.compile] Error 2