F:\AtecData\avr\datalogger>make avr-gcc -c -g -Os -Wall -Wstrict-prototypes -IC:\winavr\avrlib -Wa,-ahlms=datalo gger.lst -mmcu=atmega8 -I. datalogger.c -o datalogger.o datalogger.c:105: warning: function declaration isn't a prototype datalogger.c:149: warning: function declaration isn't a prototype datalogger.c: In function `windDirection': datalogger.c:154: error: request for member `state' in something not a structure or union datalogger.c:154: warning: implicit declaration of function `ISHIGH' datalogger.c:155: error: request for member `state' in something not a structure or union datalogger.c:156: error: request for member `state' in something not a structure or union datalogger.c:157: error: request for member `state' in something not a structure or union datalogger.c:158: error: request for member `state' in something not a structure or union datalogger.c:159: error: request for member `state' in something not a structure or union datalogger.c:160: error: request for member `state' in something not a structure or union datalogger.c:161: error: request for member `state' in something not a structure or union datalogger.c:164: error: invalid operands to binary == datalogger.c:171: error: parse error before '}' token make: *** [datalogger.o] Error 1