Hi Guys,
I am using twr - k70f120m board and mqx_4.1 version. I opened the snmp example in rtcs and compiled. At first it gave tow errors stating that the RTCSCFG_ENABLE_SNMP and MQX_HAS_TIME_SLICE were not defined so define it in bsp and recompile it. I enabled it in the bsp and compiled the bsp. Now if I again compile the snmp it is showing 19 errors like
.\Int Flash SramData Debug\snmp.axf: Error: L6218E: Undefined symbol MIBNODE_enterprises (referred from snmp_demo.o)
I am attaching the screenshot of the error. Please help.
Thanks,
Vibhu S.
Solved! Go to Solution.
Hi Vibhu:
Please be aware that MQX 4.1 was compiled and tested with
ARM-MDK - Keil μVision version 5.10
• Support available for Kinetis devices
• See build projects in the uv4 subdirectories
• Makefile build option: TOOL=uv4
I verified this demo with CodeWarrior (I don't have Keil installed) on my side, I have the same issue as yours.
After I enable RTCSCFG_ENABLE_SNMP and MQX_HAS_TIME_SLICE, and clean all libraries, and rebuild BSP/PSP/RTCS, and I can build this project successfully.
Regards
Daniel
Hi Vibhu:
Please be aware that MQX 4.1 was compiled and tested with
ARM-MDK - Keil μVision version 5.10
• Support available for Kinetis devices
• See build projects in the uv4 subdirectories
• Makefile build option: TOOL=uv4
I verified this demo with CodeWarrior (I don't have Keil installed) on my side, I have the same issue as yours.
After I enable RTCSCFG_ENABLE_SNMP and MQX_HAS_TIME_SLICE, and clean all libraries, and rebuild BSP/PSP/RTCS, and I can build this project successfully.
Regards
Daniel
Hi Daniel Chen,
Thank you for your suggestion.
I tried rebuilding the libraries.
Yes, I am able to get it working after rebuilding the libraries as you suggested.
Thank You very much.
BTW, How do I test the snmp example ?
If I run the example, I get something like this,
Is there any file or link explaining how to test snmp ?
Regards,
Vibhu.
Hi Vibhu:
You can check the readme file, Freescale_MQX_4_1\rtcs\examples\snmp\_README.pdf
Regards
Daniel
Hi Daniel,
Thank You.
Apparently, I don't have that readme file in that folder. If you can attach the readme file here, it would be helpful.
Regards,
Vibhu.