simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] new release?


From: Klaus Rudolph
Subject: Re: [Simulavr-devel] new release?
Date: Mon, 20 May 2013 20:00:28 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Joerg Wunsch schrieb:
> As Klaus Rudolph wrote:
> 
>> Please bootstrap from actual git HEAD and report related bugs!
>> If no additional bugs to this topic come in I will close the item #37341
> 
> For me (FreeBSD), it seems -ldl is not added (which is the right thing
> to do for FreeBSD, as it does not have a libdl at all - everything is
> in libc there).
> 
> However, I get the followin linker errors now:
> 
> main.o(.text+0xd75): In function `main':
> /usr/include/c++/4.2/bits/stl_map.h:542: undefined reference to 
> `AvrNameToSignatureMap'
> main.o(.text+0xd7f): In function `main':
> cmd/main.cpp:372: undefined reference to `AvrNameToSignatureMap'
> main.o(.text+0x1715):cmd/main.cpp:355: undefined reference to 
> `ELFGetSignature(char const*)'
> main.o(.text+0x172f): In function `main':
> /usr/include/c++/4.2/bits/stl_map.h:542: undefined reference to 
> `AvrSignatureToNameMap'
> main.o(.text+0x1739): In function `main':
> cmd/main.cpp:359: undefined reference to `AvrSignatureToNameMap'
> .libs/avrdevice.o(.text+0x72f): In function `AvrDevice::Load(char const*)':
> /junk/AVR/simulavrxx/src/avrdevice.cpp:62: undefined reference to 
> `ELFLoad(AvrDevice const*)'
> *** Error code 1
> 

while linking which part?

AvrSignatureToNameMap is defined in src/avrsignature.cpp
ELFLoad is defined in src/avrreadelf.cpp

both objects are linked for simulavr with:
g++ -I/home/schon_im_backup/work/binutils-2.19/build_avr/bfd// -g -O2
-Icmd -Iui -Ihwtimer -o simulavr main.o dumpargs.o .libs/adcpin.o
.libs/appl    ication.o .libs/at4433.o .libs/at8515.o
.libs/atmega668base.o .libs/atmega128.o .libs/at90canbase.o
.libs/atmega8.o .libs/atmega1284abase.o .libs/    attiny25_45_85.o
.libs/atmega16_32.o .libs/attiny2313.o .libs/externalirq.o
.libs/avrdevice.o .libs/avrerror.o .libs/avrfactory.o .libs/avrmalloc.
  o .libs/decoder.o .libs/decoder_trace.o .libs/flash.o
.libs/flashprog.o .libs/hardware.o .libs/helper.o .libs/gdbserver.o
.libs/hwacomp.o .libs/hw    ad.o .libs/hweeprom.o .libs/avrsignature.o
.libs/avrreadelf.o .libs/timerprescaler.o .libs/prescalermux.o
.libs/timerirq.o .libs/hwpinchange.o .li    bs/hwport.o .libs/hwspi.o
.libs/hwsreg.o .libs/icapturesrc.o .libs/hwstack.o .libs/hwtimer.o
.libs/hwuart.o .libs/hwwado.o .libs/ioregs.o .libs/ir    qsystem.o
.libs/keyboard.o .libs/lcd.o .libs/memory.o .libs/mysocket.o .libs/net.o
.libs/pin.o .libs/extpin.o .libs/pinatport.o .libs/pinmon.o .li
bs/rwmem.o .libs/scope.o .libs/serialrx.o .libs/serialtx.o
.libs/spisrc.o .libs/spisink.o .libs/specialmem.o .libs/string2.o
.libs/systemclock.o .    libs/traceval.o .libs/ui.o
-L/home/schon_im_backup/work/binutils-2.19/build_avr/bfd//
/home/schon_im_backup/work/binutils-2.19/build_avr/bfd///.l
ibs/libbfd.a
-L/home/schon_im_backup/work/binutils-2.19/build_avr/libiberty//
-liberty -ldl -lz

Can you have a look if you can see these files in link stage?

Regards
 Klaus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]