2008-01-05 04:17:06     help me! I can't build the image folder in /usr/sec/

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

2008-01-05 04:17:06     help me! I can't build the image folder in /usr/sec/

zhentao luo (CHINA)

Message: 49288    I  have  builded a platform for blackfin transplant uclinux:

 

windowsxp+redhat9.0,

 

when i run kernel under the redhat9.0 ;I find some questions need to help:

 

my operation approach:

 

1:install redhat9.0;

 

3:choose  http://blackfin/uclinux/org/gf/  download  uclinux  kernel and  bf533 uboot

 

   kernel:uClinux-dist-2007R1-RC3.tar.bz2

   uboot:u-boot_ezkit533.bin

   GCC:blackfin-toolchain-elf-gcc-4.1-07r1-9.i386.rpm and blackfin-toolchain-07r1-9.i386.rpm

 

4: install GCC compiler under root#

 

   command :  rpm -ivh blackfin-toolchain-elf-gcc-4.1-07r1-9.i386.rpm

              rpm -ivh blackfin-toolchain-07r1-9.i386.rpm

 

    in directory /opt/ build uClinux folder, It have three floder  bfin-elf,bfin-linux-uclibc,bfin-uclinux

 

5:Downloading kernel file uClinux-dist-2007R1-RC3.tar.bz2  to  /usr/src

 

   under the directory of  /usr/src  to decompression:

 

   bunzip2  uClinux-dist-2007R1-RC3.tar.bz2

   tar -xvf  uClinux-dist-2007R1-RC3.tar

 

6:setting environment variable:

 

   in terminal  input :sudo gedit ~/.bashrc, add:

 

   export  PATH="$PATH:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-linux-uclibc/bin"

 

   save file and restart redhat;

 

7:under  /usr/src/uClinux-dist

 

      make menuconfig

     make dep

     make

 

Finally the screen display :

 

Bfin-uclinux-gcc –O2 –pipe –fno-builtin –wall  -DEMBED –D_uClinux__-isystem/usr/src/uClinux-dist/staging/usr/include –Wall –fno-builtin –isystem /usr/src/Uclinux-dist/staging/usr/include –I../include –D_ADSPBLACKFIN_ -c –o cadd16.o cadd16.c

Make: expand.c:489:allocated_variable_append: allege “current_variable_set_list->next !=0” be defeated.

Make[2]:***[all]already  abnegate

Make[2]:Leaving directory  ‘/usr/src/uClinux-dist/lib/libbfdsp’

Make[1]:***[all]Error 2

Make[1]:Leaving directory  ‘/usr/src/uClinux-dist/lib’

Make:***[subdirs]Error 1

 

but never build the image folder in /usr/sec/

 

Who can told me the reason and what we should do?

TranslateQuoteReplyEditDelete

 

 

2008-01-05 04:46:21     Re: help me! I can't build the image folder in /usr/sec/

Mike Frysinger (UNITED STATES)

Message: 49289    please review the FAQ for your question is answered there:

http://docs.blackfin.uclinux.org/doku.php?id=faq

QuoteReplyEditDelete

 

 

2008-01-05 07:40:14     Re: help me! I can't build the image folder in /usr/sec/

zhentao luo (CHINA)

Message: 49292   

 

hi Mike

 

thinks for told me the reason,i redownload tool-chain,install blackfin-toolchain-07r1.1-3.i386.rpm ,and deleteded previous blackfin-gcc.but the question still exist,what should i do?

 

best regards!

 

                           

TranslateQuoteReplyEditDelete

 

 

2008-01-05 11:09:15     Re: help me! I can't build the image folder in /usr/sec/

Mike Frysinger (UNITED STATES)

Message: 49295    the FAQ already lists possible solutions ... pick one of them

QuoteReplyEditDelete

 

 

2008-01-06 23:54:49     回复: Re: help me! I can't build the image folder in /usr/sec/

zhentao luo (CHINA)

Message: 49308    thanks Mike

 

i installed make-3. 80.1and it solve my problem .

 

Best Regards

Attachments

    Outcomes