MQX snmp error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX snmp error

Jump to solution
1,102 Views
vibhu
Contributor III

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)

error.png

I am attaching the screenshot of the error. Please help.

Thanks,

Vibhu S.

Tags (3)
1 Solution
924 Views
danielchen
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
5 Replies
925 Views
danielchen
NXP TechSupport
NXP TechSupport

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

0 Kudos
924 Views
vibhu
Contributor III

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,

snmp.png

Is there any file or link explaining how to test snmp ?

Regards,

Vibhu.

0 Kudos
924 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Vibhu:

You can check the readme file,  Freescale_MQX_4_1\rtcs\examples\snmp\_README.pdf

Regards

Daniel

0 Kudos
924 Views
vibhu
Contributor III

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.

0 Kudos
924 Views
danielchen
NXP TechSupport
NXP TechSupport

Please find the attached readme file.

Regards

Daniel