error message
.\Flash\Blinky.axf: Error: L6218E: Undefined symbol EplDlluCalSetAsndServiceIdFilter (referred from epldllu.o).
error where function is called, in epldllu.c:
Ret = EplDlluCalSetAsndServiceIdFilter(ServiceId_p, Filter_p);
epldllu.c #include files
#include "EplDllu.h" #include "EplDlluCal.h"
function definition in epldllucal.c
static tEplKernel EplDlluCalSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, tEplDllAsndFilter Filter_p) { tEplKernel Ret = kEplSuccessful; tEplEvent Event; tEplDllCalAsndServiceIdFilter ServFilter; Event.m_EventSink = kEplEventSinkDllkCal; Event.m_EventType = kEplEventTypeDllkServFilter; ServFilter.m_ServiceId = ServiceId_p; ServFilter.m_Filter = Filter_p; Event.m_pArg = &ServFilter; Event.m_uiSize = sizeof (ServFilter); Ret = EplEventuPost(&Event); return Ret; }
function reference in epldllcal.h
#ifndef _EPL_DLLUCAL_H_ #define _EPL_DLLUCAL_H_ #include "EplDll.h" #include "EplEvent.h" //--------------------------------------------------------------------------- // const defines //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- // typedef //--------------------------------------------------------------------------- typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p); //--------------------------------------------------------------------------- // function prototypes //--------------------------------------------------------------------------- tEplKernel EplDlluCalAddInstance(void); tEplKernel EplDlluCalDelInstance(void); tEplKernel EplDlluCalRegAsndService(tEplDllAsndServiceId ServiceId_p, tEplDlluCbAsnd pfnDlluCbAsnd_p, tEplDllAsndFilter Filter_p); tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo, tEplDllAsyncReqPriority Priority_p); tEplKernel EplDlluCalProcess(tEplEvent * pEvent_p); tEplKernel EplDlluCalSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, tEplDllAsndFilter Filter_p); #if((EPL_MODULE_INTEGRATION & EPL_MODULE_NMT_MN) != 0) tEplKernel EplDlluCalAddNode(tEplDllNodeInfo * pNodeInfo_p); tEplKernel EplDlluCalDeleteNode(unsigned int uiNodeId_p); tEplKernel EplDlluCalSoftDeleteNode(unsigned int uiNodeId_p); tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p); #endif #endif // #ifndef _EPL_DLLUCAL_H_