raju@raju:~/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit$ export CROSS_COMPILE_64="/home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-" raju@raju:~/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit$ export SYSROOT_64="/home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/aarch64-oe-linux" raju@raju:~/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit$ export CC_64="${CROSS_COMPILE_64}gcc --sysroot=${SYSROOT_64}" raju@raju:~/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit$ ls $SYSROOT_64/usr/lib | grep z ls $SYSROOT_64/usr/include | grep zlib.h libbz2.so libbz2.so.1 libbz2.so.1.0.8 libharfbuzz-gobject.so libharfbuzz-gobject.so.0 libharfbuzz-gobject.so.0.40001.0 libharfbuzz.so libharfbuzz.so.0 libharfbuzz.so.0.40001.0 libharfbuzz-subset.so libharfbuzz-subset.so.0 libharfbuzz-subset.so.0.40001.0 liblzma.so liblzma.so.5 liblzma.so.5.2.6 liblzo2.so liblzo2.so.2 liblzo2.so.2.0.0 libz.so libzstd.so libzstd.so.1 libzstd.so.1.5.2 bzlib.h zlib.h raju@raju:~/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit$ cd /home/raju/Documents/test/ raju@raju:~/Documents/test$ export PATH=$PATH:/home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux raju@raju:~/Documents/test$ aarch64-oe-linux-gcc -lz logger_zip.c -o log In file included from /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/x86_64-arago-linux/usr/lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.4.0/include-fixed/syslimits.h:7, from /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/x86_64-arago-linux/usr/lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.4.0/include-fixed/limits.h:34, from /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/aarch64-oe-linux/usr/include/zconf.h:418, from /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/aarch64-oe-linux/usr/include/zlib.h:34, from logger_zip.c:5: /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/x86_64-arago-linux/usr/lib/aarch64-oe-linux/gcc/aarch64-oe-linux/11.4.0/include-fixed/limits.h:203:75: error: no include path in which to search for limits.h 203 | #include_next /* recurse down to the real one */ | ^ In file included from /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/aarch64-oe-linux/usr/include/zlib.h:34, from logger_zip.c:5: /home/raju/TI_SDK/J722s/ti-processor-sdk-linux-adas-j722s-evm-09_02_00_05/linux-devkit/sysroots/aarch64-oe-linux/usr/include/zconf.h:444:14: fatal error: sys/types.h: No such file or directory 444 | # include /* for off_t */ | ^~~~~~~~~~~~~ compilation terminated.