Hi everyone,
After installing msp430-gcc I decided to get some convenient debugging tool.
So I followed the instructions from here:
http://www.google.com/url?sa=t&source=web&cd=7&ved=0CEUQFjAG&url=http%3A%2F%2Fwww.43oh.com%2Fwp-content%2Fuploads%2F2010%2F11%2FMSP430_MSPGCC_Eclipse_gdb.pdf&rct=j&q=msp430%20mspgcc%20eclipse&ei=x24MTqnzJ8iJhQft08TEDQ&usg=AFQjCNECsy6TGOpUXmcFoguE5XhynW2SWg&sig2=9QDUc2pNAU7D_X6nD0uUgA&cad=rja
Then I took one of Sergio's example projects for msp430g2231 from here:
https://github.com/sergiocampama/Launchpad/tree/master/TimerBlink
And it was compiled successfully but during the linking I got an error with
the next console output:
make all
Building file: ../blink.c
Invoking: GCC C Compiler
/usr/local/mspgcc/bin/msp430-gcc -mmcu=msp430G2231
-I/usr/local/mspgcc/include -I/usr/local/mspgcc/msp430/include
-I/usr/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"blink.d"
-MT"blink.d" -o"blink.o" "../blink.c"
Finished building: ../blink.c
Building target: led.elf
Invoking: GCC C Linker
gcc -L/usr/local/mspgcc/lib -L/usr/local/mspgcc/msp430/lib -L/usr/local/lib
-o"led.elf" ./blink.o
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
/usr/bin/ld: ./blink.o: Relocations in generic ELF (EM: 105)
./blink.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [led.elf] Error 1
I've checked all the Eclipse settings and they seem to be the same as in
manual but with my paths.
Could anyone tell me where I'm wrong?
Best regards,
Glib
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users