2008-07-19 07:22:35     Make Clean Problem

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

2008-07-19 07:22:35     Make Clean Problem

Appalayagari Sreedhar (INDIA)

Message: 59127   

 

Hi,

 

When I give the

 

>make clean     command i am getting the following error.

 

for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/man'

make[3]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/etc'

set -e; for d in pcmcia wlan; do make -C $d clean; done

make[4]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/etc/pcmcia'

Nothing to do

make[4]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/etc/pcmcia'

make[4]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/etc/wlan'

echo "Nothing to do"

Nothing to do

make[4]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/etc/wlan'

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng/etc'

rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags

for i in *_obj; do if [ -d $i ]; then rm -fr $i; fi; done

#rm -f config.mk config.new

#rm -f src/include/wlan/version.h

make[2]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/wlan-ng'

make[2]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra'

for i in lib zebra bgpd ospfd ripd ; do make -C $i clean || exit dummy_target ; done

make[3]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/lib'

rm -f *.o libzebra.a version.c

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/lib'

make[3]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/zebra'

rm -f *.gdb *.elf *.o client zebra

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/zebra'

make[3]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/bgpd'

rm -f *.gdb *.elf *.o bgpd

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/bgpd'

make[3]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/ospfd'

rm -f *.gdb *.elf *.o ospfd

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/ospfd'

make[3]: Entering directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/ripd'

rm -f *.gdb *.elf *.o ripd

make[3]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra/ripd'

make[2]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user/zebra'

make[1]: Leaving directory `/home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/user'

rm -rf /home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/romfs/*

rm -f /home/sreedhar/PhilipsNFF_Ver1.0/uClinux-dist-2007R1-RC3-Jully14/images/*

rm -f config.tk

rm -f linux-2.6.x/linux

rm -f linux-2.6.x/include/asm

rm: cannot remove `linux-2.6.x/include/asm': Is a directory

make: *** [clean] Error 1

 

 

Can u suggest me how to solve this problem.

 

Similar like this i faced in u-boot that time i was told to remove the folder manually and it is working fine.

 

Best Regards,Sreedhar.

QuoteReplyEditDelete

 

 

2008-07-19 07:31:46     Re: Make Clean Problem

Mike Frysinger (UNITED STATES)

Message: 59128   

 

linux-2.6.x/include/asm should not be a directory.  you should unpack your sources and start fresh to make sure you dont have any other symlinks wrongly converted into directories.

Attachments

    Outcomes