folks,
I am getting this linker error while compiling my application program. Can any body tell what is the issue.
-Parak
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.
folks,
I am getting this linker error while compiling my application program. Can any body tell what is the issue.
-Parak
sorry I am using Zstack 2.5.1a and IAR 8.1.
Whether creating dynamic memory will cause this problem?. Because I using 4 to 5 dynamic memory of the structure.
Yes... I got it. The main thing is I am using the dynamic memory allocation with standard library. If I use osal_mem_alloc and osal_mem_free. The problem is solved. But any one let me know what will be reason. What is the advantage of using osal?
Hi Hetal,
Allocating memory using OSAL routines has the advantage of more efficient memory handling, that takes into account the requested memory block size (multiple memory pools are defined, and memory allocation is first tried in the smallest-block pool possible. This minimize allocation failures caused by segmentation).
It also provides means of collecting statistics regarding the actual allocations.
Regards,
OD.