[Tinyos-help] [TinyOS help] Error on building MSPGCC

Ming cyberming at gmail.com
Mon Jun 26 10:18:07 PDT 2006


I am building mspgcc by "tinyos-1.x/tools/src/mspgcc/build-mspgcc install"
However I got the following error:

Created "Makefile" in /opt/tinyos-1.x/tools/src/mspgcc/build/gcc-3.2.3-obj
> ./config.status is unchanged
> Configuring libiberty...
> loading cache ../config.cache
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for makeinfo... (cached) makeinfo
> checking for perl... (cached) perl
> checking host system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for ar... (cached) ar
> checking for ranlib... (cached) ranlib
> checking for gcc... (cached) gcc
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for POSIXized ISC... no
> checking for working const... (cached) yes
> checking for inline... (cached) inline
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> xhost-mkfrag is unchanged
> checking how to run the C preprocessor... (cached) gcc -E
> checking for sys/file.h... (cached) yes
> checking for sys/param.h... (cached) yes
> checking for limits.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for time.h... (cached) yes
> checking for sys/resource.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for sys/mman.h... (cached) yes
> checking for fcntl.h... (cached) yes
> checking for alloca.h... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached)
> yes
> checking whether errno must be declared... (cached) no
> checking for ANSI C header files... (cached) yes
> checking for uintptr_t... (cached) no
> checking whether the C compiler (gcc -g -O2 ) works... no
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
> Configure in /opt/tinyos-1.x/tools/src/mspgcc/build/gcc-3.2.3-obj/libiberty
> failed, exiting.


What should I do to solve the problem? Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060626/246b7113/attachment-0001.htm


More information about the Tinyos-help mailing list