That’s the wrong path because is the host’s path. You need to install readline for the target and provide that path to the Makefile.

-ovidiu

On Thu, Mar 19, 2020 at 11:05 subhra giri <subhraprakash79@gmail.com> wrote:
Hi Daniel
readline.h is located at 
/usr/include/readline/readline.h

And libreadline*.so* are present at 

/lib/x86_64-linux-gnu/libreadline.so.7
/lib/x86_64-linux-gnu/libreadline.so.7.0
/usr/lib/x86_64-linux-gnu/libreadline.so

Thanks and Regards
Subhra Prakash Giri

On Thu, Mar 19, 2020 at 7:43 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

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
------------------------------------------------- 
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
VoIP Embedded, Inc.
http://www.voipembedded.com