Topic : multiple definitions from linker

Forum : ARM

Original Post
Post Information Post
January 26, 2009 - 6:51pm
Guest

I am using Ride& IDE version 7.14.0001 and attempting to build a project for STR710FZ2.
This is a project that was previously compiled and linked successfully using IDE 06.10.22.

All the code compiles ok but the link fails. There are "multiple definition"s of a lot of things. I think I have paths setup correctly. I'm not sure what items in the build log are errors and what items are warnings. Is "multiple definition" a warning or error? Can this be masked, with what directive?
Thanks,
John H.

Replies
Post Information Post
+1
0
-1
January 26, 2009 - 9:04pm
Guest

I found the reason for "multiple definition", I had .o files in the Project window. Now I need to figure out why it can't find smallprintf.a.

+1
0
-1
January 26, 2009 - 9:36pm
Guest

I figured out "Include Directories" is not the same as "Library Directories". A path to smallprintf.a must be added to Library Directories.

+1
0
-1
February 2, 2009 - 4:04pm
Guest

Now I get RAM memory overflow. RIDE version 6 works fine. I think I will go back to that.

+1
0
-1
February 5, 2009 - 9:44am
Guest

Hi

From Ride6 to Ride7 several points has been evoluate.
For instance GCC toolchain and ST library.
For that reason projects from Ride6 might not build immediately without modification.

Here is what I can suggest:
Try to make these tests in a computer that does not have Ride6 (ARM) installed.
All object file you use need by recompiled.
Install last version of Rideè ands RKit-ARM avaible on the website.
This version has improved scripts to translate ride6 projects to Ride7 projects.

Then if your project does not link post the error message.

regards,
Matloub

+1
0
-1
June 7, 2009 - 8:39am
Guest

hello

i also have this problem.

i have application done in ride6 (not by me) and now i want to run it on ride7.
ride 7 import prj file but still i have a few problems.

i have only a ride 7 becouse this ride was availabe on CD with my Rlink and now is only this version on raisonance website.

i don't know where to find ride6 to test application for STR7x

Thanks !
r.

+1
0
-1
June 12, 2009 - 12:15pm
Guest

Hi

I have put this file on ftp so you can test with this version
ftp://raisonance.com/pub/ARM/ride6/EVAL.zip

Regards,
Matloub