ts-7000
[Top] [All Lists]

Re: [ts-7000] error on "make dep": cannot execute binary file

To:
Subject: Re: [ts-7000] error on "make dep": cannot execute binary file
From: Joe Bouchard <>
Date: Tue, 14 Nov 2006 19:25:57 -0500
On Tue, Nov 14, 2006 at 12:59:43PM -0000, liliangyao wrote:
> having problem on "make dep" while rebuilding the kernel for 
> ts7250... any help would be appreciated.
> 
> following the recommended steps with the CROSS_COMPILE 
> = /opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
> unknown-linux-gnu-
> 
> - make ts7250_config
> - make oldconfig
> - make dep
> 
> but the process failed on the "make dep", see below the log...
> 
> make[1]: Entering directory `/TS-7250-NEW/linux24_ts8'
> make -C kernel fastdep
> make[2]: Entering directory `/TS-7250-NEW/linux24_ts8/kernel'
> /TS-7250-NEW/linux24_ts8/scripts/mkdep -D__KERNEL__ -I/TS-7250-
> NEW/linux24_ts8/include -Wall -Wstrict
> -prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -
> Uarm -fno-common -pipe -mapcs-32 -D_
> _LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -msoft-float -
> Uarm  -nostdinc -iwithprefix include -
> - acct.c capability.c context.c cpufreq.c dma.c exec_domain.c exit.c 
> fork.c info.c itimer.c kmod.c ks
> yms.c module.c panic.c pm.c printk.c ptrace.c resource.c sched.c 
> signal.c softirq.c sys.c sysctl.c ti
> me.c timer.c uid16.c user.c > .depend
> /TS-7250-NEW/linux24_ts8/scripts/mkdep: /TS-7250-
> NEW/linux24_ts8/scripts/mkdep: cannot execute binary
>  file
> make[2]: *** [fastdep] Error 126
> make[2]: Leaving directory `/TS-7250-NEW/linux24_ts8/kernel'
> make[1]: *** [_sfdep_kernel] Error 2
> make[1]: Leaving directory `/TS-7250-NEW/linux24_ts8'
> make: *** [dep-files] Error 2


The TS kernel source comes with a script "autobuilt_for_customer" which is a
good place to start.  Also, do you have your kernel source set up in the
traditional way?  I'm not 100% positive it's critical, but I have never
succeeded otherwise...
- Unwrap tarball into /usr/src/my-kernel-version
- ln -s /usr/src/my-kernel-version /usr/src/linux
Actually, the source can be in /home/bob/kernel if you want, as long as the
simlink from /usr/src/linux points to it.

Hope that helps.
Joe


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU