In LS1046A Evaluation Board I am using Ubuntu 18.04 ISO bootable image, once device is up, I am going to send gcc-linaro cross compiled desktop version successfully to specified target location.
i.e iam able to cross compile in Desktop machine using gcc-linaro using "./configure --prefix=/snmp/ --host=arm" command, then followed by make and make install, then target snmp folder as compressed to snmp.tar.gz.
This snmp.tar.gz i am sending to target NXPdevice (EVAL board) using scp command using Ethernet connection. target location (here location as root /) uncompressed the snmp.tar.gz file. then I will get snmp folder, now inside /sbin/snmpd iam trying to run but I am not able to run snmpd service in NXP. it is saying sh:"snmpd: command not found", it has not identify the snmpd as a service. here attachments.
Please provide your help.
Solved! Go to Solution.
Please run command "./snmpd".
Please cross compile Net-SNMP with aarch64 toolchain. The toolchain which you are using is for aarch32 platform.
You could download ARM aarch64 toolchain from the following link, then run ./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-3.0.sh to install aarch64 toolchain, then run "source /opt/fsl-qoriq/3.0/environment-setup-aarch64-fsl-linux" to deploy toolchain build environment.
https://drive.google.com/file/d/13TuXjryONyxXRJeNlKm87WICTlNYtLP4/view?usp=sharing
Please run command "./snmpd".
Please cross compile Net-SNMP with aarch64 toolchain. The toolchain which you are using is for aarch32 platform.
You could download ARM aarch64 toolchain from the following link, then run ./fsl-qoriq-glibc-x86_64-fsl-toolchain-aarch64-toolchain-3.0.sh to install aarch64 toolchain, then run "source /opt/fsl-qoriq/3.0/environment-setup-aarch64-fsl-linux" to deploy toolchain build environment.
https://drive.google.com/file/d/13TuXjryONyxXRJeNlKm87WICTlNYtLP4/view?usp=sharing