Hy zusammen
ich bin ein Noobi in sachen WinAVR und C, habe sonst meine µCs immer mit
Bascom programmiert , doch habe ich mir in den letzten Tagen mal den
WebServer von H.Buss zusammen gebaut.
wenn ich jetzt diese Sample Files nehme und sie mit WinAVR ändern möchte
kann ich diese nicht mehr in ein HEX File umwandeln
wenn ich im Menu auf Make ALL gehe kommen viel viel fehler
wie diese hier:
> "make.exe" all
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=dump.lst -std=gnu99 dump.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > dump.d; \
[ -s dump.d ] || rm -f dump.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=OWISWBitFunctions.lst -std=gnu99
OWISWBitFunctions.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWISWBitFunctions.d; \
[ -s OWISWBitFunctions.d ] || rm -f OWISWBitFunctions.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=OWIHighLevelFunctions.lst -std=gnu99
OWIHighLevelFunctions.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWIHighLevelFunctions.d; \
[ -s OWIHighLevelFunctions.d ] || rm -f OWIHighLevelFunctions.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=OWIcrc.lst -std=gnu99 OWIcrc.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWIcrc.d; \
[ -s OWIcrc.d ] || rm -f OWIcrc.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=OWImain.lst -std=gnu99 OWImain.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > OWImain.d; \
[ -s OWImain.d ] || rm -f OWImain.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=fat.lst -std=gnu99 fat.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > fat.d; \
[ -s fat.d ] || rm -f fat.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > mmc.d; \
[ -s mmc.d ] || rm -f mmc.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=webpage.lst -std=gnu99 webpage.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > webpage.d; \
[ -s webpage.d ] || rm -f webpage.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=telnet.lst -std=gnu99 telnet.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > telnet.d; \
[ -s telnet.d ] || rm -f telnet.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=tcp.lst -std=gnu99 tcp.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > tcp.d; \
[ -s tcp.d ] || rm -f tcp.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > uart.d; \
[ -s uart.d ] || rm -f uart.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > clock.d; \
[ -s clock.d ] || rm -f clock.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c
\
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > interrupt4.d; \
[ -s interrupt4.d ] || rm -f interrupt4.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > icmp.d; \
[ -s icmp.d ] || rm -f icmp.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ip.d; \
[ -s ip.d ] || rm -f ip.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > httpd.d; \
[ -s httpd.d ] || rm -f httpd.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > ftpd.d; \
[ -s ftpd.d ] || rm -f ftpd.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > checksum.d; \
[ -s checksum.d ] || rm -f checksum.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > arp.d; \
[ -s arp.d ] || rm -f arp.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > rtl8019.d; \
[ -s rtl8019.d ] || rm -f rtl8019.d
set -e; avr-gcc -MM -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > main.d; \
[ -s main.d ] || rm -f main.d
-------- begin --------
avr-gcc (GCC) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Compiling: main.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o
In file included from main.h:17,
from main.c:29:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from main.c:29:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from main.c:29:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
main.c: In function 'main':
main.c:82: warning: implicit declaration of function
'enable_external_int'
Compiling: rtl8019.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o
rtl8019.o
In file included from main.h:17,
from rtl8019.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from rtl8019.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from rtl8019.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
Compiling: arp.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o
In file included from main.h:17,
from arp.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from arp.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from arp.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
Compiling: checksum.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o
checksum.o
In file included from main.h:17,
from checksum.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from checksum.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from checksum.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
Compiling: ftpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o
In file included from main.h:17,
from ftpd.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from ftpd.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from ftpd.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
Compiling: httpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o
In file included from main.h:17,
from httpd.c:10:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from httpd.c:10:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from httpd.c:10:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
httpd.c: In function 'searchParameter':
httpd.c:20: warning: pointer targets in passing argument 1 of 'strlen'
differ in signedness
httpd.c:35: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c: In function 'searchName':
httpd.c:47: warning: pointer targets in passing argument 1 of 'strlen'
differ in signedness
httpd.c:73: warning: pointer targets in passing argument 1 of
'eeprom_write_byte' differ in signedness
httpd.c: In function 'httpd':
httpd.c:124: warning: pointer targets in passing argument 1 of 'printf'
differ in signedness
httpd.c:156: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:156: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:157: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:157: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:158: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:158: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:160: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:160: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:161: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:161: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:163: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:163: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:164: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:164: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:166: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:166: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:167: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:167: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:169: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:169: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:170: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:170: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:172: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:172: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:173: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:173: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:174: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:174: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:175: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:175: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:177: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:177: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:178: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:178: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:180: warning: pointer targets in passing argument 1 of
'searchName' differ in signedness
httpd.c:180: warning: pointer targets in passing argument 2 of
'searchName' differ in signedness
httpd.c:182: warning: pointer targets in passing argument 1 of
'searchParameter' differ in signedness
httpd.c:182: warning: pointer targets in passing argument 2 of
'searchParameter' differ in signedness
httpd.c:198: warning: pointer targets in passing argument 1 of
'eeprom_read_byte' differ in signedness
httpd.c:199: warning: pointer targets in passing argument 1 of
'eeprom_read_byte' differ in signedness
httpd.c:200: warning: pointer targets in passing argument 1 of
'eeprom_read_byte' differ in signedness
httpd.c:201: warning: pointer targets in passing argument 1 of
'eeprom_read_byte' differ in signedness
httpd.c:202: warning: pointer targets in passing argument 1 of
'eeprom_write_byte' differ in signedness
httpd.c:203: warning: pointer targets in passing argument 1 of
'eeprom_write_byte' differ in signedness
httpd.c:204: warning: pointer targets in passing argument 1 of
'eeprom_write_byte' differ in signedness
httpd.c:205: warning: pointer targets in passing argument 1 of
'eeprom_write_byte' differ in signedness
httpd.c:208: warning: pointer targets in passing argument 1 of
'eeprom_read_byte' differ in signedness
httpd.c:209: warning: pointer targets in passing argument 1 of
'eeprom_write_byte' differ in signedness
httpd.c:223: warning: pointer targets in passing argument 1 of 'strstr'
differ in signedness
httpd.c:226: warning: pointer targets in passing argument 1 of 'strstr'
differ in signedness
Compiling: ip.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o
In file included from main.h:17,
from ip.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from ip.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from ip.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
Compiling: icmp.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o
In file included from main.h:17,
from icmp.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from icmp.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from icmp.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
Compiling: interrupt4.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c
-o interrupt4.o
In file included from main.h:17,
from interrupt4.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from interrupt4.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from interrupt4.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
interrupt4.c: In function 'get':
interrupt4.c:69: warning: pointer targets in passing argument 1 of
'Read_Ethernet_Frame' differ in signedness
interrupt4.c:73: warning: pointer targets in passing argument 1 of
'ARP_Reply' differ in signedness
interrupt4.c:73: warning: pointer targets in passing argument 2 of
'ARP_Reply' differ in signedness
interrupt4.c:80: warning: pointer targets in passing argument 1 of
'ICMP_Reply' differ in signedness
interrupt4.c:87: warning: pointer targets in passing argument 1 of
'httpd' differ in signedness
interrupt4.c:87: warning: pointer targets in passing argument 2 of
'httpd' differ in signedness
interrupt4.c:90: warning: pointer targets in passing argument 1 of
'ftpd' differ in signedness
interrupt4.c:90: warning: pointer targets in passing argument 2 of
'ftpd' differ in signedness
interrupt4.c:94: warning: pointer targets in passing argument 1 of
'telnet' differ in signedness
interrupt4.c:94: warning: pointer targets in passing argument 2 of
'telnet' differ in signedness
Compiling: clock.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o
In file included from main.h:17,
from clock.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from clock.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from clock.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
clock.c: In function 'Start_Clock':
clock.c:42: warning: implicit declaration of function 'timer_enable_int'
Compiling: uart.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o
In file included from main.h:17,
from uart.c:8:
c:/winavr-20070525/bin/../avr/include/avr/signal.h:36:2: warning:
#warning "This header file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from uart.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from uart.c:8:
c:/winavr-20070525/bin/../avr/include/avr/interrupt.h:108:1: warning:
this is the location of the previous definition
uart.c: In function 'UART_Init':
uart.c:29: warning: passing argument 1 of 'fdevopen' from incompatible
pointer type
uart.c:29: error: too many arguments to function 'fdevopen'
make.exe: *** [uart.o] Error 1
> Process Exit Code: 2> Time Taken: 00:04
Und hier noch eine andere Variante von einem dem File
SourceCodeCPP_V1.40_IB
-------- begin --------
avr-gcc (GCC) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Compiling: main.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o
In file included from main.h:57,
from main.c:27:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
main.c: In function 'InitFat':
main.c:140: warning: pointer targets in assignment differ in signedness
main.c: In function 'SaveCamToSD':
main.c:156: warning: pointer targets in assignment differ in signedness
main.c:165: warning: pointer targets in passing argument 1 of 'FileOpen'
differ in signedness
main.c: In function 'ShowConfig':
main.c:212: warning: suggest parentheses around comparison in operand of
&
main.c: In function 'test':
main.c:260: warning: pointer targets in assignment differ in signedness
main.c:263: warning: pointer targets in passing argument 1 of 'FileOpen'
differ in signedness
main.c:259: warning: unused variable 't'
main.c: In function 'main':
main.c:307: warning: pointer targets in assignment differ in signedness
main.c:277: warning: unused variable 'Minuten_Timer'
Compiling: 3c5x9.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o
In file included from main.h:57,
from 3c5x9.c:49:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: rtl8019.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o
rtl8019.o
In file included from main.h:57,
from rtl8019.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: analog.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o
analog.o
In file included from main.h:57,
from analog.c:1:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: arp.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o
In file included from main.h:57,
from arp.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: checksum.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o
checksum.o
In file included from main.h:57,
from checksum.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: ftpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o
In file included from main.h:57,
from ftpd.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: httpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o
In file included from main.h:57,
from httpd.c:10:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
httpd.c: In function 'httpd':
httpd.c:82: warning: pointer targets in assignment differ in signedness
httpd.c:86: warning: pointer targets in assignment differ in signedness
httpd.c:100: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:103: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:106: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:109: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:109: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:113: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:115: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:115: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c:133: warning: pointer targets in passing argument 1 of 'sprintf'
differ in signedness
httpd.c:135: warning: pointer targets in passing argument 1 of 'sprintf'
differ in signedness
httpd.c:132: warning: suggest explicit braces to avoid ambiguous 'else'
httpd.c:139: warning: pointer targets in passing argument 1 of 'printf'
differ in signedness
httpd.c:221: warning: pointer targets in passing argument 1 of
'strcasecmp' differ in signedness
httpd.c:224: warning: pointer targets in passing argument 1 of
'strcasecmp' differ in signedness
httpd.c:227: warning: pointer targets in passing argument 1 of
'strcasecmp' differ in signedness
httpd.c:255:1: warning: "BLOCK_SIZE" redefined
httpd.c:16:1: warning: this is the location of the previous definition
httpd.c:262: warning: pointer targets in initialization differ in
signedness
httpd.c:326: warning: pointer targets in passing argument 1 of 'atoi'
differ in signedness
httpd.c: In function 'substitute':
httpd.c:440: warning: pointer targets in passing argument 1 of
'snprintf' differ in signedness
httpd.c:440: warning: pointer targets in passing argument 3 of
'snprintf' differ in signedness
httpd.c:443: warning: pointer targets in passing argument 1 of
'snprintf' differ in signedness
httpd.c:443: warning: pointer targets in passing argument 3 of
'snprintf' differ in signedness
httpd.c:448: warning: pointer targets in passing argument 1 of
'snprintf' differ in signedness
httpd.c:449: warning: pointer targets in passing argument 1 of
'snprintf' differ in signedness
Compiling: ip.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o
In file included from main.h:57,
from ip.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: icmp.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o
In file included from main.h:57,
from icmp.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
Compiling: interrupt4.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c
-o interrupt4.o
In file included from main.h:57,
from interrupt4.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
interrupt4.c: In function 'get':
interrupt4.c:87: warning: pointer targets in passing argument 2 of
'ARP_Reply' differ in signedness
interrupt4.c:109: warning: pointer targets in passing argument 2 of
'ntpc' differ in signedness
interrupt4.c:119: warning: pointer targets in passing argument 2 of
'httpd' differ in signedness
interrupt4.c:123: warning: pointer targets in passing argument 2 of
'smtp' differ in signedness
interrupt4.c:126: warning: pointer targets in passing argument 2 of
'auth' differ in signedness
interrupt4.c:139: warning: pointer targets in passing argument 2 of
'ftpc' differ in signedness
interrupt4.c:144: warning: pointer targets in passing argument 2 of
'ftp_store' differ in signedness
Compiling: clock.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o
In file included from main.h:57,
from clock.c:8:
c:/winavr-20070525/bin/../avr/include/util/delay.h:89:3: warning:
#warning "Compiler optimizations disabled; functions from <util/delay.h>
won't work as designed"
clock.c: In function '__vector_9':
clock.c:22: warning: unused variable 't2'
clock.c: In function 'Start_Clock':
clock.c:53: error: 'TIMSK1' undeclared (first use in this function)
clock.c:53: error: (Each undeclared identifier is reported only once
clock.c:53: error: for each function it appears in.)
make.exe: *** [clock.o] Error 1
> Process Exit Code: 2> Time Taken: 00:05
a) Wo sind da viele Fehler ? Ich sehe nur einen.
b) Kann es sein, dass die Software für einen mega48 ist und du diese auf
einem mega32 laufen lassen willst ?
Wahrscheinlich laufen hier jetzt alle Posts
quer durcheinander !
Ich versuch mal aufzuräumen:
>WebServer von H.Buss zusammen gebaut.
Ist für ATMega32
>SourceCodeCPP_V1.40_IB
Ist für ATMega644
Das größte Problem ist das er AVR-GCC 4.1.2 benutzt.
Die Sources sind aber für AVR-GCC 3.4.x.
Also bitte alle der Reihe nach ;)
Erster Vorschlag: AVR-GCC 4.1.2 deinstallieren
und den letzten AVR-GCC von 2006 installieren.
Das geht am schnellsten.
Die Warnings zu beseitigen wird etwas mehr Arbeit.
>SourceCodeCPP_V1.40_IB
Erstmal vergessen.
>WebServer von H.Buss zusammen gebaut.
Hiermit weitermachen.
Das wird ne lange Nacht ;)
Ja das habe ich jetzt gemacht !
Als Testfile nutze ich jetzt mal folgendes
Beitrag "Webserver zur Temperaturmessung"
das ist für den mega32 und das original HEX File funktioniert auch
nur wenn ich makefile "Make All" ausführe kommen folgendes:
-------- begin --------
avr-gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Compiling: main.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o
In file included from main.h:17,
from main.c:29:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from main.c:29:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from main.c:29:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
main.c: In function `main':
main.c:82: warning: implicit declaration of function
`enable_external_int'
Compiling: rtl8019.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o
rtl8019.o
In file included from main.h:17,
from rtl8019.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from rtl8019.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from rtl8019.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: arp.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o
In file included from main.h:17,
from arp.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from arp.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from arp.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: checksum.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o
checksum.o
In file included from main.h:17,
from checksum.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from checksum.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from checksum.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: ftpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o
In file included from main.h:17,
from ftpd.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from ftpd.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from ftpd.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: httpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o
In file included from main.h:17,
from httpd.c:10:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from httpd.c:10:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from httpd.c:10:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: ip.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o
In file included from main.h:17,
from ip.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from ip.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from ip.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: icmp.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o
In file included from main.h:17,
from icmp.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from icmp.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from icmp.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: interrupt4.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c
-o interrupt4.o
In file included from main.h:17,
from interrupt4.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from interrupt4.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from interrupt4.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: clock.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o
In file included from main.h:17,
from clock.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from clock.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from clock.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
clock.c: In function `Start_Clock':
clock.c:42: warning: implicit declaration of function `timer_enable_int'
Compiling: uart.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o
In file included from main.h:17,
from uart.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
In file included from main.h:23,
from uart.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from uart.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
uart.c: In function `UART_Init':
uart.c:29: warning: passing arg 1 of `fdevopen' from incompatible
pointer type
uart.c:29: error: too many arguments to function `fdevopen'
make.exe: *** [uart.o] Error 1
> Process Exit Code: 2> Time Taken: 00:04
Wirklich problematisch sind 'ISR' und fdevopen.
Um die meisten Warnings zu entsorgen mach mal folgendes:
Ändere in main.h das #include <avr/signal.h>
durch #include <avr/interrupt.h>.
D interrupt.h wurd schon aufgerufen
Siehe hier
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/interrupt.h>
//#include <avr/signal.h>
#include <avr/eeprom.h>
habe // vor das signal.h gemacht , das sollte ja reichen ?
Doch nun kommt das :-(
kann doch nicht sein das das jemand programmiert und ich es dann nicht
compilieren kann ?! oder ??
---
-------- begin --------
avr-gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Compiling: main.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o
In file included from main.h:23,
from main.c:29:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from main.c:29:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
main.c: In function `main':
main.c:82: warning: implicit declaration of function
`enable_external_int'
Compiling: rtl8019.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o
rtl8019.o
In file included from main.h:23,
from rtl8019.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from rtl8019.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: arp.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o
In file included from main.h:23,
from arp.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from arp.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: checksum.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o
checksum.o
In file included from main.h:23,
from checksum.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from checksum.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: ftpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o
In file included from main.h:23,
from ftpd.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from ftpd.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: httpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o
In file included from main.h:23,
from httpd.c:10:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from httpd.c:10:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: ip.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o
In file included from main.h:23,
from ip.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from ip.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: icmp.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o
In file included from main.h:23,
from icmp.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from icmp.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: interrupt4.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c
-o interrupt4.o
In file included from main.h:23,
from interrupt4.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from interrupt4.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
Compiling: clock.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o
In file included from main.h:23,
from clock.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from clock.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
clock.c: In function `Start_Clock':
clock.c:42: warning: implicit declaration of function `timer_enable_int'
Compiling: uart.c
avr-gcc -c -mmcu=atmega32 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o
In file included from main.h:23,
from uart.c:8:
rtl8019.h:86:1: warning: "ISR" redefined
In file included from main.h:16,
from uart.c:8:
C:/WinAVR/avr/include/avr/interrupt.h:96:1: warning: this is the
location of the previous definition
uart.c: In function `UART_Init':
uart.c:29: warning: passing arg 1 of `fdevopen' from incompatible
pointer type
uart.c:29: error: too many arguments to function `fdevopen'
make.exe: *** [uart.o] Error 1
> Process Exit Code: 2> Time Taken: 00:03
Hab mir gerade mal die letzten Sources runtergeladen.
>SourceCodeCPP_V1.40_IB
Nimm das jetzt doch :( Sorry.
Da ist die letzte Änderung
schon drin. Dann ändere im makefile:
#MCU = atmega32
MCU = atmega644
auf
MCU = atmega32
#MCU = atmega644
Dann ist 1.40 zu groß für den ATMega32.
Also leider zurück auf 1.39.
Ändere dort in rtl8019.h Zeile 84 ISR in RTL_ISR.
In rtl8019.c
in Zeile 153 ISR in RTL_ISR
in Zeile 185 ISR in RTL_ISR
in Zeile 220 ISR in RTL_ISR
in Zeile 306 ISR in RTL_ISR
Mal sehen was dann noch an Warnings kommt.
Hy
änderungen durchgeführt
folgendes ergebniss
-------- begin --------
avr-gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Compiling: main.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o
In file included from main.h:17,
from main.c:29:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: 3c5x9.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=3c5x9.lst -std=gnu99 3c5x9.c -o 3c5x9.o
In file included from main.h:17,
from 3c5x9.c:49:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
3c5x9.c:730:7: warning: no newline at end of file
Compiling: rtl8019.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=rtl8019.lst -std=gnu99 rtl8019.c -o
rtl8019.o
In file included from main.h:17,
from rtl8019.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
rtl8019.c:309:7: warning: no newline at end of file
Compiling: analog.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=analog.lst -std=gnu99 analog.c -o
analog.o
In file included from main.h:17,
from analog.c:1:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: arp.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=arp.lst -std=gnu99 arp.c -o arp.o
In file included from main.h:17,
from arp.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: checksum.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=checksum.lst -std=gnu99 checksum.c -o
checksum.o
In file included from main.h:17,
from checksum.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: ftpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ftpd.lst -std=gnu99 ftpd.c -o ftpd.o
In file included from main.h:17,
from ftpd.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: httpd.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=httpd.lst -std=gnu99 httpd.c -o httpd.o
In file included from main.h:17,
from httpd.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
httpd.c: In function `httpd':
httpd.c:176: warning: label `endmakepacket' defined but not used
Compiling: ip.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=ip.lst -std=gnu99 ip.c -o ip.o
In file included from main.h:17,
from ip.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: icmp.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=icmp.lst -std=gnu99 icmp.c -o icmp.o
In file included from main.h:17,
from icmp.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: interrupt4.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=interrupt4.lst -std=gnu99 interrupt4.c
-o interrupt4.o
In file included from main.h:17,
from interrupt4.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
Compiling: clock.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=clock.lst -std=gnu99 clock.c -o clock.o
In file included from main.h:17,
from clock.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
clock.c: In function `Start_Clock':
clock.c:48: warning: implicit declaration of function `timer_enable_int'
Compiling: uart.c
avr-gcc -c -mmcu=atmega32 -I. -g -O0 -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=uart.lst -std=gnu99 uart.c -o uart.o
In file included from main.h:17,
from uart.c:8:
C:/WinAVR/avr/include/avr/signal.h:36:2: warning: #warning "This header
file is obsolete. Use <avr/interrupt.h>."
uart.c: In function `UART_Init':
uart.c:36: warning: passing arg 1 of `fdevopen' from incompatible
pointer type
uart.c:36: error: too many arguments to function `fdevopen'
make.exe: *** [uart.o] Error 1
> Process Exit Code: 2> Time Taken: 00:04
Ändere in main.h das #include <avr/signal.h>
durch #include <avr/interrupt.h>.
Das musst du schon noch machen.
In Interrupt4.c
in Zeile 24 ISR in RTL_ISR
in Zeile 30 ISR in RTL_ISR
in Zeile 48 ISR in RTL_ISR
Die Angabe einer E-Mail-Adresse ist freiwillig. Wenn Sie automatisch per E-Mail über Antworten auf Ihren Beitrag informiert werden möchten, melden Sie sich bitte an.
Wichtige Regeln - erst lesen, dann posten!
Groß- und Kleinschreibung verwenden
Längeren Sourcecode nicht im Text einfügen, sondern als Dateianhang