well, here's a part of the code that causes the error:
1 temp = 0.f;
2 i__1 = contrl_1.lframe;
3 for (i__ = 1; i__ <= i__1; ++i__) {
4 inbuf[720 - contrl_1.lframe + i__ - 181] = speech[i__] *
4096.f - (*bias);
5 temp += inbuf[720 - contrl_1.lframe + i__ - 181];
6 }
7 if (temp > (real) contrl_1.lframe) {
8 *bias += 1;
9 }
10 if (temp < (real) (-contrl_1.lframe)) {
11 *bias += -1;
12 }
everything from line 4 causes relocation truncated to fit error. for line 4,
the error is relocation truncated to fit: DISP16____mulsf3. lines 5, 8 and 11
gives the error relocation truncated to fit: DISP16____addsf3. and lines 7 and
10 gives relocation truncated to fit: DISP16____floatsisf..
what is wrong with my code? is there anything i can do to fix it?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/