EmbDev.net

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


von Christian I. (christian_ia)


Rate this post
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:
1
--------
2
Description Resource Path Location Type
3
make: *** [../../core/freertos/tasks.o] Error 1 hc  line 0 C/C++ Problem
4
missing expression -- `swi' hc  line 1082, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
5
missing expression -- `swi' hc  line 1400, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
6
missing expression -- `swi' hc  line 1696, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
7
missing expression -- `swi' hc  line 1724, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
8
missing expression -- `swi' hc  line 1809, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
9
missing expression -- `swi' hc  line 1980, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
10
missing expression -- `swi' hc  line 885, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
11
missing expression -- `swi' hc  line 936, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
12
missing expression -- `swi' hc  line 994, external location: C:\DOCUME~1\ADMINI~1\LOKALE~1\Temp\ccQnj63B.s C/C++ Problem
13
--------
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

von Giovanni D. (gdisirio)


Rate this post
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

von Christian I. (christian_ia)


Rate this post
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.