[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] avr-objcopy error (no sections to be copied) (was: Help!
From: |
Rick Mann |
Subject: |
[avr-gcc-list] avr-objcopy error (no sections to be copied) (was: Help! gcc 4.1.1, dwarf-2 and Atmel USB parts) |
Date: |
Sat, 16 Dec 2006 16:51:14 -0800 |
On Dec 15, 2006, at 14:17 , Anatoly Sokolov wrote:
Build script (need registration):
http://www.avrfreaks.net/index.php?
name=PNphpBB2&file=viewtopic&t=42631
Wow, that script worked really well, thanks!
So, I tried running the Makefile supplied with the Atmel USB HID
example, and I get an error I don't know how to interpret. Can
someone give me a hand? Thanks! Here's the transcript:
twinaero:~/.../at90usb128/demo/hid_generic/gcc rmann$ ls
Makefile* README_GCC.txt* at90usbxxx.x* dep/
hid_gen.aps*
twinaero:~/.../at90usb128/demo/hid_generic/gcc rmann$ make
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT usb_specific_request.o -MF dep/
usb_specific_request.o.d -c ../usb_specific_request.c
../usb_specific_request.c:236:2: warning: #warning with avrgcc
assumes devices descriptors are stored in the lower 64Kbytes of on-
chip flash memory
../usb_specific_request.c:381:2: warning: #warning with avrgcc
assumes devices descriptors are stored in the lower 64Kbytes of on-
chip flash memory
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT hid_task.o -MF dep/hid_task.o.d -c ../
hid_task.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT main.o -MF dep/main.o.d -c ../main.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT usb_descriptors.o -MF dep/
usb_descriptors.o.d -c ../usb_descriptors.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT power_drv.o -MF dep/power_drv.o.d -
c ../../../lib_mcu/power/power_drv.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT usb_task.o -MF dep/usb_task.o.d -
c ../../../modules/usb/usb_task.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT usb_standard_request.o -MF dep/
usb_standard_request.o.d -c ../../../modules/usb/device_chap9/
usb_standard_request.c
../../../modules/usb/device_chap9/usb_standard_request.c:304:2:
warning: #warning with avrgcc assumes devices descriptors are stored
in the lower 64Kbytes of on-chip flash memory
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT usb_device_task.o -MF dep/
usb_device_task.o.d -c ../../../modules/usb/device_chap9/
usb_device_task.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT scheduler.o -MF dep/scheduler.o.d -
c ../../../../common/modules/scheduler/scheduler.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT usb_drv.o -MF dep/usb_drv.o.d -
c ../../../lib_mcu/usb/usb_drv.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT stk_525.o -MF dep/stk_525.o.d -
c ../../../lib_board/stk_525/stk_525.c
avr-gcc -I"./.." -I"../conf" -I"../../../../at90usb128" -
I"../../../../common" -mmcu=at90usb1287 -D AVRGCC -Wall -gdwarf-2 -
Os -fsigned-char -MD -MP -MT adc_drv.o -MF dep/adc_drv.o.d -
c ../../../../common/lib_mcu/adc/adc_drv.c
avr-gcc -mmcu=at90usb1287 -Tat90usbxxx.x usb_specific_request.o
hid_task.o main.o usb_descriptors.o power_drv.o usb_task.o
usb_standard_request.o usb_device_task.o scheduler.o usb_drv.o
stk_525.o adc_drv.o -o hid_gen.elf
avr-objcopy -O ihex -R .eeprom hid_gen.elf hid_gen.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --
change-section-lma .eeprom=0 -O ihex hid_gen.elf hid_gen.eep
avr-objcopy: there are no sections to be copied!
avr-objcopy: --change-section-lma .eeprom=0x00000000 never used
make: *** [hid_gen.eep] Error 1
--
Rick