2010-03-18 09:00:20     2009R1.1 romfs failing in busybox

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

2010-03-18 09:00:20     2009R1.1 romfs failing in busybox

Andrew Kohlsmith (CANADA)

Message: 87404   

 

Good morning,

 

I'm trying "make romfs" with a mostly standard build from the tarball, but it's failing trying to install busybox. Now, I haven't touched a thing in that directory, and while I am fairly certain that I did not make any busybox "make menuconfig' changes, I can't say for certain that I did not.  Even so, that shuold not be causing an install failure like I'm seeing.

 

From the output of "make singleromfs" :

 

make[3]: Entering directory `/home/andrew/bfin/uClinux-dist/user/busybox'                    

rm -rf build-busybox-1.13.4/"./_install"                                                     

make -C build-busybox-1.13.4 install                                                         

make[4]: Entering directory `/home/andrew/bfin/uClinux-dist/user/busybox/build-busybox-1.13.4'

make -C /home/andrew/data/coda/oxford/perceptron/bfin/uClinux-dist/user/busybox/busybox-1.13.4 O=/home/andrew/data/coda/oxford/perceptron/bfin/uClinux-dist/user/busybox/build-busybox-1.13.4 install                                                                                    

  Using /home/andrew/data/coda/oxford/perceptron/bfin/uClinux-dist/user/busybox/busybox-1.13.4 as source for busybox                                                                       

  GEN     /home/andrew/data/coda/oxford/perceptron/bfin/uClinux-dist/user/busybox/build-busybox-1.13.4/Makefile                                                                            

  ./_install/bin/[ -> busybox                                                                

  ./_install/bin/[[ -> busybox                                                               

  ./_install/bin/awk -> busybox                                                              

  ./_install/bin/basename -> busybox                                                         

  ./_install/bin/bunzip2 -> busybox                                                          

  ./_install/bin/bzcat -> busybox                                                            

  ./_install/bin/cat -> busybox                                                              

  ./_install/bin/chgrp -> busybox                                                            

  ./_install/bin/chmod -> busybox                                                            

  ./_install/bin/chown -> busybox                                                            

  ./_install/bin/clear -> busybox                                                            

  ./_install/bin/cmp -> busybox                                                              

  ./_install/bin/cp -> busybox                                                               

  ./_install/bin/cpio -> busybox                                                             

  ./_install/bin/cut -> busybox                                                              

  ./_install/bin/date -> busybox                                                             

  ./_install/bin/dd -> busybox                                                               

  ./_install/bin/df -> busybox                                                               

  ./_install/bin/diff -> busybox                                                             

  ./_install/bin/dmesg -> busybox                                                            

  ./_install/bin/du -> busybox                                                               

  ./_install/bin/echo -> busybox                                                             

  ./_install/bin/env -> busybox                                                              

  ./_install/bin/expr -> busybox                                                             

  ./_install/bin/false -> busybox                                                            

  ./_install/bin/find -> busybox                                                             

  ./_install/bin/free -> busybox                                                             

  ./_install/bin/ftpget -> busybox                                                           

  ./_install/bin/ftpput -> busybox                                                           

  ./_install/bin/getopt -> busybox                                                           

  ./_install/bin/grep -> busybox                                                             

  ./_install/bin/gunzip -> busybox                                                           

  ./_install/bin/gzip -> busybox                                                             

  ./_install/bin/head -> busybox                                                             

  ./_install/bin/hexdump -> busybox                                                          

  ./_install/bin/hostname -> busybox                                                         

  ./_install/bin/id -> busybox                                                               

  ./_install/bin/kill -> busybox                                                             

  ./_install/bin/killall -> busybox                                                          

  ./_install/bin/last -> busybox                                                             

  ./_install/bin/ln -> busybox                                                               

  ./_install/bin/logger -> busybox                                                           

  ./_install/bin/logname -> busybox                                                          

  ./_install/bin/ls -> busybox                                                               

  ./_install/bin/md5sum -> busybox                                                           

  ./_install/bin/mkdir -> busybox                                                            

  ./_install/bin/mkfifo -> busybox                                                           

  ./_install/bin/mknod -> busybox                                                            

  ./_install/bin/more -> busybox                                                             

  ./_install/bin/mount -> busybox                                                            

  ./_install/bin/msh -> busybox                                                              

  ./_install/bin/mv -> busybox                                                               

  ./_install/bin/nc -> busybox                                                               

  ./_install/bin/netstat -> busybox                                                          

  ./_install/bin/nmeter -> busybox                                                           

  ./_install/bin/nslookup -> busybox                                                         

  ./_install/bin/pidof -> busybox                                                            

  ./_install/bin/ping -> busybox                                                             

  ./_install/bin/printf -> busybox                                                           

  ./_install/bin/ps -> busybox                                                               

  ./_install/bin/pwd -> busybox                                                              

  ./_install/bin/readlink -> busybox                                                         

  ./_install/bin/renice -> busybox                                                           

  ./_install/bin/rm -> busybox                                                               

  ./_install/bin/rmdir -> busybox                                                            

  ./_install/bin/sed -> busybox                                                              

  ./_install/bin/seq -> busybox                                                              

  ./_install/bin/sh -> busybox                                                               

  ./_install/bin/sleep -> busybox                                                            

  ./_install/bin/sort -> busybox                                                             

  ./_install/bin/stty -> busybox                                                             

  ./_install/bin/sync -> busybox                                                             

  ./_install/bin/tail -> busybox                                                             

  ./_install/bin/tar -> busybox                                                              

  ./_install/bin/tee -> busybox                                                              

  ./_install/bin/test -> busybox

  ./_install/bin/tftp -> busybox

  ./_install/bin/time -> busybox

  ./_install/bin/top -> busybox

  ./_install/bin/touch -> busybox

  ./_install/bin/tr -> busybox

  ./_install/bin/traceroute -> busybox

  ./_install/bin/true -> busybox

  ./_install/bin/tty -> busybox

  ./_install/bin/umount -> busybox

  ./_install/bin/uname -> busybox

  ./_install/bin/uniq -> busybox

  ./_install/bin/uptime -> busybox

  ./_install/bin/usleep -> busybox

  ./_install/bin/vi -> busybox

  ./_install/bin/watch -> busybox

  ./_install/bin/wc -> busybox

  ./_install/bin/wget -> busybox

  ./_install/bin/which -> busybox

  ./_install/bin/whoami -> busybox

  ./_install/bin/xargs -> busybox

  ./_install/bin/yes -> busybox

  ./_install/bin/zcat -> busybox

  ./_install/sbin/chroot -> ../bin/busybox

  ./_install/sbin/getty -> ../bin/busybox

  ./_install/sbin/hwclock -> ../bin/busybox

  ./_install/sbin/ifconfig -> ../bin/busybox

  ./_install/sbin/insmod -> ../bin/busybox

  ./_install/sbin/klogd -> ../bin/busybox

  ./_install/sbin/losetup -> ../bin/busybox

  ./_install/sbin/lsmod -> ../bin/busybox

  ./_install/sbin/mdev -> ../bin/busybox

  ./_install/sbin/modprobe -> ../bin/busybox

  ./_install/sbin/readprofile -> ../bin/busybox

  ./_install/sbin/rmmod -> ../bin/busybox

  ./_install/sbin/route -> ../bin/busybox

  ./_install/sbin/syslogd -> ../bin/busybox

  ./_install/sbin/vconfig -> ../bin/busybox

 

 

--------------------------------------------------

You will probably need to make your busybox binary

setuid root to ensure all configured applets will

work properly.

--------------------------------------------------

 

make[4]: Leaving directory `/home/andrew/bfin/uClinux-dist/user/busybox/build-busybox-1.13.4'

test -L /home/andrew/bfin/uClinux-dist/romfs/sbin && mv build-busybox-1.13.4/"./_install"/sbin/* build-busybox-1.13.4/"./_install"/bin/ && rmdir build-busybox-1.13.4/"./_install"/sbin

mv: cannot stat `build-busybox-1.13.4/./_install/sbin/*': No such file or directory

make[3]: [romfs] Error 1 (ignored)

cp -pPR build-busybox-1.13.4/"./_install"/* /home/andrew/bfin/uClinux-dist/romfs/

cp: cannot stat `build-busybox-1.13.4/./_install/*': No such file or directory

make[3]: *** [romfs] Error 1

make[3]: Leaving directory `/home/andrew/bfin/uClinux-dist/user/busybox'

make[2]: *** [romfs] Error 2

make[2]: Leaving directory `/home/andrew/bfin/uClinux-dist/user'

make[1]: *** [romfs.subdirs] Error 1

make[1]: Leaving directory `/home/andrew/bfin/uClinux-dist'

make: *** [singleromfs] Error 2

 

QuoteReplyEditDelete

 

 

2010-03-18 09:04:56     Re: 2009R1.1 romfs failing in busybox

Andrew Kohlsmith (CANADA)

Message: 87405   

 

Bah, nevermind. The busybox/build-busybox-1.13.4/Makefile pulled in a directory name when I first built this, and when I moved the uClinux build to another directory the Makefile did not update.  I manually edited the path in the Makefile (KERNELSRC and KERNELOUTPUT)

 

 

 

Consequently, I think that busybox/busybox-1.13.4/scripts/mkmakefile needs to get run on every make, since that is what generated this Makefile.  Is that the correct fix?

QuoteReplyEditDelete

 

 

2010-03-18 11:46:45     Re: 2009R1.1 romfs failing in busybox

Mike Frysinger (UNITED STATES)

Message: 87411   

 

not really.  there are likely many many places where the full path is encoded.  if you move the tree, you should run `make clean` on the entire dist.

Attachments

    Outcomes