Some problem when building uClibc

sumit.jain at nokia.com sumit.jain at nokia.com
Wed Mar 28 09:36:47 UTC 2007


> Hi,
> I am trying to build a tool chain for scratchbox with uClibc 0.9.28.1
> and am having some issues. 
> 
> When the uclibc build starts make <some options> pregen install_dev is
> called. Before that .config file is placed in the uclibc directory.
> When that happens typically it should pick up the .config and start
> the build rather than waiting for me to put in values. But that's not
> the case. I am getting the following on the screen and the make stops
> for me to enter values
> 
> make -C
> /home/sumit/sb-toolchains-0.9.8.1/gcc/uclibc/work/toolchain/gcc-3.3.x/
> toolchain_build_i386/uClibc-0.9.28.1 \
> PREFIX=/scratchbox/compilers/i386-gcc-3.3.2-uclibc-0.9.28.1/ \
> DEVEL_PREFIX=i386-linux-uclibc/ \
> RUNTIME_PREFIX=/scratchbox/compilers/i386-gcc-3.3.2-uclibc-0.9.28.1/i3
> 86-linux-uclibc/ \
> HOSTCC="host-gcc" \
> 	pregen install_dev;
> make[2]:
> /scratchbox/compilers/i386-gcc-3.3.2-uclibc-0.9.28.1/bin/i386-linux-uc
> libc-gcc: Command not found
> make[2]: Entering directory
> `/home/sumit/sb-toolchains-0.9.8.1/gcc/uclibc/work/toolchain/gcc-3.3.x
> /toolchain_build_i386/uClibc-0.9.28.1'
> make[2]:
> /scratchbox/compilers/i386-gcc-3.3.2-uclibc-0.9.28.1/bin/i386-linux-uc
> libc-gcc: Command not found
> make[3]:
> /scratchbox/compilers/i386-gcc-3.3.2-uclibc-0.9.28.1/bin/i386-linux-uc
> libc-gcc: Command not found
> make[3]: Entering directory
> `/home/sumit/sb-toolchains-0.9.8.1/gcc/uclibc/work/toolchain/gcc-3.3.x
> /toolchain_build_i386/uClibc-0.9.28.1/extra/config'
> make[3]:
> /scratchbox/compilers/i386-gcc-3.3.2-uclibc-0.9.28.1/bin/i386-linux-uc
> libc-gcc: Command not found
> cp zconf.tab.h_shipped zconf.tab.h
> host-gcc -O2 -Wall -I. -c conf.c -o conf.o
> cp zconf.tab.c_shipped zconf.tab.c
> cp lex.zconf.c_shipped lex.zconf.c
> host-gcc -O2 -Wall -I. -c zconf.tab.c -o zconf.tab.o
> host-gcc  conf.o zconf.tab.o -o conf
> make[3]: Leaving directory
> `/home/sumit/sb-toolchains-0.9.8.1/gcc/uclibc/work/toolchain/gcc-3.3.x
> /toolchain_build_i386/uClibc-0.9.28.1/extra/config'
> rm -f -r include/bits
> install -d include/bits
> .config:64: trying to assign nonexistent symbol UCLIBC_PIE_SUPPORT
> .config:67: trying to assign nonexistent symbol UCLIBC_PROPOLICE
> .config:68: trying to assign nonexistent symbol UCLIBC_PROFILING
> #
> # using defaults found in .config
> #
> *
> * uClibc Configuration
> *
> Target Architecture
>   1. alpha (TARGET_alpha)
>   2. arm (TARGET_arm)
>   3. bfin (TARGET_bfin) (NEW)
>   4. cris (TARGET_cris)
>   5. e1 (TARGET_e1)
>   6. frv (TARGET_frv)
>   7. h8300 (TARGET_h8300)
> > 8. i386 (TARGET_i386)
>   9. i960 (TARGET_i960)
>   10. m68k (TARGET_m68k)
>   11. microblaze (TARGET_microblaze)
>   12. mips (TARGET_mips)
>   13. nios (TARGET_nios) (NEW)
>   14. nios2 (TARGET_nios2) (NEW)
>   15. powerpc (TARGET_powerpc)
>   16. superh (TARGET_sh)
>   17. sh64 (TARGET_sh64) (NEW)
>   18. sparc (TARGET_sparc)
>   19. v850 (TARGET_v850)
>   20. x86_64 (TARGET_x86_64) (NEW)
> choice[1-20?]: make[2]: *** [include/bits/uClibc_config.h] Interrupt
> make[1]: ***
> [/home/sumit/sb-toolchains-0.9.8.1/gcc/uclibc/work/toolchain/gcc-3.3.x
> /toolchain_build_i386/uClibc-0.9.28.1/.configured] Interrupt
> make: *** [build-toolchain] Interrupt
> 
> I think the problem area is these lines 
> 
> .config:64: trying to assign nonexistent symbol UCLIBC_PIE_SUPPORT
> .config:67: trying to assign nonexistent symbol UCLIBC_PROPOLICE
> .config:68: trying to assign nonexistent symbol UCLIBC_PROFILING
> 
> 
> However I am not able to figure as to what needs to be done to fix it.
> 
> Thanks in advance.
> 
> Regards,
> Sumit
> 
> Sumit Kumar Jain
> NOKIA India Pvt. Ltd.
> Bangalore.
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20070328/5806013f/attachment-0002.htm 


More information about the uClibc mailing list