{"action":"closed","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/797","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/797/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/797/events","html_url":"https://github.com/raspberrypi/linux/issues/797","id":56633312,"number":797,"title":"building rpi-3.18.y met a [fs/btrfs] Error","user":{"login":"zaazbb","id":5773083,"avatar_url":"https://avatars.githubusercontent.com/u/5773083?v=3","gravatar_id":"","url":"https://api.github.com/users/zaazbb","html_url":"https://github.com/zaazbb","followers_url":"https://api.github.com/users/zaazbb/followers","following_url":"https://api.github.com/users/zaazbb/following{/other_user}","gists_url":"https://api.github.com/users/zaazbb/gists{/gist_id}","starred_url":"https://api.github.com/users/zaazbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaazbb/subscriptions","organizations_url":"https://api.github.com/users/zaazbb/orgs","repos_url":"https://api.github.com/users/zaazbb/repos","events_url":"https://api.github.com/users/zaazbb/events{/privacy}","received_events_url":"https://api.github.com/users/zaazbb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-02-05T06:34:06Z","updated_at":"2015-02-06T07:21:24Z","closed_at":"2015-02-06T07:21:24Z","body":"os: ubuntu 14.04\r\nrpi: rpi-3.18.y- a6cf3c99bc89e2c010c2f78fbf9e3ed478ccfd46\r\ncross compiler: gcc-4.7-linaro-rpi-gnueabihf (from internet)\r\n\r\n1, download \"2015-01-31-raspbian.zip\" from raspberry pi website, write it to sd card, copy /proc/config.gz to pc, unzip it, rename to .config, and copy it to rpi-3.18.y/\r\n2, add new touchscreen driver code:\r\nadd i2c info to rpi-3.18.y/arch/arm/mach-bcm27-8/bcm2708.c\r\nadd driver file to /drivers/i2c/\r\nadd driver files to /drivers/i2c/makefile\r\nadd config option to /drivers/input/touchscreen/kconfig\r\nthen  enable the touchscreen option in \"make menuconfig\"\r\n3, make  it, \r\n```text\r\nmake ARM=arm CROSS_COMPILE=/home/jf/work/raspberry/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-\r\n```\r\n\r\nwhen building, met some errors as below:\r\n```txt\r\nscripts/kconfig/conf --silentoldconfig Kconfig\r\nmake[2]: warning:  Clock skew detected.  Your build may be incomplete.\r\nmake[1]: warning:  Clock skew detected.  Your build may be incomplete.\r\n  HOSTCC  scripts/basic/fixdep\r\n  HOSTCC  scripts/basic/bin2c\r\n  HOSTCC  scripts/kconfig/conf.o\r\n  SHIPPED scripts/kconfig/zconf.tab.c\r\n  SHIPPED scripts/kconfig/zconf.lex.c\r\n  SHIPPED scripts/kconfig/zconf.hash.c\r\n  HOSTCC  scripts/kconfig/zconf.tab.o\r\n  HOSTLD  scripts/kconfig/conf\r\nscripts/kconfig/conf --silentoldconfig Kconfig\r\n  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h\r\n  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h\r\n  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h\r\n  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h\r\n  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h\r\n  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h\r\n  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h\r\n  HOSTCC  arch/x86/tools/relocs_32.o\r\n  HOSTCC  arch/x86/tools/relocs_64.o\r\n  HOSTCC  arch/x86/tools/relocs_common.o\r\n  HOSTLD  arch/x86/tools/relocs\r\n  CHK     include/config/kernel.release\r\n  UPD     include/config/kernel.release\r\n  WRAP    arch/x86/include/generated/asm/clkdev.h\r\n  WRAP    arch/x86/include/generated/asm/cputime.h\r\n  WRAP    arch/x86/include/generated/asm/dma-contiguous.h\r\n  WRAP    arch/x86/include/generated/asm/early_ioremap.h\r\n  WRAP    arch/x86/include/generated/asm/mcs_spinlock.h\r\n  WRAP    arch/x86/include/generated/asm/scatterlist.h\r\n  CHK     include/generated/uapi/linux/version.h\r\n  UPD     include/generated/uapi/linux/version.h\r\n  CHK     include/generated/utsrelease.h\r\n  UPD     include/generated/utsrelease.h\r\n  CC      kernel/bounds.s\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-m64’\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-red-zone’\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mcmodel=kernel’\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-sse’\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-mmx’\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-sse2’\r\narm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-3dnow’\r\nmake[1]: *** [kernel/bounds.s] Error 1\r\nmake: *** [prepare0] Error 2\r\n```"}}