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.

rdk3.5 migration

Hi,

I migrate my rdk3.0 to rdk3.5, but I meet an compiler error that is undefined reference to 'Rpe_messageqHeapId', this variable was used at System_ipc_msgq.c.

I search the variable is defined under ti_tool/rpe, how do I resolve this issue?

Thanks,

Jacson

  • You need to link in RPE library into your executable.Below is sample modification to makefile  to link in rpe lib

    /dvr_rdk/dvrapp/ti816x/app/src/MAKEFILE.MK

    -INCLUDE+= $(LINUXDEVKIT_INC) $(MCFW_INC) $(OSA_INC) $(DEVICES_INC)
    -INCLUDE+-I$(KERNELDIR)/usr/include
    +INCLUDE+= $(LINUXDEVKIT_INC) $(MCFW_INC) $(OSA_INC) $(DEVICES_INC)
    +INCLUDE+$(RPE_INC) -I$(KERNELDIR)/usr/include
     
    -LIBS= $(LIB_DIR)/dvr_rdk_app.a $(LIB_DIR)/dvr_disk.a $(LIB_DIR)/libnsDVR_AVI.a $(LIB_DIR)/libnsDVR_disk.a $(LIB_DIR)/libnsDVR_util.a $(MCFW_LIBS) $(AUDIO_LIBS)
    +LIBS= $(LIB_DIR)/dvr_rdk_app.a $(LIB_DIR)/dvr_disk.a
    +$(LIB_DIR)/libnsDVR_AVI.a $(LIB_DIR)/libnsDVR_disk.a
    +$(LIB_DIR)/libnsDVR_util.a $(MCFW_LIBS) $(AUDIO_LIBS) $(RPE_LIBS)

     

  • Hi Badri Narayanan,

    Thank you!

    Jacson