Posted on: 2010-01-15 11:58
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
Posted on: 2010-01-17 09:12
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
Posted on: 2010-01-17 10:46
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