Problems with cross-compiling the kernel

Post Reply
alex1452
Posts: 4
Joined: Mon Jan 04, 2010 2:41 pm

Problems with cross-compiling the kernel

Post by alex1452 » Sun Jan 24, 2010 9:49 pm

Dear all,

I am trying to cross-compile the kernel under Ubuntu 9.10. I have build a toolchain using crosstool-ng. I am using the kernel from the foonas git:

I have used the following lines:

export CROSS_COMPILE=~/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/bin/
export ARCH=powerpc
export INSTALL_MOD_PATH=~/Development/tmp
make menuconfig
make 83xx/thecus_n1200_defconfig
make cuImage.thecus_n1200 modules
make modules_install

Unfortunately I get the following error messages: Can anybody help me?

Regards,
alex

scripts/kconfig/conf -s arch/powerpc/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-powerpc
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
CC arch/powerpc/kernel/prom_init.o
CALL arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 70: ~/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/bin/nm: No such file or directory
LD vmlinux
SYSMAP System.map
/home/alex/Development/kernel-n1200/scripts/mksysmap: line 44: ~/x-tools/powerpc-unknown-linux-uclibc/powerpc-unknown-linux-uclibc/bin/nm: No such file or directory
make: *** [vmlinux] Error 1
INSTALL arch/powerpc/platforms/83xx/mcu_thecus_n1200.ko
cp: cannot stat `arch/powerpc/platforms/83xx/mcu_thecus_n1200.ko': No such file or directory
INSTALL drivers/dma/dmatest.ko
cp: cannot stat `drivers/dma/dmatest.ko': No such file or directory
INSTALL drivers/leds/ledtrig-heartbeat.ko
cp: cannot stat `drivers/leds/ledtrig-heartbeat.ko': No such file or directory
INSTALL drivers/leds/ledtrig-timer.ko
cp: cannot stat `drivers/leds/ledtrig-timer.ko': No such file or directory
INSTALL drivers/md/dm-mod.ko
cp: cannot stat `drivers/md/dm-mod.ko': No such file or directory
INSTALL drivers/md/md-mod.ko
cp: cannot stat `drivers/md/md-mod.ko': No such file or directory
INSTALL drivers/md/raid1.ko
cp: cannot stat `drivers/md/raid1.ko': No such file or directory
INSTALL drivers/scsi/scsi_wait_scan.ko
cp: cannot stat `drivers/scsi/scsi_wait_scan.ko': No such file or directory
INSTALL fs/exportfs/exportfs.ko
cp: cannot stat `fs/exportfs/exportfs.ko': No such file or directory
INSTALL fs/fat/fat.ko
cp: cannot stat `fs/fat/fat.ko': No such file or directory
INSTALL fs/fat/vfat.ko
cp: cannot stat `fs/fat/vfat.ko': No such file or directory
INSTALL fs/nfsd/nfsd.ko
cp: cannot stat `fs/nfsd/nfsd.ko': No such file or directory
INSTALL fs/nls/nls_cp437.ko
cp: cannot stat `fs/nls/nls_cp437.ko': No such file or directory
INSTALL fs/nls/nls_utf8.ko
cp: cannot stat `fs/nls/nls_utf8.ko': No such file or directory
INSTALL net/ipv4/tunnel4.ko
cp: cannot stat `net/ipv4/tunnel4.ko': No such file or directory
INSTALL net/ipv6/sit.ko
cp: cannot stat `net/ipv6/sit.ko': No such file or directory
INSTALL net/ipv6/xfrm6_mode_beet.ko
cp: cannot stat `net/ipv6/xfrm6_mode_beet.ko': No such file or directory
INSTALL net/ipv6/xfrm6_mode_transport.ko
cp: cannot stat `net/ipv6/xfrm6_mode_transport.ko': No such file or directory
INSTALL net/ipv6/xfrm6_mode_tunnel.ko
cp: cannot stat `net/ipv6/xfrm6_mode_tunnel.ko': No such file or directory
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/3com/3C359.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/acenic/tg1.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/acenic/tg2.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/adaptec/starfire_rx.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/adaptec/starfire_tx.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/dsp56k/bootstrap.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/atmsar11.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/bnx2/bnx2-mips-09-4.6.17.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/bnx2/bnx2-rv2p-09-4.6.15.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/bnx2/bnx2-mips-06-4.6.16.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/bnx2/bnx2-rv2p-06-4.6.16.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/sun/cassini.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/intelliport2.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/cxgb3/t3b_psram-1.1.0.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/cxgb3/t3c_psram-1.1.0.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/cxgb3/t3fw-7.1.0.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/av7110/bootcode.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/ttusb-budget/dspbootcode.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/e100/d101m_ucode.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/e100/d101s_ucode.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/e100/d102e_ucode.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/myricom/lanai.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/cis/LA-PCM.cis' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/ositech/Xilinx7OD.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/advansys/mcode.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/advansys/38C1600.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/advansys/3550.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/advansys/38C0800.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/qlogic/1040.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/qlogic/1280.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/qlogic/12160.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/qlogic/isp1000.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/tr_smctr.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/korg/k1212.dsp' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/ess/maestro3_assp_kernel.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/ess/maestro3_assp_minisrc.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/sb16/mulaw_main.csp' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/sb16/alaw_main.csp' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/sb16/ima_adpcm_init.csp' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/sb16/ima_adpcm_playback.csp' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/sb16/ima_adpcm_capture.csp' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/yamaha/ds1_ctrl.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/yamaha/ds1_dsp.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/yamaha/ds1e_ctrl.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/yamaha/yss225_registers.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/tehuti/bdx.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/tigon/tg3.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/tigon/tg3_tso.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/tigon/tg3_tso5.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/3com/typhoon.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/dabusb/firmware.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/dabusb/bitstream.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi26/loader.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi26/firmware.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi26/bitstream.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi62/loader.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi62/bitstream.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi62/spdif.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/emi62/midi.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/kaweth/new_code.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/kaweth/trigger_code.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/kaweth/new_code_fix.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/kaweth/trigger_code_fix.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/mpr.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa18x.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa19.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa19qi.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa19qw.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa19w.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa28.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa28xa.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa28xb.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa28x.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa49w.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan/usa49wlc.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/ti_3410.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/ti_5052.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/mts_cdma.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/mts_gsm.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/mts_edge.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/edgeport/boot.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/edgeport/boot2.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/edgeport/down.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/edgeport/down2.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/edgeport/down3.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/whiteheat_loader.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/whiteheat.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan_pda/keyspan_pda.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/keyspan_pda/xircom_pgs.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/vicam/firmware.fw' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/cpia2/stv0672_vp4.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/yam/1200.bin' doesn't match the target pattern
/home/alex/Development/kernel-n1200/scripts/Makefile.fwinst:45: target `/home/alex/Development/tmp/lib/firmware/yam/9600.bin' doesn't match the target pattern
DEPMOD 2.6.30-rc8-foonas-em-gddbecbb

Post Reply