2011-09-22 17:46:02 problem to compile Kernel
Armando Lopez (MEXICO)
Message: 103502
hello!!
i have a problem to compile the kernel
when i end to configure the kernel and save en exit :
#make
.
.
.
configure: loading site script /opt/git/uclinux-dist.git/vendors/config/config.site
config.site: ERROR: could not locate config.sub
config.site: ERROR: could not locate config.guess
config.site: loading extra site script frag /opt/git/uclinux-dist.git/vendors/config/config.site.build
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... bfin-unknown-linux-uclibc
checking target system type... bfin-unknown-linux-uclibc
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
checking for bfin-linux-uclibc-strip... bfin-linux-uclibc-strip
checking for bfin-linux-uclibc-gcc... bfin-linux-uclibc-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[3]: *** [build-alsa-lib-1.0.18/Makefile] Error 77
make[3]: Leaving directory `/opt/git/uclinux-dist.git/lib/alsa-lib'
make[2]: *** [alsa-lib] Error 2
make[2]: Leaving directory `/opt/git/uclinux-dist.git/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/git/uclinux-dist.git/lib'
make: *** [subdirs] Error 1
so, i dont know that to do...
i download this toolchain:
blackfin-toolchain-snapshot-uclinux-SVN.i386.rpm
and i do:
# export PATH=/opt/uClinux/bfin-uclinux/bin:$PATH
i appreciate your help
regards
Armando.
QuoteReplyEditDelete
2011-09-22 23:17:12 Re: problem to compile Kernel
Sonic Zhang (CHINA)
Message: 103504
You didn't install toolchain packages correctly.
Please install 2010R1 toolchain, uboot and uClinux distribution release other than the trunk head for your first try.
blackfin.uclinux.org/gf/project/toolchain/frs/?action=FrsReleaseView&release_id=501
QuoteReplyEditDelete
2011-09-26 12:23:47 Re: problem to compile Kernel
Armando Lopez (MEXICO)
Message: 103547
problem solve!
i used the tool chain 2010r1-rc4
but but the problem is not fixed because i not have all the glibc packages installed.
i used:
# yum groupinstall 'Development Tools'
# yum install glibc-static
I appreciate your help
best Regard
Armando
QuoteReplyEditDelete
2011-09-26 23:27:33 Re: problem to compile Kernel
Sonic Zhang (CHINA)
Message: 103549
You should configure the user binary format into FDPIC other than the default FLAT for ALSA library and utility.
QuoteReplyEditDelete