Topic : "build failed" *still* is not a useful response...

Forum : Ride IDE

Original Post
Post Information Post
May 6, 2008 - 7:39pm
Guest

Building C:\download\odu\ODU\main.c
Running : GCC
\"C:\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STR912FW44_ -D_STR9x_ -D_STR91x_ -mcpu=arm966e-s "C:\download\odu\ODU\main.c" -o "C:\download\odu\ODU\main.o" -I "C:\download\odu\ODU" -I "C:\download\odu\ODU\include" -I "C:\Ride\Lib\ARM\include" -c -fsigned-char -g -O2 -fno-inline -ffunction-sections -Wall -mlittle-endian
C:\download\odu\ODU\main.c: In function 'pa_list':
C:\download\odu\ODU\main.c:8489: warning: suggest parentheses around && within ||
C:\download\odu\ODU\main.c: In function 'ieh_record_decoder':
C:\download\odu\ODU\main.c:15292: warning: suggest parentheses around + or - inside shift

Build failed

//*******************************************************************
Why did build fail, with just a couple of warnings???

Target processor is STR912FW44, build system is WinXP MCE, SP2

Replies
Post Information Post
+1
0
-1
July 30, 2008 - 5:21pm
Guest

I had similar problem trying to compile large .c files. There were no warnings, however. Haven't found the solution for now but workaround was to split files into smaller parts. Hope it will help.

+1
0
-1
July 30, 2008 - 6:28pm
Guest

Hi Atom

Thank you for giving this workaround.
You might noted that the answer to this post were posted here:
http://www.raisonance.com/Forum/punbb/viewtopic.php?id=2493

Even if some customers found a workaround it would be really intersting for us to be able to reproduce this problem.
If you can please send to a project which shows this problem so we can try to understand it.

Best regards,
Matloub

+1
0
-1
July 31, 2008 - 10:16am
Guest

Unfortunately I can't send the project to you due to commercial reason. But I could try to describe the details to make you able to reproduce the problem on your side. So first time I noted the problem was after FWLib.2.0.1 release. What I used before was FWLib.1.0. In process of migration (according to AN2776 "How to migrate ... from FWLib V1.0 to FWLib V2.0") I noted that there is no xxxx_tim1 and xxxx_tim already just xxxx_tim (all toghether) which is is elegant but huge. I got this kind of "Build Failed" with no reason. I have removed some not used code from xxxx_tim and got it built. Sometimes (can't understand when) I got positive result setting "Code Size Optimizaton". MCU I use is STM32F103RBT6. I need to add that I had no warnings having that problem.

+1
0
-1
July 31, 2008 - 10:24am
Guest

matloub wrote:
Hi Atom
You might noted that the answer to this post were posted here:
http://www.raisonance.com/Forum/punbb/viewtopic.php?id=2493
Matloub

Sorry, can't see the solution here:
http://www.raisonance.com/Forum/punbb/viewtopic.php?pid=8591#p8591

Having no debug info doesn't do the job (I need to debug somehow).

+1
0
-1
August 1, 2008 - 10:17am
Guest

Hi Atom

Actually if I suggested you to see this post, it was more for you to answer direcly there and not because there was a solution there.
Sorry for the confusion.

But from what you said now about your problem it might not the same problem as the first post.
As you said the first you have this problem was after updating STM32 library I would like to know if you tried the last release of Rode7 and RKit-ARM.
It uses the new library from ST so you might have this problem anymore.

Best regards,
Matloub

+1
0
-1
August 1, 2008 - 2:48pm
Guest

matloub wrote:
Actually if I suggested you to see this post, it was more for you to answer direcly there and not because there was a solution there.
Sorry for the confusion.

From my side sorry as well - I might get that :)

The mentioned problem took place on Ride7 v.7.02.0001. I believe I use the recent one. Correct me if I am wrong.
FWLib version I use is 2.0.1.

+1
0
-1
August 5, 2008 - 6:45pm
Guest

Hi

The last version is Ride7 version 7.10.0000 and RKit-ARM version 1.10.0000
You can download it from this webpage and also find that the release note there:
http://www.raisonance.com/download/index.php

These version includes the STM32 library v2.0.1 from STMicroelectronics files and has been compiled using this library.

Best regards,
Matloub

+1
0
-1
August 18, 2008 - 11:08am
Guest

Hello. Thanks and sorry. I had to check first before posting that I use the recent one :)