2008-11-04 09:14:40     Compilation issue

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

2008-11-04 09:14:40     Compilation issue

vijai ragavan (INDIA)

Message: 64662   

 

hai,

 

i compiled the 2008R1 distribution,The error displayed on the screen.

 

LD      modutils/built-in.o

  AR      modutils/lib.a

  LD      networking/built-in.o

  AR      networking/lib.a

  LD      networking/libiproute/built-in.o

  AR      networking/libiproute/lib.a

  LD      networking/udhcp/built-in.o

  AR      networking/udhcp/lib.a

  LD      procps/built-in.o

  AR      procps/lib.a

  LD      runit/built-in.o

  AR      runit/lib.a

  LD      shell/built-in.o

  AR      shell/lib.a

  LD      sysklogd/built-in.o

  AR      sysklogd/lib.a

  LD      util-linux/built-in.o

  AR      util-linux/lib.a

  LINK    busybox_unstripped

bfin-uclinux-strip: busybox_unstripped: File format not recognized

make[3]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user/busybox'

make[2]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user'

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

make[1]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

 

 

How to rectify this issue?

QuoteReplyEditDelete

 

 

2008-11-04 14:34:25     Re: Compilation issue

Mike Frysinger (UNITED STATES)

Message: 64667   

 

that is a warning, not an error.  the actual error was earlier.  run `make single` to see it.

QuoteReplyEditDelete

 

 

2008-11-04 23:27:29     Re: Compilation issue

vijai ragavan (INDIA)

Message: 64675   

 

hai,

 

i run the make single command,But i got the following error message.

 

raghavan@mdtv:~/DPF/uClinux-dist-2008R1.5-RC3> make single

make: *** No rule to make target `single'.  Stop.

raghavan@mdtv:~/DPF/uClinux-dist-2008R1.5-RC3>

QuoteReplyEditDelete

 

 

2008-11-04 23:48:29     Re: Compilation issue

Mike Frysinger (UNITED STATES)

Message: 64676   

 

single was added after the release, so run `make NON_SMP_BUILD=1`

QuoteReplyEditDelete

 

 

2008-11-05 02:17:03     Re: Compilation issue

vijai ragavan (INDIA)

Message: 64677   

 

hai,

 

i run that command,But it shows some error in busybox. so i just commend out the busybox directory in the user make file , then the compilation completed sucessfully,Whether will it create any problem?

QuoteReplyEditDelete

 

 

2008-11-05 02:30:17     Re: Compilation issue

Mike Frysinger (UNITED STATES)

Message: 64678   

 

i really have no idea what you're talking about.  if you're commenting out random lines and things fail, i guess you get to find out what's wrong.  we really only support the stock system.

QuoteReplyEditDelete

 

 

2008-11-05 05:02:25     Re: Compilation issue

vijai ragavan (INDIA)

Message: 64695   

 

hai,

 

i run the make NON_SMP_BUILD=1 ,but it shows following issue

 

make[3]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user/boa-new/src'

make[2]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user/boa-new'

make[2]: Entering directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user/busybox'

rm -rf ./"./_install"

mv "./_install"/sbin/* "./_install"/bin/

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

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

make[2]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user/busybox'

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

make[1]: Leaving directory `/home/raghavan/DPF/uClinux-dist-2008R1.5-RC3/user'

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

raghavan@mdtv:~/DPF/uClinux-dist-2008R1.5-RC3>

QuoteReplyEditDelete

 

 

2008-11-05 05:51:01     Re: Compilation issue

Mike Frysinger (UNITED STATES)

Message: 64696   

 

you can use this fix:

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=/branches/2008R1/user/busybox/Makefile.local&r1=6042&r2=7317

Attachments

    Outcomes