Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

bootloader build error in WINAVR

bootloader build error in WINAVR

2004-10-01 by fjch100

Hi, I am using WINAVR GCC the last build in winxp, and try to build 
a bootloader for an ATMEGA32. When "make all" give this error:



Compiling: boot32M.c

avr-gcc -c -mmcu=atmega32 -I. -gstabs   -Os -funsigned-char -
funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-
prototypes -Wa,-adhlns=boot32M.lst  -std=gnu99 -Wp,-M,-MP,-
MT,boot32M.o,-MF,.dep/boot32M.o.d boot32M.c -o boot32M.o 
boot32M.c: In function `main':

boot32M.c:149: warning: implicit declaration of function 
`__lpm_inline'
make.exe: *** [boot32M.elf] Error 1

> Process Exit Code: 2

seemto be the function " __lpm_inline" is not define in 
the "progmem.h" but they are an reemplace for this function ?

This is the line in the C code:

if(__lpm_inline(0x0000) != 0xFF) {



thanks....

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.