avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Problem when converting old WinAVR project to new WinAVR


From: Anton James Erasmus
Subject: [avr-gcc-list] Problem when converting old WinAVR project to new WinAVR
Date: Wed, 29 Oct 2008 15:47:15 +0200

Hi,

I have an old project which compiles and links fine under
WinAVR-20060125 (avr-gcc 3.4.5). I am now trying to build
this project under WinAVR-20080610. Everything compiles
fine, but I am getting a link error.
The link command I use is:
/cygdrive/c/WinAVR-20080610/bin/avr-gcc -mmcu=atmega128 -I.
-g -Os -funsigned-char -funsigned-bitfields -fpack-struct
-fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=td.lst
-I./src -std=gnu99 -Wp,-M,-MP,-MT,td.o,-MF,.dep/td.elf.d
td.o cpu_module.o avr_ser0.o avr_ser1.o gprintf.o printf.o
serial.o z8530_a.o z8530_b.o z8530.o avrspimp.o ds1305.o
mstdio.o null_ser.o avr_twi.o mbtype1.o timer0.o menu1.o
logo.o version.o plu.o i2cif.o lm75.o set_dt.o sprintf.o
avratod.o tst_uart.o ds1305_ram.o p_ticket.o tsp700.o id.o
eprintf.o gray.o dispense.o callback.o mbtype1_test.o
parse.o 150005.o timer1.o accept.o ticket_count.o stepper.o
XA000-055200.o virt_chan0.o virt_chan1.o virt_chan2.o
settings.o accept_dualroller.o barcode.o crc.o mcp23s08.o
 menu_1/menu.a --output td.elf
-Wl,-Map=td.map,--cref,--section-start=.data=0x0801100  -lm

and I get the errors:
c:/winavr-20080610/bin/../lib/gcc/avr/4.3.0/../../../../avr/bin/ld.exe:
section .extram [00013f64 -> 000141f7] overlaps section
.bss [00013f64 -> 00014903]
c:/winavr-20080610/bin/../lib/gcc/avr/4.3.0/../../../../avr/bin/ld.exe:
td.elf: section .bss lma 0x13f64 overlaps previous sections
c:/winavr-20080610/bin/../lib/gcc/avr/4.3.0/../../../../avr/bin/ld.exe:
td.elf: section .noinit lma 0x14904 overlaps previous
sections

I have external RAM and as far as I understand the .extram
section should be after the .bss section.

Any help appreciated.

Regards
  Anton Erasmus




reply via email to

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