EmbDev.net

Forum: ARM programming with GCC/GNU tools Strange error compiling makingthings.com firmware Heavy in Eclipse?


Author: Christian Islev-andresen (christian_ia)
Posted on:

Rate this post
0 useful
not useful
Hello all.

I just reinstalled my pc and of course I wanted to work with MAKE board.

I followed the How-To and installed the newest versions of YAGARTO, 
YAGARTO tools and Eclipse.

After some fiddling I got Eclipse to compile a new project based on the 
newest heavy firmware.

But it can't compile everything, when it starts on all the files in 
"../../core/.." it stops with at strange error:
--------
Description Resource Path Location Type
make: *** [../../core/freertos/tasks.o] Error 1 hc  line 0 C/C++ Problem
missing expression -- `swi' hc  line 1082, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 1400, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 1696, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 1724, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 1809, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 1980, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 885, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 936, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
missing expression -- `swi' hc  line 994, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
--------
Full screenshot:

http://www.424.dk/build.jpg

The versions I use is:

YAGARTO:
binutils: 2.20
gcc:      4.4.2
newlib:   1.18.0
gdb:      7.0.1

Eclipse:
http://www.424.dk/eclipse.jpg

The makefile I use is this:

http://www.424.dk/Makefile

Anyone who got a solution ?

--

regards

Christian

Author: Giovanni Di sirio (gdisirio)
Posted on:

Rate this post
0 useful
not useful
Hello,

I read somewhere that in binutils 2.20 the swi instruction now requires 
a mandatory parameter, you need to edit the source and add the parameter 
(try adding 0 as parameter: swi 0).

Giovanni
---
ChibiOS/RT http://chibios.sourceforge.net

Author: Christian Islev-andresen (christian_ia)
Posted on:

Rate this post
0 useful
not useful
thank you very much, I will try that and report back.
Somebody else told me that there was a bug in the newest YAGARTO inst. 
so I will try the previous but after that I will try the newest again 
with your adwise.

Christian

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.