2008-06-26 11:04:26     compile uclinux-dist-2008R1-RC8 error

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

2008-06-26 11:04:26     compile uclinux-dist-2008R1-RC8 error

hong li (CHINA)

Message: 57924   

 

Hi everyone

 

My hardware is ezkit 533

 

I have downloaded  uClinux-dist-2008R1-RC8.tar.bz2  and install

 

blackfin-toolchain-uclibc-default-08r1-8.i386.rpm and

 

blackfin-toolchain-08r1-8.i386.rpm

 

bunzip2  -d uClinux-dist-2008R1-RC8.tar.bz2

 

tar -xvf uClinux-dist-2008R1-RC8.tar

 

cd  uClinux-dist-2008R1-RC8

 

make clean

 

make menuconfig

 

I open the  compile switch of AD1836  according to the document  http://docs.blackfin.uclinux.org/doku.php?id=ad1836a_setup, the other is default

 

but  happen errors as follow:

 

find strace-4.5.15 -type f -print0 | xargs -0 touch -r strace-4.5.15/configure

xargs: environment is too large for exec

make[3]: *** [build-strace-4.5.15/Makefile] error 1

make[3]: Leaving directory `/usr/src/uClinux-dist-2008R1-RC8/user/strace'

make[2]: *** [strace] error 2

make[2]: Leaving directory `/usr/src/uClinux-dist-2008R1-RC8/user'

make[1]: *** [all] error 2

make[1]: Leaving directory `/usr/src/uClinux-dist-2008R1-RC8/user'

make: *** [subdirs] error 1

 

How to solve this problem ?

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-06-26 11:22:19     Re: compile uclinux-dist-2008R1-RC8 error

Andrea Federico Grisotto (ITALY)

Message: 57926   

 

in user/strace/Makefile write -print instead of -print0

QuoteReplyEditDelete

 

 

2008-06-26 11:50:52     Re: compile uclinux-dist-2008R1-RC8 error

hong li (CHINA)

Message: 57927   

 

Grisotto:

 

              Thanks your help , according your suggestion , I  write -print instead of -print0  , but  the error also exist

 

find strace-4.5.15 -type f -print | xargs -0 touch -r strace-4.5.15/configure

xargs: environment is too large for exec

make[3]: *** [build-strace-4.5.15/Makefile] error 1

make[3]: Leaving directory `/usr/src/uClinux-dist-2008R1-RC8/user/strace'

make[2]: *** [strace] error 2

make[2]: Leaving directory `/usr/src/uClinux-dist-2008R1-RC8/user'

make[1]: *** [all] error 2

make[1]: Leaving directory `/usr/src/uClinux-dist-2008R1-RC8/user'

make: *** [subdirs] error 1

 

 

there is other ways to slove to this problem ?

QuoteReplyEditDelete

 

 

2008-06-26 13:13:07     Re: compile uclinux-dist-2008R1-RC8 error

Mike Frysinger (UNITED STATES)

Message: 57931   

 

do not change it to '-print' ... the xargs relies on that

 

i'm guessing you're using an old distribution.  you can try removing large env vars from your environment, or simply upgrade the findutils package on your system to something that isnt ancient.

QuoteReplyEditDelete

 

 

2008-06-27 01:22:07     Re: compile uclinux-dist-2008R1-RC8 error

hong li (CHINA)

Message: 57948   

 

Mike

 

        Thanks  your help , But  I have upgrade the findutils to  version  4.4.0  , the error also exist

 

there is other ways to slove this problem

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-06-27 05:53:34     Re: compile uclinux-dist-2008R1-RC8 error

Mike Frysinger (UNITED STATES)

Message: 57960   

 

make sure you dont have excess stuff in your environment ... run `env` to check

QuoteReplyEditDelete

 

 

2008-06-27 09:58:15     Re: compile uclinux-dist-2008R1-RC8 error

hong li (CHINA)

Message: 57964   

 

Mike

 

      I run ' env  '  and  show as follow:

 

[root@riest-lh uClinux-dist-2008R1-RC8]# env

SSH_AGENT_PID=2687

HOSTNAME=riest-lh

SHELL=/bin/bash

TERM=xterm

HISTSIZE=1000

GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2

WINDOWID=31457544

OLDPWD=/tools/bin

USER=root

LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:

SSH_AUTH_SOCK=/tmp/ssh-XXqvOkEX/agent.2633

SESSION_MANAGER=local/riest-lh:/tmp/.ICE-unix/2633

USERNAME=root

MAIL=/var/spool/mail/root

PATH=/opt/uClinux/bfin-uclinux/bin/:/opt/uClinux/bfin-linux-uclibc/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

INPUTRC=/etc/inputrc

PWD=/usr/src/uClinux-dist-2008R1-RC8

XMODIFIERS=@im=Chinput

LANG=zh_CN.GB18030

GDMSESSION=Default

SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

HOME=/root

SHLVL=2

LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN

GNOME_DESKTOP_SESSION_ID=Default

BASH_ENV=/root/.bashrc

LOGNAME=root

LESSOPEN=|/usr/bin/lesspipe.sh %s

DISPLAY=:0.0

G_BROKEN_FILENAMES=1

COLORTERM=gnome-terminal

XAUTHORITY=/root/.Xauthority

_=/bin/env

 

what env should be removed  and  how to remove these large env ?

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-06-27 15:23:13     Re: compile uclinux-dist-2008R1-RC8 error

Mike Frysinger (UNITED STATES)

Message: 57972   

 

i'm guessing you're running an old redhat 9 distro or something ... you could upgrade packages, but it'd probably be easier to just install a recent distro

QuoteReplyEditDelete

 

 

2008-06-28 13:55:48     Re: compile uclinux-dist-2008R1-RC8 error

hong li (CHINA)

Message: 58026   

 

Mike

 

      Thanks your help , I install a fedora 9, then compile the kernel successfully

 

Hong

Attachments

    Outcomes