Ich versuche einen Bootlader fuer einen ATMEGA 644P zu kompilieren un erhalte 
folgene Fehlermeldung:


...
...
avr-gcc -mmcu=atmega644p -Wl,--gc-sections,--relax -Wl,--section-
start=.text=0xE000 -o ethersex ethersex.o core/eeprom.o core/util/fixedpoint.o 
core/util/string_parsing.o network.o core/periodic.o core/spi.o core/vfs/vfs.o 
core/vfs/vfs-util.o core/vfs/vfs_inline.o hardware/adc/temp2text.o 
hardware/avr/dump_ecmd.o hardware/avr/fuse_ecmd.o hardware/avr/hostname_ecmd.o 
hardware/avr/reset_ecmd.o hardware/ethernet/ethernet_config.o 
hardware/ethernet/enc28j60.o hardware/ethernet/enc28j60_process.o 
hardware/ethernet/enc28j60_transmit.o hardware/onewire/onewire.o 
protocols/uip/uip.o protocols/uip/uip_multi.o protocols/uip/uip_router.o 
protocols/uip/parse.o protocols/uip/uip_arp.o protocols/uip/check_cache.o 
protocols/ecmd/parser.o protocols/ecmd/via_tcp/ecmd_net.o 
services/httpd/handle_400.o services/httpd/handle_401.o 
services/httpd/handle_404.o services/httpd/headers.o services/httpd/httpd.o 
services/httpd/base64_mit.o services/httpd/handle_vfs.o 
services/httpd/handle_ecmd.o services/tftp/tftp_net.o services/tftp/tftp-
bootload.o services/tftp/tftp-vfs.o core/portio/ecmd_simple.o 
hardware/adc/adc.o hardware/ethernet/ethernet_ecmd.o hardware/onewire/ecmd.o 
protocols/uip/ecmd.o meta.o  -lm -lc # Pixie Dust!!! (Bug in avr-binutils)
services/tftp/tftp-vfs.o: In function `tftp_handle_packet':
/home/mschz/elektronik/avr/ethersex/git_ethersex/ethersex/services/tftp/tftp-
vfs.c:44: multiple definition of `tftp_handle_packet'
services/tftp/tftp-
bootload.o:/home/mschz/elektronik/avr/ethersex/git_ethersex/ethersex/services/tftp/tftp-
bootload.c:110: first defined here
/usr/lib/gcc/avr/4.3.5/../../../avr/bin/ld: Disabling relaxation: it will not 
work with multiple definitions
make: *** [ethersex] Error 1

Hat jemand eine Idee?

Matth

_______________________________________________
Ethersex-devel mailing list
Ethersex-devel@list.zerties.org
https://list.zerties.org/cgi-bin/mailman/listinfo/ethersex-devel

Antwort per Email an