Hi,
ich sehe nicht ganz, wie das Problem mit dem elf-File gelöst wurde. Ich habe momentan das gleiche Problem:

Code:
#include <avr/io.h>
#include "i2cmaster.h"

#define POWER_PORTS_I2C  0x72

int main(void) {
	i2c_init();                                		// init I2C interface
	uint8_t ret;
	ret = i2c_start(POWER_PORTS_I2C + I2C_WRITE);	// set device address and write mode
	if ( ret ) {
        	i2c_stop();
	} else {
		/* issuing start condition ok, device accessible */
		char value;
		value = 1;
		while(1) {
			i2c_start_wait(POWER_PORTS_I2C + I2C_WRITE); 
			i2c_write(value);
			i2c_stop();
			value = value * 2;
			if(value > 16) {
				value = 1;
			}
		}
	}
	return 1;
}
Build -> Compile:
Code:
avr-gcc.exe -I"E:\mathias\projects\avr.projects\rnbfra_led\."  -mmcu=atmega32 -Wall -gdwarf-2   -O0 -fsigned-char -MD -MP -MT rnbfra_led.o -MF dep/rnbfra_led.o.d  -c  ../rnbfra_led.c
Build succeeded with 0 Warnings...
Build -> Build:
Code:
Loaded plugin STK500
Loaded plugin AVR GCC
Loaded partfile: C:\Programme\Atmel\AVR Tools\PartDescriptionFiles\ATmega32.xml
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Exported makefile to C:\Dokumente und Einstellungen\mathias\Desktop\Makefile
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf
GCC plug-in: Error: Object file not found on expected location E:\mathias\projects\avr.projects\rnbfra_led\default\rnbfra_led.elf

Unter "Source Files" steht rnbfra.c twimaster.c und i2cmaster.S. Unter "Header Files" nur i2cmaster.h. Ist also alles da was gebraucht wird.