From: Dan <dan...@gm...> - 2010-07-28 12:58:25
|
Hello, I'm trying to build the GPIO Event Driver with OE. I followed the instructions in the "Integrating/Building with Open Embedded" section of the GPIO Event Driver wiki at http://www.gumstix.net/wiki/index.php?title=GPIO_Event_Driver. When I run "bitbake task-gpio-all," I receive an error on task 443 of 724. Pasted below is the output of the bitbake process. Does anyone happen to know what the problem might be? Thanks. dan@dan-desktop:~/overo-oe$ bitbake task-gpio-all NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance. NOTE: Handling BitBake files: - (8446/8446) [100 %] NOTE: Parsing finished. 7647 cached, 476 parsed, 323 skipped, 1 masked. NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 412 of 724 (ID: 178, /home/dan/overo-oe/user.collection/recipes/gpio-module/gpio-module.bb, do_fetch) NOTE: Running task 413 of 724 (ID: 174, /home/dan/overo-oe/user.collection/recipes/gpio-module/gpio-module.bb, do_unpack) NOTE: Unpacking sources/module_svn.hylands.org_.linux.gpio.__20100727.tar.gz to tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/ NOTE: Running task 424 of 724 (ID: 175, /home/dan/overo-oe/user.collection/recipes/gpio-module/gpio-module.bb, do_patch) NOTE: Running task 425 of 724 (ID: 180, /home/dan/overo-oe/user.collection/recipes/gpio-module/gpio-module.bb, do_configure) NOTE: Running task 442 of 724 (ID: 181, /home/dan/overo-oe/user.collection/recipes/gpio-module/gpio-module.bb, do_qa_configure) NOTE: Running task 443 of 724 (ID: 182, /home/dan/overo-oe/user.collection/recipes/gpio-module/gpio-module.bb, do_compile) ERROR: function do_compile failed ERROR: log data follows (/home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/temp/log.do_compile.1761) | NOTE: make -e MAKEFLAGS= KERNEL_PATH=/home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel KERNEL_SRC=/home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel KDIR=/home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel KERNELDIR=/home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel KERNEL_VERSION=2.6.34 CC=ccache arm-angstrom-linux-gnueabi-gcc LD=arm-angstrom-linux-gnueabi-ld AR=arm-angstrom-linux-gnueabi-ar | make -C /home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel M=/home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module modules | make[1]: Entering directory `/home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel' | CC [M] /home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module/user-gpio-drv.o | /home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module/user-gpio-drv.c: In function ‘gpio_drv_ioctl’: | /home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module/user-gpio-drv.c:88: error: implicit declaration of function ‘kmalloc’ | /home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module/user-gpio-drv.c:88: warning: assignment makes pointer from integer without a cast | make[2]: *** [/home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module/user-gpio-drv.o] Error 1 | make[1]: *** [_module_/home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/module] Error 2 | make[1]: Leaving directory `/home/dan/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel' | make: *** [modules] Error 2 | FATAL: oe_runmake failed NOTE: Task failed: /home/dan/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/gpio-module-svn20100727-r81/temp/log.do_compile.1761 ERROR: TaskFailed event exception, aborting ERROR: Build of /home/dan/overo-oe/user.collection/recipes/gpio-module/ gpio-module.bb do_compile failed ERROR: Task 182 (/home/dan/overo-oe/user.collection/recipes/gpio-module/ gpio-module.bb, do_compile) failed NOTE: Tasks Summary: Attempted 442 tasks of which 437 didn't need to be rerun and 1 failed. ERROR: '/home/dan/overo-oe/user.collection/recipes/gpio-module/ gpio-module.bb' failed |