From: Julien L. <les...@ho...> - 2007-02-14 22:07:08
|
Hi, I am experiencing difficulties with the gumstix-buildroot, I have tried many versions (r1237, r1292 ...) but anytime I change any kernel options (eg enable the pxa frame-buffer, the UC1400 touch-screen ...) it wont compile anymore. I have followed the instructions in the wiki but it doesn't help: -> in linux-2.6.xxgum: -> export ARCH=arm -> export DEPMOD=/bin/true -> make menuconfig -> make clean -> cd ../.. -> make Also there is some package in the gumstix-buildroot that wont compile regardless of the gumstix-buildroot version (microwin, Xfree to name a few). I have tried to change the gcc version (for the target) from 4.1.1 to 3.4.5 but the 3.4.5 give also a bunch of errors when it gets compiled. Some errors samples are: #make -i (otherwise it would stop at .tmp_vmlinux1 no matter which options are selected in the kernel / buildroot) ... LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o: In function `do_sys_settimeofday': rcupreempt_trace.c:(.text+0xaaac): undefined reference to `warp_check_clock_was_changed' kernel/built-in.o: In function `sys_sysinfo': rcupreempt_trace.c:(.text+0x101e4): undefined reference to `__get_nsec_offset' kernel/built-in.o: In function `timekeeping_resume': rcupreempt_trace.c:(.text+0x10904): undefined reference to `warp_check_clock_was_changed' kernel/built-in.o: In function `ktime_get_ts': rcupreempt_trace.c:(.text+0x1e7bc): undefined reference to `__get_nsec_offset' kernel/built-in.o: In function `second_overflow': rcupreempt_trace.c:(.text+0x1fbb4): undefined reference to `warp_check_clock_was_changed' rcupreempt_trace.c:(.text+0x1fc00): undefined reference to `warp_check_clock_was_changed' kernel/built-in.o: In function `setup_preempt_thresh': rcupreempt_trace.c:(.text+0x28cec): undefined reference to `usecs_to_cycles' make[1]: [.tmp_vmlinux1] Erreur 1 (ignored) KSYM .tmp_kallsyms1.S /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-nm: '.tmp_vmlinux1': No such file No valid symbol. make[1]: [.tmp_kallsyms1.S] Erreur 1 (ignored) AS .tmp_kallsyms1.o LD .tmp_vmlinux2 ... make[1]: [vmlinux] Erreur 1 (ignored) SYSMAP System.map /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-nm: 'vmlinux': No such file make[1]: [vmlinux] Erreur 1 (ignored) SYSMAP .tmp_System.map /home/lesnip3r/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibcgnueabi-nm: '.tmp_vmlinux2': No such file make[1]: [vmlinux] Erreur 1 (ignored) MODPOST vmlinux Building modules, stage 2. make[2]: *** Pas de règle pour fabriquer la cible « vmlinux », nécessaire pour « arch/arm/boot/Image ». Arrêt. (No rules to make the target « vmlinux», necessary for « arch/arm/boot/Image». Stopping.) make[1]: [zImage] Error 2 (ignored) So finally I get an .jffs2 image but the boot image is corrupted (checked within the root folder) and the software package partially compiled... Depending on the options selected within the kernel, I get errors about the module built-in.o in folders like "net", "ac97" ... In a nutshell everything is going wrong here, I can't anything compiled but the default package selection and the default kernel options. May it be the software environment on my host development machine ? I am using Kubuntu 6.06 for information, and if necessary I can provide the version of the different tools on the machine. If the fault is due to my development machine could anybody tell me which linux distribution / software version, the gumstix buildroot is thoroughly working on? Thanks in advance, yours faithfully, J. Lebot _________________________________________________________________ MSN Messenger: appels gratuits de PC à PC ! http://www.msn.fr/newhotmail/Default.asp?Ath=f |