Hi Team,
I am using ls1043ardb, I want to compile my application program. I am following LSDKYOCTOUG.pdf , I want to know the lib path in the build_ls1043ardb folder. In my Makefile I want to mention the lib path
Please let me know
I have found the path at build_ls1043ardb/tmp/work/ls1043ardb-fsl-linux/fsl-image-mfgtool/1.0-r0/recipe-sysroot/usr/lib
is this correct path? if No, Please tell me the correct path
if I am using this path, while cross-compiling I am getting library linking error.
It is searching the libraries in /usr/lib path.
Or I am using wrong toolchain for cross-compiling
if the toolchain problem is there please tell me which toolchain I should use
Please help me in solving the issue
Following are the errors
/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: cannot find /usr/lib/libc.so.6
/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: cannot find /usr/lib/libc_nonshared.a
/opt/fsl-qoriq/3.1/sysroots/x86_64-fslsdk-linux/usr/libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/9.3.0/real-ld: cannot find /usr/lib/ld-linux-aarch64.so.1
I am using net-snmp in my application code