[Tinyos-help] avr-libc failure

Kevin Klues klueska at gmail.com
Sat Jan 19 15:14:01 PST 2008


I've heard other people complaining about this recently as well.
Either darwin ports has come out with a newer version of avr-libc that
doesnt compile correctly, or your version of X-Code isnt compatible
with it.  Either way, the best solution is to just provide a
precompiled set of binaries for now.  I'll update the tutorial later
today with instructions on how to get ahold of them.

Kevin

On Jan 19, 2008 1:28 AM, Spongebob Squarepants <spongys at gmail.com> wrote:
> Hi,
> I am having a problem installing TinyOS 2 on my MAC OS X Tiger. The error
> happens when I try to install the avr tools (sudo port install avr-libc) I
> am following Klues' steps. The error is following reported. I am not sure
> which path and how I have to change it.
> Please, let me know if you have any clue how to solve the problem.
>
> cheers,
> Antonio
> ...
> --->  Cleaning binutils
> --->  Fetching avr-libc
> --->  Attempting to fetch avr-libc-1.4.4.tar.bz2 from
> http://savannah.nongnu.org/download/avr-libc/
> --->  Verifying checksum(s) for avr-libc
> --->  Extracting avr-libc
> --->  Configuring avr-libc
>  Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-libc/work/avr-libc-1.4.4
> " && ./configure --prefix=/opt/local --prefix=/opt/local --host=avr
> --build=`./config.guess` " returned error 1
> Command output: checking build system type... i686-apple-darwin8.11.1
> checking host system type... avr-unknown-none
> checking if configuring for cross compile... yes
> checking if target host is avr... yes
> checking for a BSD-compatible install... /usr/bin/install
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking for avr-strip... avr-strip
> checking for avr-gcc... /usr/bin/gcc-4.0
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... yes
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/gcc-4.0 accepts -g... yes
> checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of /usr/bin/gcc- 4.0... gcc3
> checking for avr-as... avr-as
> checking for avr-ranlib... avr-ranlib
> checking for avr-ar... avr-ar
> configure: error: Wrong C compiler found; check the PATH!
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin


More information about the Tinyos-help mailing list