2009-12-02 02:23:58     Failed to Build uClinux-2009R1-RC6

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-12-02 02:23:58     Failed to Build uClinux-2009R1-RC6

cheng hao (CHINA)

Message: 82936   

 

Hi,

 

I'm using uClinux-dist-2009R1-RC6, and blackfin-toolchain-09r1-10.

 

i chanded my working directory to uclinux-dist

 

after that i did make clean,make menuconfig

 

and set the vendor -analog devices

 

and product as BF533-STAMP

 

set the kernal defaults

 

when i did make

 

it gives me some thing like this

 

# make

make -C tools/sg-cksum

make[1]: Entering directory `/mnt/disk2/uClinux-dist/tools/sg-cksum'

make[1]: `cksum' is up to date.

make[1]: Leaving directory `/mnt/disk2/uClinux-dist/tools/sg-cksum'

ln -sf /mnt/disk2/uClinux-dist/tools/sg-cksum/cksum tools/cksum

ln -sf staging-compiler tools/bfin-uclinux-gcc

ln -sf staging-compiler tools/bfin-uclinux-g++

ln -sf staging-compiler tools/bfin-uclinux-cpp

ln -sf staging-compiler tools/bfin-uclinux-ld

ln -sf cross-pkg-config tools/bfin-uclinux-pkg-config

chmod +x tools/romfs-inst.sh tools/modules-alias.sh

. linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then \

        mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; \

        touch $CONFIG_INITRAMFS_SOURCE || exit 1; \

fi

rm -f linux-2.6.x/usr/initramfs_data.cpio.gz

make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -j1 -C linux-2.6.x  || exit 1

make[1]: Entering directory `/mnt/disk2/uClinux-dist/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-blackfin

  CC      kernel/bounds.s

  GEN     include/linux/bounds.h

  CC      arch/blackfin/kernel/asm-offsets.s

  GEN     include/asm/asm-offsets.h

  CALL    scripts/checksyscalls.sh

  CC      init/main.o

  CHK     include/linux/compile.h

  UPD     include/linux/compile.h

  CC      init/version.o

  CC      init/do_mounts.o

  CC      init/do_mounts_rd.o

  CC      init/do_mounts_initrd.o

  LD      init/mounts.o

  CC      init/initramfs.o

  LD      init/built-in.o

  HOSTCC  usr/gen_init_cpio

  GEN     usr/initramfs_data.cpio.gz

  AS      usr/initramfs_data.o

  LD      usr/built-in.o

  AS      arch/blackfin/kernel/entry.o

  CC      arch/blackfin/kernel/process.o

  CC      arch/blackfin/kernel/bfin_ksyms.o

  CC      arch/blackfin/kernel/ptrace.o

  CC      arch/blackfin/kernel/setup.o

  CC      arch/blackfin/kernel/signal.o

  CC      arch/blackfin/kernel/sys_bfin.o

  CC      arch/blackfin/kernel/traps.o

  CC      arch/blackfin/kernel/irqchip.o

  CC      arch/blackfin/kernel/dma-mapping.o

  CC      arch/blackfin/kernel/flat.o

  CC      arch/blackfin/kernel/reboot.o

  CC      arch/blackfin/kernel/bfin_gpio.o

  CC      arch/blackfin/kernel/bfin_dma_5xx.o

  CC      arch/blackfin/kernel/time-ts.o

  CC      arch/blackfin/kernel/cplbinfo.o

  CC      arch/blackfin/kernel/module.o

  CC      arch/blackfin/kernel/early_printk.o

  CC      arch/blackfin/kernel/debug-mmrs.o

  LD      arch/blackfin/kernel/built-in.o

  CC      arch/blackfin/kernel/init_task.o

  LDS     arch/blackfin/kernel/vmlinux.lds

  CC [M]  arch/blackfin/kernel/gptimers.o

  CC      arch/blackfin/mm/sram-alloc.o

  CC      arch/blackfin/mm/isram-driver.o

  CC      arch/blackfin/mm/init.o

  LD      arch/blackfin/mm/built-in.o

  AS      arch/blackfin/mach-common/entry.o

  AS      arch/blackfin/mach-common/head.o

  AS      arch/blackfin/mach-common/interrupt.o

  CC      arch/blackfin/mach-common/irqpanic.o

  CC      arch/blackfin/mach-common/arch_checks.o

  CC      arch/blackfin/mach-common/ints-priority.o

  CC      arch/blackfin/mach-common/pm.o

  LD      arch/blackfin/mach-common/built-in.o

  CC      arch/blackfin/mach-bf533/ints-priority.o

  CC      arch/blackfin/mach-bf533/dma.o

  LD      arch/blackfin/mach-bf533/built-in.o

  CC      arch/blackfin/mach-bf533/boards/stamp.o

  LD      arch/blackfin/mach-bf533/boards/built-in.o

  CC      arch/blackfin/kernel/cplb-nompu/cplbinit.o

  CC      arch/blackfin/kernel/cplb-nompu/cacheinit.o

  CC      arch/blackfin/kernel/cplb-nompu/cplbmgr.o

  LD      arch/blackfin/kernel/cplb-nompu/built-in.o

  CC      kernel/sched.o

  CC      kernel/fork.o

  CC      kernel/exec_domain.o

  CC      kernel/panic.o

  CC      kernel/printk.o

make[2]: *** No rule to make target `kernel/bf533', needed by `kernel/cpu.o'.  Stop.

make[1]: *** [kernel] Error 2

make[1]: Leaving directory `/mnt/disk2/uClinux-dist/linux-2.6.x'

make: *** [linux] Error 1

 

can some one help me?

TranslateQuoteReplyEditDelete

 

 

2009-12-02 03:16:59     Re: Failed to Build uClinux-2009R1-RC6

Mike Frysinger (UNITED STATES)

Message: 82945   

 

upgrade your host make

QuoteReplyEditDelete

 

 

2009-12-02 21:04:22     Re: Failed to Build uClinux-2009R1-RC6

cheng hao (CHINA)

Message: 82988   

 

Hi,Mike,thanks for your help!

 

I have upgraded my host make from version 3.79.1 to 3.81, and it looks to work correctly. But a few minutes later, it fails again.

 

make[3]: Leaving directory `/mnt/disk2/uClinux-dist/user/blkfin-test'

[ ! -d "boa" ] || ( touch boa/.sgbuilt_user && make -C boa ) || exit $?

make[3]: Entering directory `/mnt/disk2/uClinux-dist/user/boa'

find boa-0.94.14rc21 -type f -print0 | xargs -0 touch -r boa-0.94.14rc21/configure

xargs: environment is too large for exec

make[3]: *** [build-boa-0.94.14rc21/Makefile] 错误 1

make[3]: Leaving directory `/mnt/disk2/uClinux-dist/user/boa'

make[2]: *** [boa] 错误 2

make[2]: Leaving directory `/mnt/disk2/uClinux-dist/user'

make[1]: *** [all] 错误 2

make[1]: Leaving directory `/mnt/disk2/uClinux-dist/user'

make: *** [subdirs] 错误 1

TranslateQuoteReplyEditDelete

 

 

2009-12-02 21:13:34     Re: Failed to Build uClinux-2009R1-RC6

Mike Frysinger (UNITED STATES)

Message: 82989   

 

upgrade your findutils too then

QuoteReplyEditDelete

 

 

2009-12-03 00:56:20     Re: Failed to Build uClinux-2009R1-RC6

cheng hao (CHINA)

Message: 82991   

 

Thank you,Mike.

 

I upgrade my findutils, and it works well now.

Attachments

    Outcomes