Eclipse problems compiling MeetAndroid library

129 views
Skip to first unread message

Desmond A. Correia

unread,
May 15, 2013, 12:44:06 AM5/15/13
to amarino...@googlegroups.com
Hello All, 

I have eclipse setup so that I can program my ardunio through it using AVRDUDE plugin. I normally write library files in eclipse and it compiles just fine. After I added the meetandroid .ccp and .h files. I keep getting a weird error something to do with libgcc.a

If i delete the meetandroid files and compile everything works out just fine so I know it something to do with those files. 

Please see the picture attached it has the error. I have no clue what this means.

Desmond A. Correia

unread,
May 15, 2013, 2:44:44 AM5/15/13
to amarino...@googlegroups.com
Here is the console output. I have been trying to fix this problem for ever. I have no clue what this is happening. I can compile all my own library files just fine but for some reason when I use meetAndroid eclipse keeps giving this weird problem.

The parts highlighted is where it's giving the error.

02:40:33 **** Incremental Build of configuration Debug for project ArdunioUno_App ****
make all 
Building file: ../main.cpp
Invoking: AVR C++ Compiler
avr-g++ -I"D:\ProgrammingRelated\Eclipse\Workspace\arduinoUno_core\src" -I"D:\ProgrammingRelated\Eclipse\Workspace\arduinoUno_core\328P_16MHz\src" -DARDUINO=104 -Wall -g2 -gstabs -Os -fno-exceptions -mmcu=atmega328p -DF_CPU=16000000UL -MMD -MP -MF"main.d" -MT"main.d" -c -o "main.o" "../main.cpp"
Finished building: ../main.cpp
 
Building target: ArdunioUno_App.elf
Invoking: AVR C++ Linker
avr-g++ -Wl,-Map,ArdunioUno_App.map,--cref -Wl,--gc-section -L"D:\ProgrammingRelated\Eclipse\Workspace\arduinoUno_core\328P_16MHz" -mmcu=atmega328p -o "ArdunioUno_App.elf"  ./main.o   -larduinoUno_core -lm; avr-nm -C -n "ArdunioUno_App.elf" >ArdunioUno_App.symbol
d:/programmingrelated/arduino/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5\libc.a(cmpsf2.o): In function `__lesf2':
(.text.fplib+0x0): multiple definition of `__ltsf2'
d:/programmingrelated/arduino/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr5\libgcc.a(_lt_sf.o):(.text+0x0): first defined here
d:/programmingrelated/arduino/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5\libc.a(cmpsf2.o): In function `__lesf2':
(.text.fplib+0x0): multiple definition of `__lesf2'
d:/programmingrelated/arduino/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr5\libgcc.a(_le_sf.o):(.text+0x0): first defined here
d:\ProgrammingRelated\Arduino\arduino-1.0.4\hardware\tools\avr\bin\avr-nm.exe: 'ArdunioUno_App.elf': No such file
make: *** [ArdunioUno_App.elf] Error 1

02:40:34 Build Finished (took 893ms)
Reply all
Reply to author
Forward
0 new messages