2008-11-20 02:31:02 uclinux dist live sources compilation error ! Please help !
Balakrishnan B (INDIA)
Message: 65574
Hello All,
Im trying to compile uclinux for the first time for bf533-ezkit. I have taken the live sources approach and downloaded all the latest souces from svn. As specified in the document, I have built the tool-chain and u-boot successfuly. And tried to compile uclinux-dist with its default configuration. (bf533-ezkit is chosen)
Whenever, I run "make menuconfig" and save & exit he config. Im getting the oldconfig screen :(. As per the documentation, I am expecting the menuconfig screen.
#
# configuration written to .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
make[1]: Entering directory `/usr/bala/blackfin-sources/uclinux-dist'
KCONFIG_NOTIMESTAMP=1 make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -C linux-2.6.x oldconfig
make[2]: Entering directory `/usr/bala/blackfin-sources/uclinux-dist/linux-2.6.x'
But after configuring oldconfig, I am getting menuconfig screen. After save & exit of both kernel and libraries (default configuration). I tried "make" and the compilation is started. Also, noticed that kernel is successfully built. There seems to be some issue in compiling busybox. I got the following error.
CC libbb/xregcomp.o
AR libbb/lib.a
LINK busybox_unstripped
Trying libraries: crypt m
Library crypt is not needed
Library m is not needed
Final link with: <none>
make[4]: Leaving directory `/usr/bala/blackfin-sources/uclinux-dist/user/busybox/build-busybox-1.12.2'
make[3]: Leaving directory `/usr/bala/blackfin-sources/uclinux-dist/user/busybox'
make[2]: Leaving directory `/usr/bala/blackfin-sources/uclinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/bala/blackfin-sources/uclinux-dist/user'
make: *** [subdirs] Error 1
I request help for the below :
1.) Skip oldconfig after doing "make menuconfig".
2.) Compiling the default configuration successfully.
P.S : I have not applied any patches to the live sources. Loking forward for all your help.
Thanks and Regards,
Bala
QuoteReplyEditDelete
2008-11-20 05:56:23 Re: uclinux dist live sources compilation error ! Please help !
Balakrishnan B (INDIA)
Message: 65586
The below thread helped me. Thanks.