Tool/software:
Hello TI,
I'm working on an application on J722s2(Linux), which requires zlib library for compression, de-compression etc. Im getting build error, the log isshown below.
/home/raju/ti/arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/11.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /home/raju/TI_SDK/J722s/ti-processor-sdk-rtos-j722s-evm-09_02_00_05/vision_apps/out/J722S/A53/LINUX/release/module/apps.dl_demos.klemove_app_tidl_od_cam/logger/logger_zip.o: in function `LoggerZip_Compress':
logger_zip.c:(.text+0x20): undefined reference to `compress'
collect2: error: ld returned 1 exit status
Note:
1)I have zlib library libz.a at /usr/lib/x86_64-linux-gnu/ and zlib.h at /usr/include/
2)I have included above paths in my app concerto file and zlib.h file in my app.c file
3)I didn't get any issue, when the module is built for J721E (Linux) and J721s2( QNX).
Kindly guide me regarding this.
Thanks,
Seetharama Raju.