make -C /home/zhangting/workspace/project/sh-ls2k/linux-3.10 V=1 M=/home/zhangting/workspace/project/xmaketest/hello modules make[1]: Entering directory '/home/zhangting/workspace/project/sh-ls2k/linux-3.10' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /home/zhangting/workspace/project/xmaketest/hello/.tmp_versions ; rm -f /home/zhangting/workspace/project/xmaketest/hello/.tmp_versions/* make -f scripts/Makefile.build obj=/home/zhangting/workspace/project/xmaketest/hello mips64el-linux-gcc -Wp,-MD,/home/zhangting/workspace/project/xmaketest/hello/./src/.hello.o.d -nostdinc -isystem /opt/gcc-4.9.3-64-gnu64/lib/gcc/mips64el-linux/4.9.3/include -I./arch/mips/include -Iarch/mips/include/generated -Iinclude -I./arch/mips/include/uapi -Iarch/mips/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80200000 -DDATAOFFSET=0 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float -ffreestanding -fno-stack-check -march=mips64r2 -Wa,-mips64r2 -Wa,--trap -I./arch/mips/include/asm/mach-loongson2 -mno-branch-likely -Wa,-mno-fix-loongson3-llsc -Wa,--trap -Wa,-mloongson-ext -I./arch/mips/include/asm/mach-generic -msym32 -DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DMODULE -mlong-calls -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(hello)" -D"KBUILD_MODNAME=KBUILD_STR(hello)" -c -o /home/zhangting/workspace/project/xmaketest/hello/./src/.tmp_hello.o /home/zhangting/workspace/project/xmaketest/hello/./src/hello.c mips64el-linux-gcc -Wp,-MD,/home/zhangting/workspace/project/xmaketest/hello/./src/.add.o.d -nostdinc -isystem /opt/gcc-4.9.3-64-gnu64/lib/gcc/mips64el-linux/4.9.3/include -I./arch/mips/include -Iarch/mips/include/generated -Iinclude -I./arch/mips/include/uapi -Iarch/mips/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80200000 -DDATAOFFSET=0 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float -ffreestanding -fno-stack-check -march=mips64r2 -Wa,-mips64r2 -Wa,--trap -I./arch/mips/include/asm/mach-loongson2 -mno-branch-likely -Wa,-mno-fix-loongson3-llsc -Wa,--trap -Wa,-mloongson-ext -I./arch/mips/include/asm/mach-generic -msym32 -DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DMODULE -mlong-calls -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(add)" -D"KBUILD_MODNAME=KBUILD_STR(hello)" -c -o /home/zhangting/workspace/project/xmaketest/hello/./src/.tmp_add.o /home/zhangting/workspace/project/xmaketest/hello/./src/add.c mips64el-linux-ld -m elf64ltsmip -r -o /home/zhangting/workspace/project/xmaketest/hello/hello.o /home/zhangting/workspace/project/xmaketest/hello/./src/hello.o /home/zhangting/workspace/project/xmaketest/hello/./src/add.o (cat /dev/null; echo kernel//home/zhangting/workspace/project/xmaketest/hello/hello.ko;) > /home/zhangting/workspace/project/xmaketest/hello/modules.order make -f ./scripts/Makefile.modpost find /home/zhangting/workspace/project/xmaketest/hello/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /home/zhangting/workspace/project/xmaketest/hello/Module.symvers -o /home/zhangting/workspace/project/xmaketest/hello/Module.symvers -S -w -s -T - mips64el-linux-gcc -Wp,-MD,/home/zhangting/workspace/project/xmaketest/hello/.hello.mod.o.d -nostdinc -isystem /opt/gcc-4.9.3-64-gnu64/lib/gcc/mips64el-linux/4.9.3/include -I./arch/mips/include -Iarch/mips/include/generated -Iinclude -I./arch/mips/include/uapi -Iarch/mips/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80200000 -DDATAOFFSET=0 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -std=gnu89 -O2 -mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float -ffreestanding -fno-stack-check -march=mips64r2 -Wa,-mips64r2 -Wa,--trap -I./arch/mips/include/asm/mach-loongson2 -mno-branch-likely -Wa,-mno-fix-loongson3-llsc -Wa,--trap -Wa,-mloongson-ext -I./arch/mips/include/asm/mach-generic -msym32 -DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(hello.mod)" -D"KBUILD_MODNAME=KBUILD_STR(hello)" -DMODULE -mlong-calls -c -o /home/zhangting/workspace/project/xmaketest/hello/hello.mod.o /home/zhangting/workspace/project/xmaketest/hello/hello.mod.c mips64el-linux-ld -r -m elf64ltsmip -T ./scripts/module-common.lds --build-id -o /home/zhangting/workspace/project/xmaketest/hello/hello.ko /home/zhangting/workspace/project/xmaketest/hello/hello.o /home/zhangting/workspace/project/xmaketest/hello/hello.mod.o make[1]: Leaving directory '/home/zhangting/workspace/project/sh-ls2k/linux-3.10'