2011-02-11 01:03:32     uclinux-dist compilation error

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

2011-02-11 01:03:32     uclinux-dist compilation error

parashuram lamani (INDIA)

Message: 98080   

 

Hi,

 

I use 'make menuconfig'  to enable [*]squid and [*]boa and i do 'make' to compile kernel configuration but kernel configuratuon is not getting compiled correctly, it gives following error

 

 

 

make[3]: Entering directory `/home/parimala/uClinux/uclinux-dist/user/squid'

rm -rf build

mkdir build

(cd build; sh ../configure --host=bfin-uclinux --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --disable-dependency-tracking --enable-fast-install --prefix= --with-headers=/home/parimala/uClinux/uclinux-dist/linux-2.6.x/include --sysconfdir=/etc/config --datadir=/etc --libexecdir=/bin --enable-err-languages="English" --enable-default-err-language=English --enable-linux-netfilter --disable-ident-lookups --enable-icap-support --enable-dependency-tracking)

configure: loading site script /home/parimala/uClinux/uclinux-dist/vendors/config/config.site

config.site: loading extra site script frag /home/parimala/uClinux/uclinux-dist/vendors/config/config.site.build

config.site: loading site script frag /home/parimala/uClinux/uclinux-dist/vendors/config/bfin/config.site

config.site: loading site script frag /home/parimala/uClinux/uclinux-dist/vendors/config/bfin-unknown-uclinux

checking for a BSD-compatible install... (cached) /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... (cached) gawk

checking whether make sets $(MAKE)... (cached) yes

configure: error: source directory already configured; run "make distclean" there first

make[3]: *** [build/build] Error 1

make[3]: Leaving directory `/home/parimala/uClinux/uclinux-dist/user/squid'

make[2]: *** [squid] Error 2

make[2]: Leaving directory `/home/parimala/uClinux/uclinux-dist/user'

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

make[1]: Leaving directory `/home/parimala/uClinux/uclinux-dist/user'

make: *** [subdirs] Error 1

 

 

please help

 

Thank you :-)

QuoteReplyEditDelete

 

 

2011-02-11 06:17:15     Re: uclinux-dist compilation error

Gilles Ganault (FRANCE)

Message: 98092   

 

Did you try and run this?

 

 

 

make[3]: Entering directory `/home/parimala/uClinux/uclinux-dist/user/squid'

 

...

 

configure: error: source directory already configured; run "make distclean" there first

 

QuoteReplyEditDelete

 

 

2011-02-11 12:22:45     Re: uclinux-dist compilation error

Mike Frysinger (UNITED STATES)

Message: 98094   

 

that error should only show up if someone ran `configure` in the srcdir manually (as config.status exists).  we do not ship uclinux-dist like that.  so if you ran configure, you need to clean up your tree first.

QuoteReplyEditDelete

 

 

2011-02-14 01:49:47     Re: uclinux-dist compilation error

parashuram lamani (INDIA)

Message: 98125   

 

hello Mike,

 

I ran 'make distclean' to clean up my tree and then 'make' to compile kernel configuration even after doing 'make distclean' its giving the same error,

 

I ran the 'make distclean' in the directory 'uClinux/uclinux-dist' did i run it in the correct directory?? or i need to run it in the different source directory?? I am newbie please help

 

 

 

Thanks

 

Parashuram

QuoteReplyEditDelete

 

 

2011-02-14 02:14:32     Re: uclinux-dist compilation error

Mike Frysinger (UNITED STATES)

Message: 98126   

 

when i said "srcdir", i was referring to user/squid/

Attachments

    Outcomes