> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Steve Franks > Sent: Wednesday, June 11, 2008 11:22 PM > To: avr-chat@nongnu.org > Subject: [avr-chat] upgrade to 20080610 causes multiple > definitions of__ltsf2 > > Is this a known issue? Do I need to beat on my makefile? I'll be > trying an mfile generated one shortly... >
Hi Steve, I haven't seen this issue before. Here's a list that I keep of all known bugs for the AVR toolchain: <http://www.nongnu.org/avr-libc/bugs.html> > > avr-g++ -IC:/WinAVR/avr/include -I../include -Ic:/projects/include -g > -Wall -Wno-packed -Wno-padded -Os -mmcu=atmega128 -DF_CPU=16000000UL > -c -o ScaleStream.o ScaleStream.cpp > avr-g++ -IC:/WinAVR/avr/include -I../include -Ic:/projects/include -g > -Wall -Wno-packed -Wno-padded -Os -mmcu=atmega128 -DF_CPU=16000000UL > -c -o ADS1258Stream.o ADS1258Stream.cpp > linking DpcMain.o -IC:/WinAVR/avr/include -I../include > -Ic:/projects/include -g -std=gnu99 -Wall -Os -mmcu=atmega128 > -DF_CPU=16000000UL -Wl,-Map=DpcMain.map,--cref -lm -u vfprintf -u > vfscanf -lprintf_flt -lscanf_flt (newer files: DpcMain.o DpcGlobals.o > DpcSystem.o CmdTable.o CmdHandlers.o) > avr-gcc -IC:/WinAVR/avr/include -I../include -Ic:/projects/include -g > -std=gnu99 -Wall -Os -mmcu=atmega128 -DF_CPU=16000000UL > -Wl,-Map=DpcMain.map,--cref -lm -u vfprintf -u vfscanf -lprintf_flt > -lscanf_flt -o DpcMain.elf DpcMain.o DpcGlobals.o DpcSystem.o > CmdTable.o CmdHandlers.o CmdSystem.o DpcStream.o LimitStream.o > ScaleStream.o ADS1258Stream.o > c:/winavr/bin/../lib/gcc/avr/4.3.0/../../../../avr/lib/avr51\l > ibc.a(cmpsf2.o): > In function `__lesf2': > (.text.fplib+0x0): multiple definition of `__ltsf2' > c:/winavr/bin/../lib/gcc/avr/4.3.0/avr51\libgcc.a(_lt_sf.o):(. > text+0x0): > first defined here > gmake: *** [DpcMain.elf] Error 1 > >Exit code: 2 I will note that, in general, you shouldn't call avr-g++ directly, but instead call avr-gcc and it will correctly call the C++ compiler, usually based on the extension of the file name. There have been issues with calling avr-g++ directly. Also, what are you upgrading from? WinAVR 20071221? _______________________________________________ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat