This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

compile problem



Hi,

I met a strange problem in ccs,after I compile the program, it says:

>>   error: can't allocate .cinit, size 0000018e (page 0) in PRAMH0 (avail:
            000000c6)
>>   error: can't allocate IQmath, size 0000011f (page 0) in PRAMH0 (avail:
            000000c6)
>>   error: errors in input - ./Debug/VectorControl.out not built

>> Compilation failure

what does this mean?How to correct it?

Thanks!

  • Hi,

    Which processor are you using?

    Also post your cmd file here.

    Regards,

    Sid

  • The error, in general, means that the linker was unable to allocate those sections into PRAMH0 because the section size is greater than the available memory in that region. You would need to modify your linker command file to either allocate the .cinit and IQMath sections to some other memory region, or move some other sections around and leave these in PRAMH0.