From: Julien L. <les...@ho...> - 2007-02-16 00:00:36
|
Hi, Thanks for all the help, it does compile fine now ! In fact everything was right from the beginning but it was just the UC1400 touch-screen which was crashing during the compilation. I couldn't figure out at first because make was printing the error for the touchscreen and crashed while compiling the things under ipv4 ... So I don't know why but just by removing the UC1400 touchscreen support it works... But how can I use the touchscreen then :) ? Another thing, I've imported my programs I've wrote with the previous buildroot and the user-mode programs just compile finely but my kernel driver gives strange errors: lesnip3r@A6J-Julien:~/gumstix-buildroot/build_arm_nofpu/uLCD_drv$ make make -C /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/linux-2.6.20gum M=/home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv ARCH=arm CROSS_COMPILE=/home/lesnip3r/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux- \ CC=/home/lesnip3r/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-gcc modules make[1]: entrant dans le répertoire « /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/linux-2.6.20gum » CC [M] /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/uLCD.o In file included from include/linux/jiffies.h:4, from include/linux/sched.h:51, from include/linux/smp_lock.h:5, from include/linux/hardirq.h:5, from include/asm-generic/local.h:5, from include/asm/local.h:1, from include/linux/module.h:19, from /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/uLCD.c:3: include/linux/calc64.h: In function 'do_div_llr': include/linux/calc64.h:25: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function) include/linux/calc64.h:25: error: (Each undeclared identifier is reported only once include/linux/calc64.h:25: error: for each function it appears in.) In file included from include/linux/aio.h:5, from include/linux/sched.h:417, from include/linux/smp_lock.h:5, from include/linux/hardirq.h:5, from include/asm-generic/local.h:5, from include/asm/local.h:1, from include/linux/module.h:19, from /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/uLCD.c:3: include/linux/workqueue.h: In function 'cancel_delayed_work': include/linux/workqueue.h:206: warning: dereferencing type-punned pointer will break strict-aliasing rules include/linux/workqueue.h:206: warning: dereferencing type-punned pointer will break strict-aliasing rules /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/uLCD.c:5:27: error: linux/config.h: No such file or directory In file included from /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/uLCD.c:15: /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/shakira.h:16144:3: warning: no newline at end of file make[2]: *** [/home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv/uLCD.o] Erreur 1 make[1]: *** [_module_/home/lesnip3r/gumstix-buildroot/build_arm_nofpu/uLCD_drv] Erreur 2 make[1]: quittant le répertoire « /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/linux-2.6.20gum » make: *** [uLCD.ko] Erreur 2 For the linux/config.h I've read the answer earlier today so it should be fine but for the rest... May it be because I have not adrressed the linux/config.h issue ? I believe my makefile to be good, and the errors do not show my program as faulty... What happened ? Julien _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp |