How to fix this problem:(

Discussion created by XIANGYANG LIU on Jun 13, 2008
Latest reply on Jun 13, 2008 by CrasyCat
I got the following error information when I debugged one code, but when I changed my compiler optimization setting from "Optimized for faster Execution Speed" to "Optimized for Smaller Code Size", it gives the following error msg,  and it will work with no error.

scc -g -ge -env "C:\Program Files\Freescale\CodeWarrior for StarCore 3.1\StarCore_Support\compiler"  -be  -arch sc3400 -sc -mod -Og -O3 -Xlnk "-w" -Xlnk "-n" -o "C:\Documents and Settings\victorlxy\My Documents\FreeScale Projecs\test\project.eld" "test_Data\C_for_SC_Simulator\ObjectCode\main.obj"

Link Error   : ERROR: Non-zero return status from "C:\Program Files\Freescale\CodeWarrior for StarCore 3.1\StarCore_Support\compiler\bin\icode.exe".

Tool = SCC | Error ID = 1027

Error   : "prototype_be.obj", line -1: Error: Bad call to linear solver (build_ud_linear_combi)
 - Context: <main'_main>

Tool = ICODE | Error ID = 3401

Link Error   : link exit status = 2

so anyone who knows how to deal with this problem?

thank you so much in advance....