mainSimulavr: an AVR simulator - Support: sr #103875, Can't compile simulavrxx-0.0.005/4...

 
 

sr #103875: Can't compile simulavrxx-0.0.005/4 - problem with AVR-libbfd

Submitter:  None
Submitted:  Wed 09 Feb 2005 09:28:24 PM UTC
   
 
Category:  bugs Priority:  5 - Normal
Severity:  1 - Wish Status:  Done
Privacy:  Public Assigned to:  zfrdh
Originator Email:  -email is unavailable- Open/Closed:  Closed
Component Version:  * None Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Feb 2005 11:17:56 AM UTC, comment #1: 

Bugs should fixed in simulavrxx-0.8.005.
Please retest. If the error comes again set state to new again.

Klaus Rudolph <zfrdh>
Group administrator
Wed 09 Feb 2005 09:28:24 PM UTC, original submission:  

I'm totally new to AVR's and I'm trying to compile simulavrxx on my Gentoo Box.
I've tried with simulavrxx-0.8.004 and simulavrxx-0.8.005 but with both, i've a problem with libbfd.
[...]
With simulavrxx-0.8.004, it stops on ./configure :
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for avr-as... avr-as
checking for avr-ld... avr-ld
checking for avr-gcc... avr-gcc
checking for avr-g++... no
checking for wish... /usr/bin/wish
checking for ccache... ccache
checking for swig... /usr/bin/swig
checking for Tcl_Init in -ltcl... yes
checking for python >= 2.1.1... yes
checking any likely AVR-libbfd available via avr-binutils install path..... no
configure: error:

* ERROR *

provide --with-bfd-path=path-to-your-avr-libbfd-files or
ensure your AVR cross-compipler toolset is in the path
\(read-elf is used to auto-detect where your
AVR-build libbfd library is\)

for example, user the --enable-install-libbfd flag when configuring
binutils for AVR or execute make install_libbfd from your
AVR-binutil's bfd subdirectory to install the AVR-binutils version of
libbfd. Observe where the files are installed. For example:
--with-bfd-path=/home/some_user/install/i686-pc-linux-gnu/avr

This will make include/bfd.h and lib/libbfd.a available as required
by this package

alternatively you may just keep your AVR-binutils build files around
and point to the bfd sibdirecotry there.

And with simulavrxx-0.8.005, it stops during make :
Making all in src
make[1]: Entering directory `/home/tux/downloads/µC/simulavr/simulavrxx-0.8.005/src'
make  all-am
make[2]: Entering directory `/home/tux/downloads/µC/simulavr/simulavrxx-0.8.005/src'
if /bin/sh ../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -I/usr/include -I../src -I ../src   -O2 -g -O2 -MT avrdevice.lo -MD -MP -MF ".deps/avrdevice.Tpo" -c -o avrdevice.lo avrdevice.cpp; \
then mv -f ".deps/avrdevice.Tpo" ".deps/avrdevice.Plo"; else rm -f ".deps/avrdevice.Tpo"; exit 1; fi
 ccache g++ -DHAVE_CONFIG_H -I/usr/include -I../src -I ../src -O2 -g -O2 -MT avrdevice.lo -MD -MP -MF .deps/avrdevice.Tpo -c avrdevice.cpp  -fPIC -DPIC -o .libs/avrdevice.o
avrdevice.cpp: In member function `void AvrDevice::Load(const char*)':
avrdevice.cpp:122: error: 'struct bfd_section' has no member named '
   _cooked_size'
avrdevice.cpp:131: error: 'struct bfd_section' has no member named '
   _cooked_size'
make[2]: * [avrdevice.lo] Erreur 1
make[2]: Leaving directory `/home/tux/downloads/µC/simulavr/simulavrxx-0.8.005/src'
make[1]: * [all] Erreur 2
make[1]: Leaving directory `/home/tux/downloads/µC/simulavr/simulavrxx-0.8.005/src'
make: * [all-recursive] Erreur 1

With simulavrxx-0.8.004, it says that libbfd comes with avr-binutils but it is already installed. I've avr-binutils-2.14 installed with emerge command in Gentoo

So, I don't know what to do. I hope you'll help me!

By the way, simulavr is not in Gentoo portage.

Bye
Jean-François

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-10 zfrdh StatusNone Done
    Assigned toNone zfrdh
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-bb6a.
Corresponding source code