2010-12-30 15:17:28     Buxy Box Compile Error

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

2010-12-30 15:17:28     Buxy Box Compile Error

Blair Fredericks (CANADA)

Message: 97072   

 

Hi,

 

I am using Fedora 14, I am getting this error when compilng the kernal.

 

make[3]: Entering directory `/home/bfredericks/Desktop/blackfin-linux-dist/user/blkfin-test'

for i in    ; do make -C $i all || exit $? ; done

sed -n \

    -e '/_CROSS_COMPILER_PREFIX=/s:=.*:="bfin-linux-uclibc-":' \

    -e '/CONFIG_USER_BUSYBOX_/s:CONFIG_USER_BUSYBOX_:CONFIG_:p' \

    /home/bfredericks/Desktop/blackfin-linux-dist/config/.config > build-busybox-1.16.2/.config.uclinux-dist.new

set -e ; \

if [ ! -e build-busybox-1.16.2/.config ] || ! cmp -s build-busybox-1.16.2/.config.uclinux-dist.new build-busybox-1.16.2/.config.uclinux-dist.old ; then \

    cp build-busybox-1.16.2/.config.uclinux-dist.new build-busybox-1.16.2/.config.uclinux-dist.old ; \

    cp build-busybox-1.16.2/.config.uclinux-dist.old build-busybox-1.16.2/.config ; \

    yes "" | make -C busybox-1.16.2 oldconfig ; \

fi

make[3]: Leaving directory `/home/bfredericks/Desktop/blackfin-linux-dist/user/blkfin-test'

make[4]: Entering directory `/home/bfredericks/Desktop/blackfin-linux-dist/user/busybox/busybox-1.16.2'

/home/bfredericks/Desktop/blackfin-linux-dist/user/busybox/busybox-1.16.2/Makefile:431: *** mixed implicit and normal rules.  Stop.

make[4]: *** [oldconfig] Error 2

make[4]: Leaving directory `/home/bfredericks/Desktop/blackfin-linux-dist/user/busybox/busybox-1.16.2'

make[3]: *** [build-busybox-1.16.2/.config] Error 2

make[3]: Leaving directory `/home/bfredericks/Desktop/blackfin-linux-dist/user/busybox'

make[2]: *** [busybox] Error 2

make[2]: Leaving directory `/home/bfredericks/Desktop/blackfin-linux-dist/user'

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

make[1]: Leaving directory `/home/bfredericks/Desktop/blackfin-linux-dist/user'

make: *** [subdirs] Error 1

 

 

Thanks,

 

Blair

QuoteReplyEditDelete

 

 

2010-12-30 15:21:33     Re: Buxy Box Compile Error

Mike Frysinger (UNITED STATES)

Message: 97073   

 

this has been fixed in the latest release (2010R1) already.  time to upgrade.

QuoteReplyEditDelete

 

 

2010-12-30 15:26:27     Re: Buxy Box Compile Error

Mike Frysinger (UNITED STATES)

Message: 97074   

 

hmm, or not.  i guess we only fixed it in trunk.  ive committed the fix to the svn branch now too though.

QuoteReplyEditDelete

 

 

2010-12-30 15:30:24     Re: Buxy Box Compile Error

Blair Fredericks (CANADA)

Message: 97075   

 

Hi Mike,

 

I am using the 2010R1-RC4 blackfin-linux-dist with 2010R1-RC4 tool chain?

 

Thanks,

 

Blair

QuoteReplyEditDelete

 

 

2010-12-31 00:58:55     Re: Buxy Box Compile Error

Blair Fredericks (CANADA)

Message: 97083   

 

Hi,

 

Quick work around.

 

yum unistall make

 

Find the 3.81 make RPM and install.

 

Blair

QuoteReplyEditDelete

 

 

2011-05-10 18:36:53     Re: Buxy Box Compile Error

Ashish Gupta (INDIA)

Message: 100554   

 

Hi,

 

I got the similar error with make version 3.82 on Fedora 14. Replaced the make package with version 3.81.

 

The previous error is gone but the compilation still fails with the following log, (when fired make single)

 

=======================================================================================

 

[ ! -d "busybox" ] || ( touch busybox/.sgbuilt_user && make -C busybox ) || exit $?

make[5]: Entering directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user/busybox'

make -C build-busybox-1.16.2

make[6]: Entering directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user/busybox/build-busybox-1.16.2'

make[6]: *** No targets specified and no makefile found.  Stop.

make[6]: Leaving directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user/busybox/build-busybox-1.16.2'

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

make[5]: Leaving directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user/busybox'

make[4]: *** [busybox] Error 2

make[4]: Leaving directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user'

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

make[3]: Leaving directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user'

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

make[2]: Leaving directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist'

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

make[1]: Leaving directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist'

make: *** [single] Error 2

===================================================================================

Any suggestions? I am using the 2010R1 uclinux distro with latest release matching toolchain on Fedora 14. I did install the development packages mentioned under "installing/configuring host linux" section on the wiki

 

Regards

Ashish

 

 

QuoteReplyEditDelete

 

 

2011-05-10 18:47:43     Re: Buxy Box Compile Error

Mike Frysinger (UNITED STATES)

Message: 100555   

 

get the fix from svn or downgrade to make-3.81

QuoteReplyEditDelete

 

 

2011-05-10 18:57:15     Re: Buxy Box Compile Error

Ashish Gupta (INDIA)

Message: 100556   

 

Hi,

 

Perhaps I was not clear in the my previous post.

 

1. I got the error "  *** mixed implicit and normal rules.  Stop."

 

2. I downgraded make package from version 3.82 to 3.81 on my fedora 14 system

 

3. Now when i recompile, Error *** mixed implicit and normal rules.  Stop." does NOT appear

 

4. But a new compile error comes up, the log for which I provided above, basically the make (now version 3.81) says : -

 

make[5]: Entering directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user/busybox'

 

make -C build-busybox-1.16.2

 

make[6]: Entering directory `/home/ashish/blackfin-sources/2010R1/uClinux-dist/user/busybox/build-busybox-1.16.2'

 

make[6]: *** No targets specified and no makefile found.  Stop.

 

 

 

Regards,

 

Ashish

QuoteReplyEditDelete

 

 

2011-05-11 00:02:13     Re: Buxy Box Compile Error

Mike Frysinger (UNITED STATES)

Message: 100559   

 

that error sounds like it's unrelated to this one.  start a new thread please.

Attachments

    Outcomes