Ld error: - ccalloc would have returned NULL
What is the reason for this err?
It looks to me that the linker (ld) is running into a problem while trying to get memory allocated.
Does it happen to you for other projects too? I think your linker file must use something special or must be very big somehow?
I'm affraid that you would have to try to reduce/change the linker file to find out what is causing this.
On a side note: it would be useful to know the Version of CodeWarrior and target used. You might exchange the toolchain/linker to see if this has a positive effect, but tinkering with the tool chain would need expert knowledge.
I hope this helps,
Erich
The reason is now confirmed that the RAM of my codes is over 60k.But I have another question about RAM_L and RAM_U.
I just solve this problem temporarily, I correct the value of the stack size , heap size and and M_VECTOR_RAM_SIZE .
It does work! This correction method is approved useful!
But I do not know the real reason.
Once this err happened one time,other projects had the same problem.