I am trying to install the AVR tool set for TinyOS on my freshly installed
Ubuntu 6.06 LTS (Dapper Drake) installation. I get:
configure: error: You need to install libbfd.a from binutils.
when running ./configure in avarice-2.4. More detailed installation and
error notes below. Any help would be greatly appreciated.
Thanks,
Elaine
=======
I got my source files from:
http://www.tinyos.net/dist-1.2.0/tools/source/
I was able to do the following:
========
tar xzvf avr-binutils-2.15tinyos.tgz
cd avr-binutils-2.15tinyos
./configure --target=avr
make
sudo make install
cd ..
tar xzvf avr-gcc-3.4.3.tgz
cd avr-gcc-3.4.3
./configure --target=avr --disable-nls --enable-languages=c
make
sudo make install
cd ..
tar xzvf avr-libc-1.2.3.tar.gz
cd avr-libc-1.2.3
./doconf
./domake
sudo ./domake install
cd ..
tar --bzip2 -xvf avarice-2.4.tar.bz2
cd avarice-2.4
./configure
========
At this point, I got the following error:
[EMAIL PROTECTED]:~/downloads/tinyos/avarice-2.4$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for perl... /usr/bin/perl
checking for library containing gethostbyname... none required
checking for socket... yes
checking for library containing inet_aton... none required
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for dcgettext in -lintl... no
checking for xmalloc in -liberty... yes
checking for bfd_init in -lbfd... no
checking for usb_get_string_simple in -lusb... no
configure: error: You need to install libbfd.a from binutils.
=======
I google and found the following:
http://www.opendarwin.org/pipermail/darwinports-bugs/2005-September.txt
I tried:
======
cd avr-binutils-2.15tinyos
./configure --target=avr --enable-install-libbfd
make
sudo make install
======
And I also tried it in the avr-binutils-2.15tinyos/bfd subdirectory.
But I still get the same error in ./configure in the avarice-2.4
directory.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help