[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Errors in compiling devboard software



The mkdep in Linux 2.0 (elinux) doesn't work on a host running Linux 2.4.
Solution: replace elinux/scripts/mkdep.c with scripts/mkdep.c from a Linux 2.4
source code tree.

Best regards
/Jonas

> -----Original Message-----
> From: Zhao Lei [mailto:zhaolei@xxxxxxx.com]
> Sent: Thursday, September 06, 2001 3:40 AM
> To: dev-etrax@xxxxxxx.com
> Subject: Errors in compiling devboard software
> 
> 
> Hi,
> 
> I met with a problem when I compile the Axis devboard software. I 
> searched Axis' maillist and found a guy had asked the same quesiton, 
> but there is no answer. I have sent two emails to him to ask about 
> it, but no reply.
> 
> Any one else has met with the same problem? Please tell me how you 
> resolve it.
> 
> Thanks & Regards
> zhaolei
> 
> --------------------------------------------------------
> ps. The guy's original post is attached below:
> 
> I'm trying to install devboard R 1.0.2 on my Linux box
> I use customized redhat 7.1 (for korean language)
> I got success in install cris-tool (both avail-version 1.7 and 1.11)
> Of cause, I patch source tree when I use cris-tool versino 1.11
> However, got failure in devboard software build-up. (in both try)
> If there is anyone could help me, Please let me know how to solve it
> I attached the environment of system, and failure logs
> 
> it has gcc version like this :
> 	Reading specs from /usr/lib/gcc-lib/i386-redhat-
> linux/2.96/specs
> 	gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81) 
> 
> version of make :
> 	GNU Make version 3.79.1, by Richard Stallman and Roland 
> McGrath.
> 	Built for i386-redhat-linux-gnu   
> 
> binutils rpm version :
> 	binutils-2.10.91.0.2-3 
> 
> cpu is pentium II, 128 physical Main Memory
> 
> It's a error log with cris-tool version 1.7 :
> (error with 1.11 is almost same)
> 
> make[3]: Leaving directory `/home/axis/axis/elinux'
> make[3]: Entering directory `/home/axis/axis/elinux'
> gcc -I/home/axis/axis/elinux/include -O2 -fomit-frame-pointer -o 
> scripts/mkdep scripts/mkdep.c
> make[4]: Entering directory 
> `/home/axis/axis/elinux/arch/etrax100/boot'
> make[4]: Nothing to be done for `dep'.
> make[4]: Leaving directory `/home/axis/axis/elinux/arch/etrax100/boot'
> scripts/mkdep init/*.c > .tmpdepend
> scripts/mkdep 
> `find /home/axis/axis/elinux/include/asm /home/axis/axis/elinux/includ
> e/linux /home/axis/axis/elinux/include/scsi /home/axis/axis/elinux/inc
> lude/net -follow -name \*.h ! -name modversions.h -print` > .hdepend
> /home/axis/axis/elinux/include/asm/byteorder.h needs config but has 
> not included config file
> /home/axis/axis/elinux/include/asm/system.h doesn't need config
> /home/axis/axis/elinux/include/linux/if_frad.h doesn't need config
> make[3]: *** [dep-files] Error 135
> make[3]: Leaving directory `/home/axis/axis/elinux'
> make[3]: Entering directory `/home/axis/axis/elinux'
> make[4]: Entering directory 
> `/home/axis/axis/elinux/arch/etrax100/boot'
> make[4]: Nothing to be done for `dep'.
> make[4]: Leaving directory `/home/axis/axis/elinux/arch/etrax100/boot'
> scripts/mkdep init/*.c > .tmpdepend
> scripts/mkdep 
> `find /home/axis/axis/elinux/include/asm /home/axis/axis/elinux/includ
> e/linux /home/axis/axis/elinux/include/scsi /home/axis/axis/elinux/inc
> lude/net -follow -name \*.h ! -name modversions.h -print` > .hdepend
> /home/axis/axis/elinux/include/asm/byteorder.h needs config but has 
> not included config file
> /home/axis/axis/elinux/include/asm/system.h doesn't need config
> /home/axis/axis/elinux/include/linux/if_frad.h doesn't need config
> make[3]: *** [dep-files] Error 135
> make[3]: Leaving directory `/home/axis/axis/elinux'
> make[3]: Entering directory `/home/axis/axis/elinux'
> make[4]: Entering directory 
> `/home/axis/axis/elinux/arch/etrax100/boot'
> make[4]: Nothing to be done for `dep'.
> make[4]: Leaving directory `/home/axis/axis/elinux/arch/etrax100/boot'
> scripts/mkdep init/*.c > .tmpdepend
> scripts/mkdep 
> `find /home/axis/axis/elinux/include/asm /home/axis/axis/elinux/includ
> e/linux /home/axis/axis/elinux/include/scsi /home/axis/axis/elinux/inc
> lude/net -follow -name \*.h ! -name modversions.h -print` > .hdepend
> /home/axis/axis/elinux/include/asm/byteorder.h needs config but has 
> not included config file
> /home/axis/axis/elinux/include/asm/system.h doesn't need config
> /home/axis/axis/elinux/include/linux/if_frad.h doesn't need config
> make[3]: *** [dep-files] Error 135
> make[3]: Leaving directory `/home/axis/axis/elinux'
> make[2]: *** [kernelconfig_diffs] Error 2
> make[2]: Leaving directory 
> `/home/axis/axis/packages/os/elinux/devboard'
> make[1]: *** [/home/axis/axis/elinux/vmlinux] Error 2
> make[1]: Leaving directory 
> `/home/axis/axis/packages/os/elinux/devboard'
> could not make install 
> in /home/axis/axis/packages/os/elinux/devboard: 512 
> at /home/axis/axis/tools/buildsrc line 318.
> errcode: 512
> make: *** [install] Error 2
> 
> 
> 
> 
> 
> 
>  from NTU, Singapore
> --------------------------------------------
> Zaobao.com ѵ http://mymail.zaobao.com/
>