Hello,
it seems that libreadline-dev is not installing any pkg-config file, so its path is not detected.
Can you locate where readline.h and libreadline*.so* files are installed on your system? We can add the paths to the makefile of the kamcmd.
Cheers, Daniel
On 19.03.20 04:15, subhra giri wrote:
Dear Daniel I applied the latest Makefile that you have shared. Still i am getting following error.
install -m 755 ss7ops.so /usr/local/lib64/kamailio/modules LD (/home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/mips64-octeon-linux-gnu-gcc) [U kamcmd] kamcmd /home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/../lib/gcc/mips64-octeon-linux-gnu/4.7.0/../../../../mips64-octeon-linux-gnu/bin/ld: cannot find -lreadline /home/subhra/SDK3.1.2/tools-3.1.2_build_50/bin/../lib/gcc/mips64-octeon-linux-gnu/4.7.0/../../../../mips64-octeon-linux-gnu/bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status ../../src//Makefile.rules:191: recipe for target 'kamcmd' failed make[3]: *** [kamcmd] Error 1 ERROR: make --no-print-directory -C ../../../utils/kamcmd install-if-newer failed ../../Makefile.modules:138: recipe for target 'install-utils' failed make[2]: *** [install-utils] Error 1 Makefile:511: recipe for target 'install-modules' failed make[1]: *** [install-modules] Error 1 make[1]: Leaving directory '/home/subhra/Downloads/kamailio-5.3.3/src' Makefile:43: recipe for target 'install' failed make: *** [install] Error 2 -------------------------------------------------